[klibc] Problems with klibc 1.1.8

H. Peter Anvin hpa at zytor.com
Wed Dec 28 09:13:34 PST 2005


Jürg Billeter wrote:
> 
> asm-i386/signal.h defines NSIG and therewith SIGRTMAX to 32, so the
> condition SIGRTMAX <= SIGRTMIN in klibc's signal.h is fulfilled and
> SIGRTMIN and SIGRTMAX get undefined.
> 

Yup, fixed now.

> Builds fine on x86_64, though.
> 
> Trying to build udev-079 on x86_64 with a system-installed klibc 1.1.8
> results in the following error:
> 
> make USE_KLIBC=true
> Creating udev_version.h
> /usr/bin/klcc -c -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts
> -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align
> -Wsign-compare -Wmissing-prototypes -Os
> -I/usr/src/initramfs-2.6.15-rc7-paldo1/udev-079/libsysfs/sysfs
> -I/usr/src/initramfs-2.6.15-rc7-paldo1/udev-079/libsysfs
> libsysfs/sysfs_class.c -o libsysfs/sysfs_class.o
> In file included from /usr/lib/klibc/include/sys/types.h:9,
> 
> from /usr/src/initramfs-2.6.15-rc7-paldo1/udev-079/libsysfs/sysfs/libsysfs.h:26,
>                  from libsysfs/sysfs_class.c:23:
> /usr/lib/klibc/include/stddef.h:9:3: error: #error "__KLIBC__ not
> defined, compiler invocation error!"
> 
> I assume that klcc should define it but I don't know why it doesn't...
> 

Could you send me /usr/bin/klcc?

	-hpa



More information about the klibc mailing list