[Mapserver-users] [Fwd: I: compiling mapserver 4.0 with gdal support on VC7]

Michael Schulz mschulz@webgis.de
Fri, 12 Dec 2003 09:22:20 +0100


-------- Ursprüngliche Nachricht --------
Betreff: 	I: compiling mapserver 4.0 with gdal support on VC7
Datum: 	Thu, 11 Dec 2003 16:21:22 +0100
Von: 	Ballini Yvain <Ballini.Yvain@seat.it>
An: 	Michael Schulz <mschulz@webgis.de>

Hi   Michael  ,

I'm trying to recompile mapserver 4.0 with OGR support (on Windows XP
with VC7).

Without the gdal support, it's everything ok but adding the gdal support
introduces a lot of problem during the recompilation of mapserver.

When I run the makefile.vc of mapserver, it gives me the following
errors for gdal 1.1.9:

cpl.lib(cpl_error.obj) : error LNK2019: unresolved external symbol
__imp___vsnpr intf referenced in function _CPLDebug

cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp___vsnp rintf referenced in function _CSLSave

cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__fp uts referenced in function _VSIFPuts

cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__mk dir referenced in function _VSIMkdir

OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol
__imp__mkdir

cpl.lib(cpl_vsisimple.obj) : error LNK2019: unresolved external symbol
__imp__rm dir referenced in function _VSIRmdir

OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol
__imp__rmdir

cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp__strer ror referenced in function _CSLSave

cpl.lib(cpl_string.obj) : error LNK2019: unresolved external symbol
__imp___errn o referenced in function _CSLSave

cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findclo se referenced in function _CPLReadDir

cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findnex t referenced in function _CPLReadDir

cpl.lib(cpl_dir.obj) : error LNK2019: unresolved external symbol
__imp___findfir st referenced in function _CPLReadDir

OLDNAMES.lib(mkdir.obi) : error LNK2001: unresolved external symbol
__imp___mkdi r

OLDNAMES.lib(rmdir.obi) : error LNK2001: unresolved external symbol
__imp___rmdi r mapserv.exe : fatal error LNK1120: 11 unresolved
externals NMAKE : fatal error U1077: 'link' : return code '0x460'

Stop.

  Has you any idea about the mistake ?

Thanks.

Yvain Ballini.



_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users