[ adding m-i-t ml to Cc ]
On Tue, Apr 27, 2010 at 08:40:18PM +0200, Gilles Espinasse
wrote:> Am I wrong saying that actually anyone that use klibc has to use insmod
> patch or build a monolithic kernel?
the insmod tool got nuked as at the times,
module-init-tools was just fine to compile against klibc.
(should also finaly repost the small klibc insmod patch it,
got lost in history..)
> Could not the insmod patch be include?
we could of course revert the removal,
but I'd prefer to see m-i-t to be again compilable against klibc.
> That will make everyone life easier on klibc upgrade.
people seem to shipp also some modprobe version, see
http://patchwork.openembedded.org/patch/1968/
thanks for reminding me to nagg m-i-t maintainers. :)
lsmod, depmod compiles fine but not modprobe:
MAKE x86_64-unknown-linux-gnu : 0 * all-all
make[1]: Entering directory `/home/maks/src/module-init-tools/build'
klcc -DPACKAGE_NAME=\"module-init-tools\"
-DPACKAGE_TARNAME=\"module-init-tools\"
-DPACKAGE_VERSION=\"3.12-pre2\"
-DPACKAGE_STRING=\"module-init-tools\ 3.12-pre2\"
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\"
-DPACKAGE=\"module-init-tools\" -DVERSION=\"3.12-pre2\" -I.
-I.. -ffunction-sections -g -O2 -Wunused -Wall -MT libmodtools_a-util.o -MD
-MP -MF .deps/libmodtools_a-util.Tpo -c -o libmodtools_a-util.o `test -f
'util.c' || echo '../'`util.c
../util.c:8:19: error: regex.h: No such file or directory
../util.c: In function ???getline_wrapped???:
../util.c:28: warning: implicit declaration of function ???getc_unlocked???
../util.c: In function ???regex_match???:
../util.c:215: error: ???regex_t??? undeclared (first use in this function)
../util.c:215: error: (Each undeclared identifier is reported only once
../util.c:215: error: for each function it appears in.)
../util.c:215: error: expected ???;??? before ???re???
../util.c:224: warning: implicit declaration of function ???regcomp???
../util.c:224: error: ???re??? undeclared (first use in this function)
../util.c:224: error: ???REG_EXTENDED??? undeclared (first use in this function)
../util.c:224: error: ???REG_NOSUB??? undeclared (first use in this function)
../util.c:227: warning: implicit declaration of function ???regexec???
../util.c:228: warning: implicit declaration of function ???regfree???
make[1]: *** [libmodtools_a-util.o] Error 1
make[1]: Leaving directory `/home/maks/src/module-init-tools/build'
make: *** [all-all] Error 2
thanks