Hi, I've got KUbuntu 64bits installed:
Linux findeton-PC 2.6.38-11-generic #48-Ubuntu SMP Fri Jul 29 19:02:55 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

I want to compile boost  using qcc toolset for a qnx target-os from a linux host, so I execute:

$ ./bootstrap.sh

And it goes fine, it uses the gcc compiler, not qcc, because I want to execute b2 in my linux machine. Then I use the following command:

$ ./b2 --build-dir=/home/findeton/boost_1_47_0/ toolset=qcc target-os=qnx  --build-type=complete --layout=tagged -q -a

And this is the kind of output I get:

qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/python/build/qcc/debug/link-static/target-os-qnx/numeric.o
In file included from ./boost/integer_fwd.hpp:17,
                 from ./boost/integer.hpp:18,
                 from ./boost/function/function_base.hpp:21,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:13,
                 from ./boost/function/function0.hpp:11,
                 from ./boost/python/errors.hpp:13,
                 from ./boost/python/handle.hpp:11,
                 from ./boost/python/converter/arg_to_python_base.hpp:7,
                 from ./boost/python/converter/arg_to_python.hpp:14,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:14,
                 from ./boost/python/object.hpp:9,
                 from ./boost/python/tuple.hpp:10,
                 from ./boost/python/numeric.hpp:10,
                 from libs/python/src/numeric.cpp:6:
./boost/cstdint.hpp:74: error: 'intleast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:75: error: 'intfast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:76: error: 'uintleast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:77: error: 'uintfast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:79: error: 'intleast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:80: error: 'intfast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:81: error: 'uintleast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:82: error: 'uintfast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:84: error: 'intleast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:85: error: 'intfast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:86: error: 'uintleast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:87: error: 'uintfast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:91: error: 'intleast64_t' in namespace '::' does not name a type
./boost/cstdint.hpp:92: error: 'intfast64_t' in namespace '::' does not name a type
./boost/cstdint.hpp:93: error: 'uintleast64_t' in namespace '::' does not name a type
./boost/cstdint.hpp:94: error: 'uintfast64_t' in namespace '::' does not name a type
cc: /opt/qnx650/host/linux/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus error 1

    "QCC" -Wc,-ftemplate-depth-128 -gstabs+ -O0 -Wc,-fno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -I"." -I"/usr/include/python2.7" -c -o "/home/findeton/boost_1_47_0/boost/bin.v2/libs/python/build/qcc/debug/link-static/target-os-qnx/numeric.o" "libs/python/src/numeric.cpp"

...failed qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/python/build/qcc/debug/link-static/target-os-qnx/numeric.o...
qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/python/build/qcc/debug/link-static/target-os-qnx/list.o
In file included from ./boost/integer_fwd.hpp:17,
                 from ./boost/integer.hpp:18,
                 from ./boost/function/function_base.hpp:21,
                 from ./boost/function/detail/prologue.hpp:17,
                 from ./boost/function/function_template.hpp:13,
                 from ./boost/function/detail/maybe_include.hpp:13,
                 from ./boost/function/function0.hpp:11,
                 from ./boost/python/errors.hpp:13,
                 from ./boost/python/handle.hpp:11,
                 from ./boost/python/converter/arg_to_python_base.hpp:7,
                 from ./boost/python/converter/arg_to_python.hpp:14,
                 from ./boost/python/call.hpp:15,
                 from ./boost/python/object_core.hpp:14,
                 from ./boost/python/object.hpp:9,
                 from ./boost/python/list.hpp:10,
                 from libs/python/src/list.cpp:5:
./boost/cstdint.hpp:74: error: 'intleast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:75: error: 'intfast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:76: error: 'uintleast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:77: error: 'uintfast8_t' in namespace '::' does not name a type
./boost/cstdint.hpp:79: error: 'intleast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:80: error: 'intfast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:81: error: 'uintleast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:82: error: 'uintfast16_t' in namespace '::' does not name a type
./boost/cstdint.hpp:84: error: 'intleast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:85: error: 'intfast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:86: error: 'uintleast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:87: error: 'uintfast32_t' in namespace '::' does not name a type
./boost/cstdint.hpp:91: error: 'intleast64_t' in namespace '::' does not name a type
./boost/cstdint.hpp:92: error: 'intfast64_t' in namespace '::' does not name a type
./boost/cstdint.hpp:93: error: 'uintleast64_t' in namespace '::' does not name a type
./boost/cstdint.hpp:94: error: 'uintfast64_t' in namespace '::' does not name a type
cc: /opt/qnx650/host/linux/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus error 1

    "QCC" -Wc,-ftemplate-depth-128 -gstabs+ -O0 -Wc,-fno-inline -DBOOST_ALL_NO_LIB=1 -DBOOST_PYTHON_SOURCE -DBOOST_PYTHON_STATIC_LIB -I"." -I"/usr/include/python2.7" -c -o "/home/findeton/boost_1_47_0/boost/bin.v2/libs/python/build/qcc/debug/link-static/target-os-qnx/list.o" "libs/python/src/list.cpp"

...failed qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/python/build/qcc/debug/link-static/target-os-qnx/list.o...



[ And after some of those, then I get some of this kind : ]



qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/serialization/build/qcc/release/target-os-qnx/threading-multi/binary_iarchive.o
In file included from ./boost/serialization/extended_type_info_typeid.hpp:34,
                 from ./boost/archive/detail/iserializer.hpp:47,
                 from ./boost/archive/detail/interface_iarchive.hpp:22,
                 from ./boost/archive/detail/common_iarchive.hpp:23,
                 from ./boost/archive/basic_binary_iarchive.hpp:31,
                 from ./boost/archive/binary_iarchive_impl.hpp:22,
                 from ./boost/archive/binary_iarchive.hpp:20,
                 from libs/serialization/src/binary_iarchive.cpp:14:
./boost/serialization/factory.hpp:28: error: '::va_list' has not been declared
cc: /opt/qnx650/host/linux/x86/usr/lib/gcc/i486-pc-nto-qnx6.5.0/4.4.2/cc1plus error 1

    "QCC" -Wc,-ftemplate-depth-128 -O3 -Wc,-finline-functions -Wc,-Wno-inline -shared -DBOOST_ALL_NO_LIB=1 -DBOOST_SERIALIZATION_DYN_LINK=1 -DNDEBUG -I"." -c -o "/home/findeton/boost_1_47_0/boost/bin.v2/libs/serialization/build/qcc/release/target-os-qnx/threading-multi/binary_iarchive.o" "libs/serialization/src/binary_iarchive.cpp"

...failed qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/serialization/build/qcc/release/target-os-qnx/threading-multi/binary_iarchive.o...
qcc.compile.c++ /home/findeton/boost_1_47_0/boost/bin.v2/libs/serialization/build/qcc/release/target-os-qnx/threading-multi/binary_oarchive.o
In file included from ./boost/serialization/extended_type_info_typeid.hpp:34,
                 from ./boost/archive/detail/oserializer.hpp:38,
                 from ./boost/archive/detail/interface_oarchive.hpp:23,
                 from ./boost/archive/detail/common_oarchive.hpp:22,
                 from ./boost/archive/basic_binary_oarchive.hpp:34,
                 from ./boost/archive/binary_oarchive_impl.hpp:23,
                 from ./boost/archive/binary_oarchive.hpp:21,
                 from libs/serialization/src/binary_oarchive.cpp:14:
./boost/serialization/factory.hpp:28: error: '::va_list' has not been declared




¿What is wrong, how can I solve it?