Skip to contentSkip to conversation

udev's klibc and kernel 2.6.9-rc2

DISCUSSION Bob Barry 2 participants 2 messages Sep 17, 2004

lore
Share & tools
lore

Bob Barry

author
#0 lore raw

While making an initrd for kernel 2.6.9-rc2, I found that udev's klibc did not compile. Attempted compilation of udev-032 with command line:
make clean; make USE_KLIBC=true USE_LOGúlse DEBUGúlse
ends with:

	make[2]: *** [inet/inet_ntoa.o] Error 1
	make[2]: Leaving directory `/home/bobb/udev/udev-032/klibc/klibc'
	make[1]: *** [all] Error 2
	make[1]: Leaving directory `/home/bobb/udev/udev-032/klibc'
	make: *** [/home/bobb/udev/udev-032/klibc/klibc/crt0.o] Error 2

I got klibc-0.157.tar.bz2 (stable) and klibc-0.178.tar.bz2 (not stable) to see if they would compile. Klibc-0.157 fails with:

	make: *** [inet/inet_ntoa.o] Error 1

Klibc-0.178 compiles successfully.

I'm using gcc-3.2.3. Compilation of udev for initrd of previous kernels had no problem.

Suggestions? Is klibc-0.178 compatible with udev?

Thanks,

Bob Barry

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

#1 lore raw
Quoted 10 lines · Bob Barry

While making an initrd for kernel 2.6.9-rc2, I found that udev's klibc did not compile. Attempted compilation of udev-032 with command line:
make clean; make USE_KLIBC=true USE_LOGúlse DEBUGúlse
ends with:

	make[2]: *** [inet/inet_ntoa.o] Error 1
	make[2]: Leaving directory `/home/bobb/udev/udev-032/klibc/klibc'
	make[1]: *** [all] Error 2
	make[1]: Leaving directory `/home/bobb/udev/udev-032/klibc'
	make: *** [/home/bobb/udev/udev-032/klibc/klibc/crt0.o] Error 2
Quoted 8 lines

I got klibc-0.157.tar.bz2 (stable) and klibc-0.178.tar.bz2 (not stable) to see if they would compile. Klibc-0.157 fails with:

	make: *** [inet/inet_ntoa.o] Error 1

Klibc-0.178 compiles successfully.

I'm using gcc-3.2.3. Compilation of udev for initrd of previous kernels had no problem.

Suggestions? Is klibc-0.178 compatible with udev?

Not at the moment. We get segfaults with klibc's strncpy(). I'm currently looking into it. Will soon post something, if I can nail it down.

Kay

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel