Could uclibc running on x86 machine

loody miloody at gmail.com
Thu Sep 2 06:52:53 UTC 2010


Dear all:
I try to compile uclibc on my ubuntu.
But I got error message as below:

# make
  GEN include/bits/uClibc_config.h
  CC ldso/ldso/ldso.oS
  AS ldso/ldso/i386/resolve.oS
  AR cr ldso/ldso/ld-uClibc_so.a
  STRIP -x -R .note -R .comment ldso/ldso/ld-uClibc_so.a
  LD ld-uClibc-0.9.30.so
make[1]: `lib/ld-uClibc.so' is up to date.
  CC ldso/libdl/libdl.oS
  AR cr ldso/libdl/libdl_so.a
  STRIP -x -R .note -R .comment ldso/libdl/libdl_so.a
  CC libc/sysdeps/linux/i386/brk.os
  CC libc/sysdeps/linux/i386/sigaction.os
In file included from /usr/include/asm/posix_types.h:2,
                 from /usr/include/linux/posix_types.h:47,
                 from /usr/include/linux/types.h:8,
                 from /usr/include/asm/sigcontext.h:5,
                 from ./include/bits/sigcontext.h:28,
                 from ./include/signal.h:333,
                 from libc/sysdeps/linux/i386/sigaction.c:23:
/usr/include/asm/posix_types_32.h:10: error: redefinition of typedef
'__kernel_ino_t'
./include/bits/kernel_types.h:15: note: previous declaration of
'__kernel_ino_t' was here

/usr/include/asm/posix_types_32.h:11: error: redefinition of typedef
'__kernel_mode_t'
./include/bits/kernel_types.h:16: note: previous declaration of
'__kernel_mode_t' was here
/usr/include/asm/posix_types_32.h:12: error: redefinition of typedef
'__kernel_nlink_t'
./include/bits/kernel_types.h:17: note: previous declaration of
'__kernel_nlink_t' was here
/usr/include/asm/posix_types_32.h:13: error: redefinition of typedef
'__kernel_off_t'
./include/bits/kernel_types.h:18: note: previous declaration of
'__kernel_off_t' was here
/usr/include/asm/posix_types_32.h:14: error: redefinition of typedef
'__kernel_pid_t'


it seems I need to add additional include path instead the default one
while compiling uclibc.
But I have no idea which parameter I should add in menuconfig.
Is it possible running uclibc on x86, if so, what parameter I should take care?
appreciate your help,
miloody


More information about the uClibc mailing list