Boost logo

Boost Users :

From: egoots (egoots_at_[hidden])
Date: 2007-07-08 16:01:55


Meryl Silverburgh wrote:
> On 7/7/07, egoots <egoots_at_[hidden]> 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.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net