
1 Jun
2010
1 Jun
'10
4:20 p.m.
AMDG Christian Meesters wrote:
I have the following code (more or less ...) <snip> gcc -o program -static trunk/src/file1.cpp trunk/src/file2.cpp ... -lboost_program_options -lboost_iostreams
I get
/usr/local/lib/libboost_iostreams.a(zlib.o): In function `boost::iostreams::detail::zlib_base::after(char const*&, char*&, bool)': zlib.cpp:(.text+0x120): undefined reference to `crc32' <snip>
Any idea what's wrong? What I need to change?
Add -lz In Christ, Steven Watanabe