[BusyBox] Compilation error

Per Wigren wigren at hem.passagen.se
Sat Aug 18 19:40:45 UTC 2001


I disabled BB_FEATURE_INSMOD_LOADINKMEM to continue compilation and got this:
insmod.o: In function `old_get_kernel_symbols':
insmod.o(.text+0xfba): undefined reference to `get_kernel_syms'
insmod.o(.text+0x100a): undefined reference to `get_kernel_syms'
insmod.o: In function `old_init_module':
insmod.o(.text+0x1426): undefined reference to `old_sys_init_module'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1

If you are wondering, I enabled ALL of the features just to check for 
compilation errors... :-)

After disabling BB_FEATURE_OLD_MODULE_INTERFACE it compiled fine though. Is 
this because I have 2.4.x headers or is it just an unnoticed bug because 
nobody is using pre-2.1 kernels anymore?

// Wigren


söndagen den 19 augusti 2001 03:24 skrev Per Wigren:
> Using todays CVS of busybox and uClibc:
>
> /stuff/WigrenLinux/usr/bin/i386-uclibc-gcc -Wall -Wshadow -Os
> -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.0"'
> -DBB_BT='"2001.08.19-01:21+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c insmod.c -o
> insmod.o
> insmod.c: In function `obj_load_progbits':
> insmod.c:3165: structure has no member named `imagebase'
> insmod.c:3181: warning: implicit declaration of function `errorMsg'
> insmod.c: In function `insmod_main':
> insmod.c:3462: structure has no member named `imagebase'
> make: *** [insmod.o] Error
>
> Regards
> Per Wigren
>
>
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/mailman/listinfo/busybox





More information about the busybox mailing list