Hi, I am trying to compile/install boost libraries (1.35.0 version) and some erros appears in console: # ./configure --without-icu --with-libraries=regex,filesystem Building Boost.Jam with toolset qcc... tools/jam/src/bin.qnxntox86/bjam Unicode/ICU support for Boost.Regex?... disabled. Backing up existing Boost.Build configuration in user-config.jam.25 Generating Boost.Build configuration in user-config.jam... Generating Makefile... # make install ./tools/jam/src/bin.qnxntox86/bjam --user-config=user-config.jam --prefix=/usr/local --exec-prefix=/usr/local --libdir= /usr/local/lib --includedir=/usr/local/include --with-regex --with-filesystem install Building Boost.Regex with the optional Unicode/ICU support disabled. Please refer to the Boost.Regex documentation for more information (don't panic: this is a strictly optional feature). ...patience... ...found 11243 targets... ...updating 12 targets... qcc.compile.c++ bin.v2/libs/system/build/qcc/release/threading-multi/error_code.o libs/system/src/error_code.cpp: In member function `virtual std::string <unnamed>::posix_error_category::message(int) const': libs/system/src/error_code.cpp:112: error: `strerror_r' undeclared (first use this function) libs/system/src/error_code.cpp:112: error: (Each undeclared identifier is reported only once for each function it appears in.) libs/system/src/error_code.cpp: In member function `virtual boost::system::error_condition <unnamed>::system_error_category::default_error_condition(int) const': libs/system/src/error_code.cpp:167: error: duplicate case value libs/system/src/error_code.cpp:164: error: previously used here cc: /usr/qnx632/host/qnx6/x86/usr/lib/gcc-lib/i386-pc-nto-qnx6.3.0/3.3.5/cc1plus error 1 "QCC" -Wc,-ftemplate-depth-100 -O3 -Wc,-finline-functions -Wc,-Wno-inline -shared -DBOOST_ALL_NO_LIB=1 -DBOOST_SYSTE M_DYN_LINK=1 -DNDEBUG -I"." -c -o "bin.v2/libs/system/build/qcc/release/threading-multi/error_code.o" "libs/system/src/e rror_code.cpp" ...failed qcc.compile.c++ bin.v2/libs/system/build/qcc/release/threading-multi/error_code.o... ...skipped <pbin.v2/libs/system/build/qcc/release/threading-multi>libboost_system-mt-1_35.so.1.35.0 for lack of <pbin.v2 /libs/system/build/qcc/release/threading-multi>error_code.o... ...skipped <p/usr/local/lib>libboost_system-mt-1_35.so.1.35.0 for lack of <pbin.v2/libs/system/build/qcc/release/threadi ng-multi>libboost_system-mt-1_35.so.1.35.0... ...skipped <p/usr/local/lib>libboost_system-mt.so for lack of <p/usr/local/lib>libboost_system-mt-1_35.so.1.35.0... ...skipped <pbin.v2/libs/filesystem/build/qcc/release/threading-multi>libboost_filesystem-mt-1_35.so.1.35.0 for lack of <pbin.v2/libs/system/build/qcc/release/threading-multi>libboost_system-mt-1_35.so.1.35.0... ...skipped <p/usr/local/lib>libboost_filesystem-mt-1_35.so.1.35.0 for lack of <pbin.v2/libs/filesystem/build/qcc/release /threading-multi>libboost_filesystem-mt-1_35.so.1.35.0... ...skipped <p/usr/local/lib>libboost_filesystem-mt.so for lack of <p/usr/local/lib>libboost_filesystem-mt-1_35.so.1.35.0 ... common.copy /usr/local/lib/libboost_regex-mt-1_35.so.1.35.0 common.hard-link /usr/local/lib/libboost_regex-mt.so ...skipped <p/usr/local/lib>libboost_system-mt-1_35.so for lack of <p/usr/local/lib>libboost_system-mt-1_35.so.1.35.0... ...skipped <p/usr/local/lib>libboost_filesystem-mt-1_35.so for lack of <p/usr/local/lib>libboost_filesystem-mt-1_35.so.1 .35.0... ln-UNIX /usr/local/lib/libboost_regex-mt-1_35.so ...failed updating 1 target... ...skipped 8 targets... ...updated 3 targets... Not all Boost libraries built properly. Does anybody know how to solve this? My qcc/QCC is set to 3.3.5,gcc_ntox86. The same error appears when i try with bjam Thanks Ricardo ____________________________________________________________________________________ You rock. That's why Blockbuster's offering you one month of Blockbuster Total Access, No Cost. http://tc.deals.yahoo.com/tc/blockbuster/text5.com
Ricardo Perrone wrote:
bin.v2/libs/system/build/qcc/release/threading-multi/error_code.o libs/system/src/error_code.cpp: In member function `virtual std::string <unnamed>::posix_error_category::message(int) const': libs/system/src/error_code.cpp:112: error: `strerror_r' undeclared (first use this function)
You need to figure if your system does not provide strerror_r (in which case you'll have to workaround) or provided it in different header (in which case you'll have to change the code to conditionally include that header on your system).
Does anybody know how to solve this? My qcc/QCC is set to 3.3.5,gcc_ntox86. The same error appears when i try with bjam
configure/make and bjam are the same. - Volodya
Ricardo Perrone wrote:
Hi,
I am trying to compile/install boost libraries (1.35.0 version) and some erros appears in console:
Does anybody know how to solve this? My qcc/QCC is set to 3.3.5,gcc_ntox86. The same error appears when i try with bjam
No but it helps if you put the library name in the title so the author is made aware of the issue :-) Looks like a configuration issue: does QNX have the POSIX re-entrant std lib functions such as strerror_r ? If not there's probably a macro that can set (or maybe unset) somewhere in Boost.System to solve this. John.
participants (3)
-
John Maddock
-
Ricardo Perrone
-
Vladimir Prus