[uClibc]Does uClibc allow loading kernel modules?

Erik Andersen andersen at codepoet.org
Sat Dec 29 04:02:14 UTC 2001


On Sat Dec 29, 2001 at 03:32:30AM +0100, Michal Kochanowicz wrote:
> 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....

Yeah, I know how that is...

> 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

Fixed in latest busybox CVS tree.

> 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

Fixed in the latest uClibc CVS tree.

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--




More information about the uClibc mailing list