On Tue, 2012-04-24 at 23:02 +0200, Tasslehoff Kjappfot wrote: > boost.inc: > > # To enable python, uncomment the following: > #BOOST_LIBS += "python" > #DEPENDS += "python" > #PYTHON_ROOT = "${STAGING_DIR_HOST}/${prefix}" > #PYTHON_VERSION = "2.5" > > If this is uncommented, stuff fails with messages like: > > | ...failed gcc.compile.c++ > bin.v2/libs/python/build/69ffc88faf507005827aa061bd65b9bd/wrapper.o... > | gcc.compile.c++ > bin.v2/libs/python/build/69ffc88faf507005827aa061bd65b9bd/import.o > | In file included from > /src/openembedded/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include/python2.7/Python.h:58:0, > | from ./boost/python/detail/wrap_python.hpp:142, > | from ./boost/python/detail/prefix.hpp:13, > | from ./boost/python/ssize_t.hpp:9, > | from ./boost/python/object.hpp:8, > | from ./boost/python/import.hpp:8, > | from libs/python/src/import.cpp:6: > | > /src/openembedded/build/tmp-angstrom_v2012_05-eglibc/sysroots/x86_64-linux/usr/include/python2.7/pyport.h:849:2: > > error: #error "LONG_BIT definition appears wrong for platform (bad > gcc/glibc config?)." > > I have problems figuring out how to solve this (other than by > reinstalling Ubuntu 32-bit).
You have to wonder why its looking in the native sysroot and not the target one. It would probably find better values in the target one... Cheers, Richard _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core