[Mapserver-users] compiling 3.7 w/ gd2 & GDAL on windows

Jan Hartmann jhart at frw.uva.nl
Tue Feb 18 11:05:10 EST 2003


Richard Greenwood wrote:
> I can't get 3.7 mapserv.exe to link on windows due to a " one or more 
> multiply defined symbols found" error. The multiply defined symbols are 
> inflate, deflate, etc. which apparently are a part of zlib.
> 
> I am trying to compile with gd 2.0.11 and GDAL 1.1.8, both of which 
> reference these functions.
> 

In MapServer's Makefile.vc zlib.lib is specified both in GD_LIB and 
GDAL_LIB. I got things running by removing it from GD_LIB. Don't know 
how this should be solved in a more general way though.

Jan




More information about the mapserver-users mailing list