#2187 closed Bugs (worksforme)
Boost 1.35.0 does not build on Maemo
Reported by: | Owned by: | Beman Dawes | |
---|---|---|---|
Milestone: | Component: | filesystem | |
Version: | Boost 1.35.0 | Severity: | Problem |
Keywords: | Cc: |
Description
I tried to build Boost 1.35.0 on Maemo using the Diablo SDK. On the ARMEL platform, Boost fails to build boost::filesystem with this error:
[sbox-DIABLO_ARMEL: ~/boost/boost1.35-1.35.0] > make ./tools/jam/src/bin.linuxarm/bjam -d+2 --user-config=user-config.jam warning: Graph library does not contain optional GraphML reader. note: to enable GraphML support, set EXPAT_INCLUDE and EXPAT_LIBPATH to the note: directories containing the Expat headers and libraries, respectively. warning: skipping optional Message Passing Interface (MPI) library. note: to enable MPI support, add "using mpi ;" to user-config.jam. note: to suppress this message, pass "--without-mpi" to bjam. note: otherwise, you can safely ignore this message. 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). gcc.link.dll bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/libboost_filesystem-mt.so.1.35.0
"g++" -o "bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/libboost_filesystem-mt.so.1.35.0" -Wl,-h -Wl,libboost_filesystem-mt.so.1.35.0 -shared -Wl,--start-group "bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/operations.o" "bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/path.o" "bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/portability.o" "bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/utf8_codecvt_facet.o" "bin.v2/libs/system/build/gcc-3.4.4/release/threading-multi/libboost_system-mt.so.1.35.0" -Wl,-Bstatic -Wl,-Bdynamic -lrt -Wl,--end-group -Wl,--strip-all -pthread
bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/path.o:(.bss._ZZNK5boost6system14error_category7messageEiE1s[boost::system::error_category::message(int) const::s]+0x0): multiple definition of `boost::system::error_category::message(int) const::s' bin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi/operations.o:(.bss._ZZNK5boost6system14error_category7messageEiE1s[*boost::system::error_category::message(int) const::s]+0x0): first defined here collect2: ld returned 1 exit status ...skipped <pbin.v2/libs/wave/build/gcc-3.4.4/release/threading-multi>libboost_wave-mt.so.1.35.0 for lack of <pbin.v2/libs/filesystem/build/gcc-3.4.4/release/threading-multi>libboost_filesystem-mt.so.1.35.0... ...failed updating 1 target...
I am passing the --without-icu parameter to 'configure' because Maemo does not include ICU.
This looks like a build problem much more related to Boost.Build than Boost.Filesystem.
If it still is bothering you, I'd suggest trying 1.37.0 (beta available now, release due in the next week) and if the problem persists raising the issue either on the boost-users list or the boost-build list.
Sorry to be so late in responding,
--Beman