pthreadtypes.h Error

Michael Hunold hunold at linuxtv.org
Mon Jan 16 22:04:29 UTC 2006


Hi Ali,

Ali Khan wrote:
>  Can somebody help me with this error..I have pasted the error lines 
> below( in red)...

Just wanted to say: me, too. 8-(

/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2/gcc/../libcpp/include 
   -g0 -finhibit-size-directive -fno-inline-functions -fno-exceptions 
-fno-zero-initialized-in-bss -fno-unit-at-a-time  \
    -c 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2/gcc/crtstuff.c 
-DCRT_BEGIN \
   -o crtbegin.o
In file included from 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/uClibc_dev//usr/include/stdio.h:36,
                  from 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2/gcc/tsystem.h:90,
                  from 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2/gcc/crtstuff.c:64:
/mnt/devel/buildroot/buildroot/toolchain_build_mips/uClibc_dev//usr/include/bits/types.h:164:32: 
error: bits/pthreadtypes.h: No such file or directory
In file included from 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/uClibc_dev//usr/include/stdio.h:72,
                  from 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2/gcc/tsystem.h:90,
                  from 
/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2/gcc/crtstuff.c:64:
/mnt/devel/buildroot/buildroot/toolchain_build_mips/uClibc_dev//usr/include/bits/uClibc_stdio.h:299: 
error: syntax error before 'pthread_mutex_t'
make[2]: *** [crtbegin.o] Error 1
make[2]: Leaving directory 
`/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2-initial/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory 
`/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2-initial'
make: *** 
[/mnt/devel/buildroot/buildroot/toolchain_build_mips/gcc-4.0.2-initial/.compiled] 
Error 2

BR2_DEFAULT_KERNEL_HEADERS="2.4.25"
BR2_BINUTILS_VERSION="2.16.1"
BR2_GCC_VERSION="4.0.2"
BR2_UCLIBC_VERSION_SNAPSHOT=y


CU
Michael.



More information about the uClibc mailing list