[physfs] Linking errors (possibly regarding zlib?)
Nick "Pablo" Pirollo
grimsk8ter11 at comcast.net
Wed Jun 27 10:59:48 EDT 2007
Thanks for your help, I forgot to mention zlib was included in the command
line stuff to eb included. I moved the zlib reference to after the physfs
one and it worked perfectly.
Thanks again,
Nick
----- Original Message -----
From: "Ryan C. Gordon" <icculus at icculus.org>
To: <physfs at icculus.org>
Sent: Wednesday, June 27, 2007 3:48 AM
Subject: Re: [physfs] Linking errors (possibly regarding zlib?)
>
>> I downloaded the binary packages for Dev-C++ and have come accross
>> multiple link errors when linking, mainly the following:
>> undefined reference to 'inflate' in ZIP_read
>> undefined reference to 'inflateInit2_' and 'inflateEnd' in ZIP_seek
>
> I don't know how Dev-C++ works here (or even that there was a PhysicsFS
> binary package for it!) but generally PhysicsFS will expect either a
> system-provided version of zlib, or that it was built with the included
> copy of the zlib sources compiled into it.
>
> The missing symbols in that linker error are part of zlib, which the .zip
> support needs to handle decompression.
>
> --ryan.
>
>
> ---
> To unsubscribe, send a blank email to physfs-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?4
>
>
More information about the physfs
mailing list