* compiling udev with klibc
@ 2004-10-18 17:12 Robert Young
2004-10-18 17:44 ` Kay Sievers
0 siblings, 1 reply; 2+ messages in thread
From: Robert Young @ 2004-10-18 17:12 UTC (permalink / raw)
To: linux-hotplug
Hi,
I have been trying to compile udev with klibc and keep getting the
following problem with features.h not being found.
RobsPlace:/home/roberty/udev-039# make USE_KLIBC=true
Compiling udev_lib.c:
[ERROR]
gcc -pipe -DUSE_SPINLOCKS -DINTEL_SPINLOCKS -DLOG -O1 -g -DDEBUG
-D_GNU_SOURC
E -Wall -nostdinc -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
-falign-function
s=0 -falign-jumps=0 -falign-loops=0 -D__KLIBC__ -fno-builtin-printf
-I/home/r
oberty/udev-039/klibc/include
-I/home/roberty/udev-039/klibc/include/arch/i38
6 -I/home/roberty/udev-039/klibc/include/bits32
-I/usr/lib/gcc-lib/i486-linux
/3.3.5/include -I/lib/modules/2.6.9-x1/build/include
-I/home/roberty/udev-039
/libsysfs -c -o udev_lib.o udev_lib.c
In file included from
/lib/modules/2.6.9-x1/build/include/linux/posix_types.h
:47,
from /home/roberty/udev-039/klibc/include/sys/types.h:15,
from /home/roberty/udev-039/klibc/include/unistd.h:11,
from /home/roberty/udev-039/klibc/include/stdio.h:11,
from udev_lib.c:23:
/usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:13:22:
features.h
: No such file or directory
/usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:29:36:
warning: n
o newline at end of file
make: *** [udev_lib.o] Error 1
Does anyone have any suggestions?
Thanks,
Rob
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: compiling udev with klibc
2004-10-18 17:12 compiling udev with klibc Robert Young
@ 2004-10-18 17:44 ` Kay Sievers
0 siblings, 0 replies; 2+ messages in thread
From: Kay Sievers @ 2004-10-18 17:44 UTC (permalink / raw)
To: linux-hotplug
On Mon, Oct 18, 2004 at 01:12:09PM -0400, Robert Young wrote:
> Hi,
>
> I have been trying to compile udev with klibc and keep getting the
> following problem with features.h not being found.
>
>
> RobsPlace:/home/roberty/udev-039# make USE_KLIBC=true
> Compiling udev_lib.c:
> [ERROR]
> gcc -pipe -DUSE_SPINLOCKS -DINTEL_SPINLOCKS -DLOG -O1 -g -DDEBUG
> -D_GNU_SOURC
> E -Wall -nostdinc -mregparm=3 -DREGPARM=3 -march=i386 -Os -g
> -falign-function
> s=0 -falign-jumps=0 -falign-loops=0 -D__KLIBC__ -fno-builtin-printf
> -I/home/r
> oberty/udev-039/klibc/include
> -I/home/roberty/udev-039/klibc/include/arch/i38
> 6 -I/home/roberty/udev-039/klibc/include/bits32
> -I/usr/lib/gcc-lib/i486-linux
> /3.3.5/include -I/lib/modules/2.6.9-x1/build/include
> -I/home/roberty/udev-039
> /libsysfs -c -o udev_lib.o udev_lib.c
> In file included from
> /lib/modules/2.6.9-x1/build/include/linux/posix_types.h
> :47,
> from /home/roberty/udev-039/klibc/include/sys/types.h:15,
> from /home/roberty/udev-039/klibc/include/unistd.h:11,
> from /home/roberty/udev-039/klibc/include/stdio.h:11,
> from udev_lib.c:23:
> /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:13:22:
> features.h
> : No such file or directory
> /usr/lib/gcc-lib/i486-linux/3.3.5/include/asm/posix_types.h:29:36:
> warning: n
> o newline at end of file
> make: *** [udev_lib.o] Error 1
>
> Does anyone have any suggestions?
Maybe something is wrong with you kernel includes in /lib/...
You may try:
make spotless
make USE_KLIBC=true KERNEL_DIR=</clean/2.6/kernel>
Good luck,
Kay
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-10-18 17:44 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-18 17:12 compiling udev with klibc Robert Young
2004-10-18 17:44 ` Kay Sievers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).