Boost logo

Boost :

From: Ronald Garcia (garcia_at_[hidden])
Date: 2002-08-14 13:25:21


Rene Rivera wrote:

>[2002-08-14] Ronald Garcia wrote:
>
>
>
>>I've tracked down the problem as far as a directive on the command line
>>that bjam outputs.
>>Bjam is giving gcc the "-isystem" directive, which seems to cause the
>>problem. If this is replaced with the normal "-I", then things seem to
>>work okay. Could someone more knowledgable about this than I take a
>>look at it?
>>
>>
>
>That works for all the gcc variants I have... 2.95.3, 2.96(RH7.1), 3.0.3,
>3.0.4
>
>What is the error you get?
>
>
>
>
I've included a snippet of the errors I'm getting. If I take the
compile line that bjam outputs and replace "-isystem" with "-I"
(removing the space before the next parameter), it seems to compile. I
don't understand what -isystem really does though, so I couldn't
diagnose much further than that.

ron


...found 303 targets...
...using 1 temp target...
...updating 94 targets...
...using <libs!test!build/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-single>execution_monitor.o...
gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-single/cpp_main.o
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:61,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/cpp_main.cpp:23:
/l/gcc302/include/g++-v3/bits/stl_relops.h:79: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:84: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:89: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:94: template with C linkage
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:62,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/cpp_main.cpp:23:
/l/gcc302/include/g++-v3/bits/stl_pair.h:69: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:88: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:94: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:101: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:108: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:114: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:120: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:126: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:146: template with C linkage

    g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -I"../../../libs/test/build" -isystem "/nfs/magrathea/home/user1/garcia/src/boost" -o "../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-single/cpp_main.o" "../src/cpp_main.cpp"

...failed gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-single/cpp_main.o...
...skipped <libs!test!build/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-single>libprg_exec_monitor.a for lack of <libs!test!build/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-single>libprg_exec_monitor.a(cpp_main.o)...
gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi/execution_monitor.o
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:61,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/execution_monitor.cpp:18:
/l/gcc302/include/g++-v3/bits/stl_relops.h:79: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:84: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:89: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:94: template with C linkage
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:62,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/execution_monitor.cpp:18:
/l/gcc302/include/g++-v3/bits/stl_pair.h:69: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:88: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:94: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:101: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:108: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:114: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:120: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:126: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:146: template with C linkage

    g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -pthreads -I"../../../libs/test/build" -isystem "/nfs/magrathea/home/user1/garcia/src/boost" -o "../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi/execution_monitor.o" "../src/execution_monitor.cpp"

...failed gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi/execution_monitor.o...
gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi/cpp_main.o
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:61,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/cpp_main.cpp:23:
/l/gcc302/include/g++-v3/bits/stl_relops.h:79: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:84: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:89: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:94: template with C linkage
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:62,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/cpp_main.cpp:23:
/l/gcc302/include/g++-v3/bits/stl_pair.h:69: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:88: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:94: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:101: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:108: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:114: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:120: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:126: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_pair.h:146: template with C linkage

    g++ -c -Wall -ftemplate-depth-100 -g -O0 -fno-inline -pthreads -I"../../../libs/test/build" -isystem "/nfs/magrathea/home/user1/garcia/src/boost" -o "../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi/cpp_main.o" "../src/cpp_main.cpp"

...failed gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi/cpp_main.o...
...skipped <libs!test!build/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi>libprg_exec_monitor.a for lack of <libs!test!build/libprg_exec_monitor.a/gcc/debug/runtime-link-static/threading-multi>libprg_exec_monitor.a(execution_monitor.o)...
gcc-C++-action ../../../libs/test/build/bin/libprg_exec_monitor.a/gcc/debug/runtime-link-dynamic/threading-single/execution_monitor.o
In file included from /l/gcc302/include/g++-v3/bits/std_utility.h:61,
                 from /l/gcc302/include/g++-v3/utility:31,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config/select_stdlib_config.hpp:18,
                 from /nfs/magrathea/home/user1/garcia/src/boost/boost/config.hpp:40,
                 from ../src/execution_monitor.cpp:18:
/l/gcc302/include/g++-v3/bits/stl_relops.h:79: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:84: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:89: template with C linkage
/l/gcc302/include/g++-v3/bits/stl_relops.h:94: template with C linkage


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk