Re: [dev] Problems building OOO_STABLE_1 with libzlib
Hi Jan,
Something is messed up here. I don't need to make that change at all.
I searched for "zlib.h" and found it as follows:
./solver/641/unxlngppc.pro/inc/external/zlib/zlib.h
It is delivered there by the new zlib module which has a prj/d.lst line
which says:
..\%__SRC%\inc\zlib.h %_DEST%\inc%_EXT%\external\zlib\zlib.h
and I think one of the include lines should be pointing there for the
zcodec compile.
Are you sure you have checked out the new "zlib" module (zlib is no longer
built in external anymore but instead in its own module).
It should build be built and delivered before tools and all should work as
is I believe.
You should not need that change.
Also be careful libz is statically linked in a number of places so you want
the one that is built in its own module (i..e in the zlib module) with the
proper -fPIC and not a system level one.
Hope this helps,
Kevin
On June 29, 2002 11:05, Jan-Hendrik Palic wrote:
> Hi Folks
> On Sat, Jun 29, 2002 at 01:27:52PM +0200, Jan-Hendrik Palic wrote:
>
> [snip]
>
> >I changed #include "zlib/zlib.h" to #include <zlib.h> in
> > oo_1.0_src/tools/source/zcodec/zcodec.cxx and it works. There was no
> > zlib subdirectory under oo_1.0_src/tools/source/zcodec.
> >
> >After a while, I got this:
>
> [snap]
>
> >That is clear, because, in generell you have to link -llibz.
>
> It has to be -lz ...... then it works!
>
>
> Regards
> Jan
--
To UNSUBSCRIBE, email to debian-openoffice-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: