17 Aug
2004
17 Aug
'04
2:10 p.m.
Daniel Huber wrote:
Hi,
I have done some additional testing on th eproblem that I reported yesterday, and I have found that the problem I was having with static linking under gcc 2.95.3 also occurs on gcc 3.2.2.
[snip]
g++ -L $HOME/linux/lib/boost/lib -static -lboost_filesystem -gcc -I $HOME/linux/lib/boost/include/boost-1_31 test_boost.cxx /tmp/ccP4gcx3.o(.text+0x19): In function `main': : undefined reference to `boost::filesystem::initial_path()'
Try putting -lboost_filesystem _after_ test_boost.cxx I hope this helps, Stephen Jackson