[klibc] klibc build trouble
maximilian attems
max at stro.at
Sun Mar 14 10:50:02 PDT 2010
On Sun, Mar 14, 2010 at 05:47:40PM +0000, Ben Hutchings wrote:
>
> How does it not work? That links to the kernel headers
> under /usr/include. No need to -I/usr/include.
how would klcc see linux-libc-dev the headers in /usr/include
without aboves include
please specify "That links"
simple example of a libklc-dev wihtout linux-2.6 headers:
In file included from /usr/lib/klibc/include/unistd.h:11,
from mdadm.h:27,
from mdadm.c:28:
/usr/lib/klibc/include/sys/types.h:15:31: error: linux/posix_types.h: No such file or directory
/usr/lib/klibc/include/sys/types.h:16:23: error: asm/types.h: No such file or directory
once you add aboves -I the redefinitions start rolling:
In file included from /usr/include/glob.h:22,
from config.c:28:
/usr/include/sys/cdefs.h:216:1: error: "__attribute_pure__" redefined
easy to test out with make CC=klcc
More information about the klibc
mailing list