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

Bug#342690: klibc fails to build against linux-kernel-headers

Package: linux-kernel-headers
Version: 2.6.13+0rc3-2
Severity: important

13:53 <makx> "ln -s /usr/include/linux linux/include" is not suprisingly not
             enough, it goes then down to /usr/include/sys, 
	     /usr/include/features.h, /usr/include/gnu,..
13:54 <makx> and then you get nice redefinitions.. :-P

In file included from ../linux/include/linux/compiler.h:44,
                 from ../linux/include/linux/stddef.h:4,
                 from ../linux/include/linux/posix_types.h:4,
                 from ../include/sys/types.h:15,
                 from ../include/unistd.h:11,
                 from ../include/stdio.h:11,
                 from vsnprintf.c:13:
../linux/include/sys/cdefs.h:204:1: warning: "__attribute_pure__" redefined

klibc used to compile directly against the linux-kerenel-headers,
but since 2.6.14 (for example linux-headers-2.6.14-2) the asm was
removed to push userspace not to compile against it:
 ls /usr/src/linux-headers-2.6.14-2/include/ | grep asm

 ls /usr/src/linux-headers-2.6.12-1/include/ | grep asm

 ls -l /usr/src/linux-headers-2.6.12-1/include/asm 
lrwxrwxrwx  1 root root 8 2005-10-05 15:34 /usr/src/linux-headers-2.6.12-1/include/asm -> asm-i386

we could add it by hand when compiling our package,
but hopefully that will not be necessary:
13:57 <jbailey> Hmm.
13:57 <jbailey> Maybe this weekend I'll get a current lkh into shape for klibc.


Reply to: