[ms4w-users] Compile for ArcSDE 92

Jeff McKenna jmckenna at dmsolutions.ca
Wed Mar 28 07:57:52 EST 2007


Simon,

Seems to be a GD problem (fun stuff eh).  I am surprised you are hitting 
this problem if you are using that buildkit as-is (MapServer's nmake.opt 
file should the one I used to compile the latest MS4W).  I suggest you 
look for help in the MapServer IRC chat room 
(http://mapserver.gis.umn.edu/community/irc/), or the MapServer-DEV 
mailing list 
(http://mapserver.gis.umn.edu/community/mailinglists/mapserver-dev/) 
where the MapServer developers hang out.

jeff



SIMON MERCIER wrote:
> Hi
> 
> Because I need to connect to ArcSDE 92, I try to compile mapserver with 
> the "mapserver-buildkit-022807"...I'am newbie with this!  I have an 
> error message at the link operation! I try many thing but never work and 
> realy dont know where to search now?  Anyone have an idea?  Thank you.
> 
> C:\ms\mapserver-buildkit-022807\mapserver-4.10.1>nmake /f makefile.vc
> ...
>         link /dll /debug  mapbits.obj maphash.obj mapshape.obj 
> mapxbase.obj  mapparser.obj maplexer.obj maptree.obj  mapsearch.obj maps
> tring.obj mapsymbol.obj mapfile.obj  maplegend.obj maputil.obj 
> mapscale.obj mapquery.obj  maplabel.obj maperror.obj mapprimitive.obj ma
> pproject.obj mapraster.obj cgiutil.obj mapsde.obj mapogr.obj 
> maptime.obj  maptemplate.obj mappostgis.obj maplayer.obj mapresample.obj
> mapwms.obj mapwmslayer.obj mapgml.obj maporaclespatial.obj  
> mapprojhack.obj mapdraw.obj mapgd.obj mapoutput.obj mapswf.obj  mapgdal.obj
>  mapwfs.obj mapwfslayer.obj mapows.obj maphttp.obj  mappdf.obj 
> mapcontext.obj mapdrawgdal.obj mapjoin.obj mapgraticule.obj  mapmygis.ob
> j mapimagemap.obj mapcopy.obj maprasterquery.obj  mapogcfilter.obj 
> mapogcsld.obj mapthread.obj mapobject.obj  classobject.obj layerobje
> ct.obj mapwcs.obj mapgeos.obj strptime.obj  mapcpl.obj mapio.obj 
> mappool.obj mapsvg.obj mapregex.obj mappluginlayer.obj  mapogcsos.obj
> mappostgresql.obj mapcrypto.obj   
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\php-5.2.1\regex\regcomp.obj 
> c:\ms\mapserver-build
> kit-022807\mapserver-4.10.1\..\php-5.2.1\regex\regerror.obj  
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\php-5.2.1\regex\regexe
> c.obj 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\php-5.2.1\regex\regfree.obj 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\
> ..\gd-2.0.33/gd.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\jpeg-6b/libjpeg.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4
> .10.1\..\libpng-1.2.8\projects\visualc71\Win32_LIB_Release\libpng.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\zlib-1.2.3/zd
> ll.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\freetype-2.1.10/objs/freetype2110.lib  
> c:\ms\mapserver-buildkit-022807\mapse
> rver-4.10.1\..\jpeg-6b/libjpeg.lib  
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\proj-4.4.9/src/proj_i.lib 
> c:\ms\mapserver-build
> kit-022807\mapserver-4.10.1\..\gdal_1_4_0/gdal_i.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\gdal_1_4_0/gdal_i.lib 
> c:\ms\ma
> pserver-buildkit-022807\mapserver-4.10.1\..\curl-7.15.1/libcurl_imp.lib   
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\PDFlib-Li
> te-6.0.2/libs/pdflib/Release_DLL/pdflib.lib  "C:\Program Files\Microsoft 
> Visual Studio\VC98\Lib\WS2_32.Lib" c:\ms\mapserver-buildkit-02
> 2807\mapserver-4.10.1\..\postgresql-8.2.3/src/interfaces/libpq/release/libpqdll.lib    
> C:\sgbd\ora10g/oci/lib/msvc/oci.lib C:\arcgis\ar
> csde\lib\pe.lib  C:\arcgis\arcsde\lib\sde.lib  
> C:\arcgis\arcsde\lib\sg.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\libiconv
> -1.9.1\lib\iconv.lib 
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\fcgi-2.4.0\libfcgi\Release\libfcgi.lib 
> c:\ms\mapserver-buildki
> t-022807\mapserver-4.10.1\..\geos-2.2.3/source/geos_c_i.lib  
> c:\ms\mapserver-buildkit-022807\mapserver-4.10.1\..\libxml2-2.6.23.win32/l
> ib/libxml2.lib  /out:libmap.dll /implib:mapserver_i.lib
> Microsoft (R) Incremental Linker Version 6.00.8168
> Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
> 
> 
>    Creating library mapserver_i.lib and object mapserver_i.exp
> gd.lib(pngset.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(pngwutil.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(jidctflt.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(jcdctmgr.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(gd.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(gdft.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(pngrtran.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(pngwrite.obj) : error LNK2001: unresolved external symbol __ftol2
> gd.lib(type1.obj) : error LNK2001: unresolved external symbol 
> ___security_cookie
> gd.lib(ftbase.obj) : error LNK2001: unresolved external symbol 
> ___security_cookie
> gd.lib(bdf.obj) : error LNK2001: unresolved external symbol 
> ___security_cookie
> gd.lib(type1cid.obj) : error LNK2001: unresolved external symbol 
> ___security_cookie
> gd.lib(cff.obj) : error LNK2001: unresolved external symbol 
> ___security_cookie
> gd.lib(type1.obj) : error LNK2001: unresolved external symbol 
> @__security_check_cookie at 4
> gd.lib(ftbase.obj) : error LNK2001: unresolved external symbol 
> @__security_check_cookie at 4
> gd.lib(bdf.obj) : error LNK2001: unresolved external symbol 
> @__security_check_cookie at 4
> gd.lib(type1cid.obj) : error LNK2001: unresolved external symbol 
> @__security_check_cookie at 4
> gd.lib(cff.obj) : error LNK2001: unresolved external symbol 
> @__security_check_cookie at 4
> libmap.dll : fatal error LNK1120: 3 unresolved externals
> NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\link.exe' : 
> return code '0x460'
> Stop.
>  
> Simon Mercier
> Ministère de la Sécurité publique
> 


-- 
Jeff McKenna
DM Solutions Group Inc.
http://www.dmsolutions.ca


More information about the ms4w-users mailing list