Meryl Silverburgh wrote:
On 7/7/07, egoots
wrote: . But when i include zlib.cpp to my project, i cant' get zlib.cpp to compile:
/home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:178: undefined reference to `deflateInit2_' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:178: undefined reference to `inflateInit2_' ./src/zlib.o: In function `boost::iostreams::detail::zlib_base::reset(bool, bool)': /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `deflateReset' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `inflateReset' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `deflateEnd' /home/silverburgh/workspace/urlTest/Debug/../src/zlib.cpp:145: undefined reference to `inflateEnd'
Well those are all exports from the zlib library (not zlib.cpp) so something isnt being linked in somehow. My build is on windows, so I am not much help with Ubuntu setup issues here.