
Richard Ketcham wrote:
Oh, I'm sorry about that. It's changed now. This is what I'm getting now:
rich@rich-desktop:~/boost_1_36_0/libs/thread/example$ bjam --toolset=gcc-arm 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). ...patience... ...found 764 targets... ...updating 11 targets... gcc.link ../../../bin.v2/libs/thread/example/gcc-arm/debug/threading-multi/monitor ../../../bin.v2/libs/thread/build/gcc-arm/debug/threading-multi/libboost_thread-gcc-mt-d-1_36.so.1.36.0: undefined reference to `get_nprocs' ../../../bin.v2/libs/thread/build/gcc-arm/debug/threading-multi/libboost_thread-gcc-mt-d-1_36.so.1.36.0: undefined reference to `__sync_add_and_fetch_4' collect2: ld returned 1 exit status
The linking continues to fail with the same two errors.
The second error is caused by shared_ptr using gcc atomic intrinsics that are not actually supported on ARM. This was discussed before on boost mailing lists, the workaround is some define making shared_ptr use pthread's mutexes -- google will tell for sure. I don't know anything about the first error. - Volodya