[Buildroot] NPTL compile error without MMU (ARM)

Sangjung sangjung.woo at samsung.com
Thu Mar 27 06:33:41 UTC 2014


Dear developers.

Hi. I found out that nptl make a compile error when MMU (i.e. 'Toolchain 
- Enable MMU support')  is disabled.

Detailed error message is as below.

-------------------------------------------------------------------------------- 

In file included from 
libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.c:31:0:
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:61:17: error: 
'fork' undeclared here (not in a function)
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:63:1: error: 
'__libc_fork' redeclared as different kind of symbol
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:61:23: note: 
previous declaration of '__libc_fork' was here
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:228:1: error: 
'fork' redeclared as different kind of symbol
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:227:1: note: 
previous declaration of 'fork' was here
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:229:1: error: 
'__EI_fork' aliased to undefined symbol '__GI_fork'
make[1]: *** [libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.os] Error 1
-------------------------------------------------------------------------------- 



This problem is already reported by Axel Lin.
(Link: http://lists.uclibc.org/pipermail/uclibc-cvs/2013-May/031094.html)

However, it looks like that this issue is not solved for a long time.
If someone let me know the alternative solution, I'd be really happy.

Thank you in advances.

BRs,
Sangjung


More information about the buildroot mailing list