tiff compile fails
With latest git pull for oe-core/meta-oe... & clean build dir I get
| arm-angstrom-linux-gnueabi-libtool: compile: ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb --sysroot=/home/Superandy/tmp/oe-core-eglibc/sysroots/overo -DHAVE_CONFIG_H -I. -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx -fPIC -DPIC -o .libs/tif_stream.o | tif_stream.cxx:31:20: fatal error: iostream: No such file or directory | compilation terminated. | make[2]: *** [tif_stream.lo] Error 1
I think it is not tiff to blame - but which one is it?
Andreas
Quoted 9 lines · Andreas Müller
With latest git pull for oe-core/meta-oe... & clean build dir I get
| arm-angstrom-linux-gnueabi-libtool: compile: ccache arm-angstrom-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb --sysroot=/home/Superandy/tmp/oe-core-eglibc/sysroots/overo -DHAVE_CONFIG_H -I. -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx -fPIC -DPIC -o .libs/tif_stream.o | tif_stream.cxx:31:20: fatal error: iostream: No such file or directory | compilation terminated. | make[2]: *** [tif_stream.lo] Error 1I think it is not tiff to blame - but which one is it?
In tiff's config.log I find
Configured with: ... --with-gxx-include-dir=/usr/include/c++ ...
Hmm
Quoted 4 lines · Andreas Müller
Quoted 3 lines · Andreas Müller
With latest git pull for oe-core/meta-oe... & clean build dir I get
| arm-angstrom-linux-gnueabi-libtool: compile: ccache
arm-angstrom-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize -mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb --sysroot=/home/Superandy/tmp/oe-core-eglibc/sysroots/overo -DHAVE_CONFIG_H -I. -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx -fPIC -DPIC -o .libs/tif_stream.o
Quoted 10 lines
Quoted 6 lines
| tif_stream.cxx:31:20: fatal error: iostream: No such file or directory | compilation terminated. | make[2]: *** [tif_stream.lo] Error 1I think it is not tiff to blame - but which one is it?
In tiff's config.log I find
Configured with: ... --with-gxx-include-dir=/usr/include/c++ ...
Seems that libstdc++ headers are not installed or compiler is not finding then
Try a small hello.cc example and include iostream see if that compiles fine with
Your g++
Quoted 7 lines
Hmm
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
Quoted 21 lines · Khem Raj
Quoted 4 lines · Andreas Müller
Quoted 3 lines · Andreas Müller
With latest git pull for oe-core/meta-oe... & clean build dir I get
| arm-angstrom-linux-gnueabi-libtool: compile: ccache
arm-angstrom-linux-gnueabi-g++ -march=armv7-a -fno-tree-vectorize
(quoted diff) +0
-6-mthumb-interwork -mfloat-abi=softfp -mfpu=neon -mtune=cortex-a8 -mthumb-interwork -mno-thumb --sysroot=/home/Superandy/tmp/oe-core-eglibc/sysroots/overo -DHAVE_CONFIG_H -I. -O2 -pipe -g -feliminate-unused-debug-types -fpermissive -fvisibility-inlines-hidden -fvisibility-inlines-hidden -MT tif_stream.lo -MD -MP -MF .deps/tif_stream.Tpo -c tif_stream.cxx -fPIC -DPIC -o
.libs/tif_stream.oQuoted 8 lines
Quoted 6 lines
| tif_stream.cxx:31:20: fatal error: iostream: No such file or directory | compilation terminated. | make[2]: *** [tif_stream.lo] Error 1I think it is not tiff to blame - but which one is it?
In tiff's config.log I find
Quoted 9 lines
Quoted 2 lines
Configured with: ... --with-gxx-include-dir=/usr/include/c++ ...
Seems that libstdc++ headers are not installed or compiler is not finding then
Try a small hello.cc example and include iostream see if that compiles fine with
Your g++
Thanks for the hints: there was a file iostream in sysroots/overo/usr/include/c++ and on host libstdc++ headers are installed.
Before your response I was already running a rebuild on fresh tmp dir. This time it worked...?! The only difference to the previous run is that I now did not try to build my full image but I ran 'bitbake tiff'..
Strange - but it seems I can continue
Andreas