[Bug 351] New: Busybox insmod compile error
bugzilla at busybox.net
bugzilla at busybox.net
Wed May 27 09:03:09 UTC 2009
https://bugs.busybox.net/show_bug.cgi?id=351
Host: Linux 2.6 Debian
Target: Linux 2.4 ARM
Summary: Busybox insmod compile error
Product: Busybox
Version: 1.13.x
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P5
Component: Other
AssignedTo: unassigned at busybox.net
ReportedBy: marcelg-openwrt at scintilla.utwente.nl
CC: busybox-cvs at busybox.net
Estimated Hours: 0.0
Created an attachment (id=357)
--> (https://bugs.busybox.net/attachment.cgi?id=357)
Fixes a compile error for Busybox 1.13.4 insmod with 2.4 kernel support enabled
The Busybox 1.13.4 compile error shown below occurred when enabling the Busybox
option CONFIG_FEATURE_2_4_MODULES to get a working insmod for Linux 2.4
kernels. It was still working under Busybox 1.11.x.
The problem is a missing include when the configation option for 2.4 support is
enabled. The attached patch solves this issue.
---
CC modutils/depmod.o
CC modutils/insmod.o
modutils/insmod.c: In function `find_module':
modutils/insmod.c:44: error: storage size of 'myuname' isn't known
modutils/insmod.c:49: warning: implicit declaration of function `uname'
modutils/insmod.c:44: warning: unused variable `myuname'
modutils/insmod.c: At top level:
modutils/insmod.c:21: warning: unused parameter 'statbuf'
modutils/insmod.c:22: warning: unused parameter 'depth'
make[4]: *** [modutils/insmod.o] Error 1
make[3]: *** [modutils] Error 2
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the busybox-cvs
mailing list