command to build uClibc

Carmelo AMOROSO carmelo.amoroso at st.com
Wed Apr 23 06:22:01 UTC 2008


xrin oscar wrote:
> Hi,
>  
>  
> when I run 'make' command to build uClibc, the following appears.
>  
> @localhost uClibc-0.9.28.3]$make CROSS=armv5l-linux-
>  
> ../../include/asm/posix_types.h:10:error: redefinition of typedef 
> '__kernel_ino_t'
> ../../include/bits/kernel_types.h:11:error: redefinition of typedef 
> '__kernel_ino_t' was here
> ../../include/asm/posix_types.h:11:error: redefinition of typedef 
> '__kernel_mode_t'
> ../.../include/bits/kernel_types.h:12:error: previous declaration 
> of '__kernel_mode_t'
>  
> make[1]: ***[ether_addr.o] Error 1
> make[1]: Leaving directory '/root_fs/uClibc-0.9.28.3/libc/inet'
>  
>  
> It shows that the same typedef was define twice.
> One is defined in posix_types.h and the other is defined in kernel_types.h
>  
> How to make sure that these 2 files don't conflict with each other??
> Or how can it be defined once during the build.
> Can someone please help me.
>  
> thanks and regards,
> Xrin
Hello,
this issue has been solved a lot of time ago.
I strongly suggest to move to a newer release.

Further, please do not post message in HTML format, plain text is 
generally preferable
in developlemt mailing list.

Thanks,
Carmelo

>
> ------------------------------------------------------------------------
> <http://answers.yahoo.com.sg>
> *Real people. Real questions. Real answers. Share what you know 
> <http://answers.yahoo.com.sg>*.
> ------------------------------------------------------------------------
>
> _______________________________________________
> uClibc mailing list
> uClibc at uclibc.org
> http://busybox.net/cgi-bin/mailman/listinfo/uclibc




More information about the uClibc mailing list