Re: [klibc] include insmod patch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



[ 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
--
To unsubscribe from this list: send the line "unsubscribe linux-modules" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux