Will Newton wrote: > Hi all, > > I'm seeing what looks like a conflict between libc-symbols.h and > sys/sysctl.h in a recent snapshot of uClibc (paired with 2.6.24 kernel > headers). > > libc-symbol.h has this: > > #ifndef __LINUX_COMPILER_H > # define __LINUX_COMPILER_H > #endif > > and sys/sysctl.h has this: > > #ifndef __LINUX_COMPILER_H > # define __LINUX_COMPILER_H 1 > # define __user > # define __undef__LINUX_COMPILER_H > #endif > > Because libc-symbols.h has already defined __LINUX_COMPILER_H an empty > definition of __user is never made here so compiling anything that > includes the sys/sysctl.h header fails due to the use of the __user > annotation in linux/sysctl.h. Or am I missing something? > > Thanks, > where are you taking kernel-headers from ? I'm using sanitized kernel headers (produce directly from kernel build system by make headers_install) and the is no occurrence of __user into linux/sysctl.h... I think you are using kernel-space headers.
Carmelo > _______________________________________________ > uClibc mailing list > [email protected] > http://busybox.net/cgi-bin/mailman/listinfo/uclibc > > _______________________________________________ uClibc mailing list [email protected] http://busybox.net/cgi-bin/mailman/listinfo/uclibc
