Conflict between libc-symbols.h and sys/sysctl.h

Will Newton will.newton at
Tue Feb 5 17:39:27 UTC 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

libc-symbol.h has this:


and sys/sysctl.h has this:

# define __LINUX_COMPILER_H     1
# define __user
# define __undef__LINUX_COMPILER_H

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?


More information about the uClibc mailing list