From: gchen (chengang31_at_[hidden])
Date: 2006-12-20 13:10:34


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