Conflict between libc-symbols.h and sys/sysctl.h
Will Newton
will.newton at gmail.com
Tue Feb 5 09:39:27 PST 2008
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,
More information about the uClibc
mailing list