From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kay Sievers Date: Mon, 18 Oct 2004 17:44:24 +0000 Subject: Re: compiling udev with klibc Message-Id: <20041018174424.GF6821@vrfy.org> List-Id: References: <4173F969.8050603@xandros.com> In-Reply-To: <4173F969.8050603@xandros.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org 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= 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