> #     source='libcg_ba.cpp' object='libcg_ba.o' libtool=no 
> arm-angstrom-linux-gnueabi-g++  -march=armv5te  -mno-thumb -mthumb-interwork  
> -mtune=arm926ej-s -mthumb-interwork -mno-thumb 
> --sysroot=/media/SSD/OE_core/setup-scripts/build/tmp-angstrom_2010_x-eglibc/sysroots/qemuarm
>  -DHAVE_CONFIG_H -I. -I.. -I../include    -O2 -pipe -g 
> -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden 
> -fvisibility-inlines-hidden -c -o libcg_ba.o libcg_ba.cpp
> libcg_ba.cpp:18:18: fatal error: string: No such file or directory
> compilation terminated.

Hi Ulf,

that does not look like the BB_THREAD bug.  It is more the wrong c++ include 
dir bug, when --sysroot is not used.

Problem is in gcc-cross-configure.inc:

EXTRA_OECONF_PATHS = 
"--with-local-prefix=${STAGING_DIR_TARGET}${target_exec_prefix} \
                      --with-gxx-include-dir=${target_includedir}/c++ \

which results in c++ defaultheadersearchdir "...../usr/bin/usr/include/c++" and 
so the the string c++ header is not found.

Bye Henning

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to