Boost logo

Boost Users :

From: Meryl Silverburgh (silverburgh.meryl_at_[hidden])
Date: 2007-07-08 15:19:08


On 7/7/07, egoots <egoots_at_[hidden]> wrote:
> Meryl Silverburgh wrote:
>
> > On 7/6/07, egoots <egoots_at_[hidden]> wrote:
> >> Meryl Silverburgh wrote:
> >>> Thanks. I just tried your idea on ubuntu and I get the linker errors too:
> >>>
> >> Just checking... did you build boost with zlib support enabled?
> >>
> >> See the "Installation" section which describes what is required:
> >> http://www.boost.org/libs/iostreams/doc/index.html
> >>
> >
> > I install the boost iostream library from ubuntu repository. And I
> > check with ubuntu forum, and i get a response saying it has zlib
> > support.
> >
>
> did you include zlib.cpp (from iostreams) in your project?
> It explains that on the above mentioned install page too
>

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'

> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>


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