Help with Make error on Ubuntu 12 (x64)

Jeffrey Walton noloader at gmail.com
Thu Feb 28 18:15:02 UTC 2013


Hi All,

Below is from the build process on Ubuntu x86_64:

$ uname -a
Linux ubuntu-12-x64 3.2.0-38-generic #61-Ubuntu SMP Tue Feb 19
12:18:21 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Has anyone encountered similar? Would anyone be able to point out what
I might be missing?

FWIW, I'm trying to build for a desktop so I can get analysis tools on
the library and its test suite.

Thanks in advance,
Jeff

  ...
  CC libc/inet/ethers.os
In file included from
/usr/src/linux-headers-3.2.0-38/include/linux/if_ether.h:24:0,
                 from ./include/netinet/if_ether.h:26,
                 from ./include/netinet/ether.h:26,
                 from libc/inet/ethers.c:14:
/usr/src/linux-headers-3.2.0-38/include/linux/types.h:13:2: warning:
#warning "Attempt to use kernel headers from user space, see
http://kernelnewbies.org/KernelHeaders" [-Wcpp]
In file included from
/usr/src/linux-headers-3.2.0-38/include/linux/posix_types.h:47:0,
                 from /usr/src/linux-headers-3.2.0-38/include/linux/types.h:17,
                 from
/usr/src/linux-headers-3.2.0-38/include/linux/if_ether.h:24,
                 from ./include/netinet/if_ether.h:26,
                 from ./include/netinet/ether.h:26,
                 from libc/inet/ethers.c:14:
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:52:24:
error: conflicting types for '__kernel_old_uid_t'
./include/bits/kernel_types.h:40:24: note: previous declaration of
'__kernel_old_uid_t' was here
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:53:24:
error: conflicting types for '__kernel_old_gid_t'
./include/bits/kernel_types.h:41:24: note: previous declaration of
'__kernel_old_gid_t' was here
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:57:22:
error: conflicting types for '__kernel_old_dev_t'
./include/bits/kernel_types.h:42:24: note: previous declaration of
'__kernel_old_dev_t' was here
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:66:22:
error: conflicting types for '__kernel_size_t'
./include/bits/kernel_types.h:28:23: note: previous declaration of
'__kernel_size_t' was here
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:67:14:
error: conflicting types for '__kernel_ssize_t'
./include/bits/kernel_types.h:29:15: note: previous declaration of
'__kernel_ssize_t' was here
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:68:14:
error: conflicting types for '__kernel_ptrdiff_t'
./include/bits/kernel_types.h:30:15: note: previous declaration of
'__kernel_ptrdiff_t' was here
/usr/src/linux-headers-3.2.0-38/include/asm/posix_types.h:91:3: error:
conflicting types for '__kernel_fsid_t'
./include/bits/kernel_types.h:51:3: note: previous declaration of
'__kernel_fsid_t' was here
make: *** [libc/inet/ethers.os] Error 1
jeffrey at ubuntu-12-x64:~/uClibc-0.9.33.2$


More information about the uClibc mailing list