#42 couldn't compile png.c during make

closed
nobody
None
5
2006-03-11
2005-02-09
Anonymous
No

Dear wvWare-Team,
I couldn't compiler your latest wv-1.0.3. During make I
get the follwing:

In file included from png.c:63:
/usr/local/include/zlib.h:84: error: redefinition of
`struct z_stream_s'
/usr/local/include/zlib.h:981: error: conflicting types
for `gzwrite'
/usr/include/zlib.h:704: error: previous declaration of
`gzwrite'
/usr/local/include/zlib.h:1189: error: redefinition of
`struct internal_state'

By the way I have two zlibs installed. One in /usr and
the other in /usr/local. Even by setting the
./configure parameter --with-zlib=/usr/local to force
using the newer one I get the same error.

Regards,
Henrik

henrikDOTkuhnATmorphochemDOTde

Discussion

  • Dom Lachowicz

    Dom Lachowicz - 2006-03-11
    • status: open --> closed
     
  • Dom Lachowicz

    Dom Lachowicz - 2006-03-11

    Logged In: YES
    user_id=69417

    Please upgrade to 1.2.x.

     

Log in to post a comment.