On Wed, May 2, 2012 at 11:33 PM, Jaap de Jong <[email protected]> wrote: > Hi all, > > trying to compile openjdk-6, it fails with: > > | > /media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp: > In constructor '{anonymous}::StatSymbols::StatSymbols()': > | > /media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/lib/ExecutionEngine/JIT/Intercept.cpp:69:67: > error: 'lseek64' was not declared in this scope > | make[2]: *** > [lib/ExecutionEngine/JIT/CMakeFiles/LLVMJIT.dir/Intercept.cpp.o] Error 1 > | make[2]: Leaving directory > `/media/OpenEmbedded/oe-core/build/tmp-angstrom_2010_x-eglibc/work/armv5te-angstrom-linux-gnueabi/llvm2.8-2.8-r0/llvm-2.8/build' > | make[1]: *** [lib/ExecutionEngine/JIT/CMakeFiles/LLVMJIT.dir/all] Error 2 > | make[1]: *** Waiting for unfinished jobs.... > > I'm using master branches. > Is this a known issue? > Any ideas how to solve?
you are using gcc 4.7 I guess. Fix is to add #include <unistd.h> in Intercept.cpp if that works then submit it to meta-java > > Thanks, > Jaap > > _______________________________________________ > Openembedded-devel mailing list > [email protected] > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
