[uClibc]Does uClibc allow loading kernel modules?

Michal Kochanowicz michal at michal.waw.pl
Sat Dec 29 02:32:30 UTC 2001


On Fri, Dec 28, 2001 at 07:21:59PM -0700, Erik Andersen wrote:
> Yes, busybox works just fine.  Why don't you show us what
> the error message is?
It is 3.30AM here and I'm half asleep....

First there are some warnings:
gcc -I/usr/src/laptop/2.0/fd/chroot-devel/usr/i386-linux-uclibc/include -L/usr/src/laptop/2.0/fd/chroot-devel/usr/i386-linux-uclibc/lib --permissive -Wall -Wshadow -Os -fomit-frame-pointer -D_GNU_SOURCE  -DBB_VER='"0.60.2"' -DBB_BT='"2001.12.29-02:25+0000"' -DUSE_SYSTEM_PWD_GRP  -I.  -c insmod.c -o insmod.o
insmod.c:2637: warning: `obj_symbol_patch' defined but not used
insmod.c:1272: warning: `arch_init_module' defined but not used

And then errors:
gcc -I/usr/src/laptop/2.0/fd/chroot-devel/usr/i386-linux-uclibc/include -L/usr/src/laptop/2.0/fd/chroot-devel/usr/i386-linux-uclibc/lib --permissive -s -Wl,-warn-common --static -o busybox basename.o cat.o chmod.o chroot.o chvt.o clear.o cmdedit.o cp.o dd.o df.o echo.o free.o halt.o id.o ifconfig.o init.o insmod.o kill.o ln.o ls.o lsmod.o mkdir.o more.o mount.o msh.o mv.o pidof.o ps.o reset.o rm.o rmmod.o sync.o telnet.o test.o true_false.o tty.o umount.o vi.o  busybox.o usage.o applets.o libbb.a
insmod.o: In function `old_get_kernel_symbols':
insmod.o(.text+0xcf1): undefined reference to `get_kernel_syms'
insmod.o(.text+0xd4b): undefined reference to `get_kernel_syms'
collect2: ld returned 1 exit status
make: *** [busybox] Error 1

This is busybox-0.60.2 and kernel is linux-2.0.39. I'v enabled in
Config.h:
BB_INSMOD
BB_LSMOD
BB_RMMOD
BB_FEATURE_OLD_MODULE_INTERFACE
(and some other defines not related to kernel modules).

Any hints what did I wrong?
-- 
--= Michal Kochanowicz==--==--==BOFH==--==--==michal at michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--




More information about the uClibc mailing list