20 Dec
2006
20 Dec
'06
6:10 p.m.
Bo Peng wrote:
g++ -I/usr/include/boost-1_35 -static -lboost__iostreams-gcc34-d test.cpp will generate a bunch of undefined references like:
/tmp/cc2T22tx.o(.text+0x1af): In function `main': : undefined reference to `boost::iostreams::zlib::default_strategy'
[...]
Can anyone guess what is going on?
Boost.Iostreams needs extern zlib, bzip2, etc, just as the message show you. Regards cg