Compile errors building Python Mapscript using win32 buildkit

Frank Warmerdam warmerdam at POBOX.COM
Wed May 31 10:15:03 EDT 2006


Jeff McKenna wrote:
> When building Python Mapscript, with MapServer CVS head, I get the 
> following compile errors (other mapscripts build fine, and for ms 4.8.3 
> this does not occur):
> 
>    C:\Program Files\Microsoft Visual Studio .NET 2003\Vc7\bin\link.exe 
> /DLL /nologo /INCREMENTAL:NO 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\postgresql-8.1.2/src/interfaces/libpq/release 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\gd-2.0.33 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\PDFlib-Lite-6.0.2/libs/pdflib/Release_DLL 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\zlib-1.2.3 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\geos-2.2.2/source 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\jpeg-6b 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\libpng-1.2.8\projects\visualc71\Win32_LIB_Release 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\proj-4.4.9/src 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\curl-7.15.0 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\libiconv-1.9.1\lib 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\freetype-2.1.10/objs 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\ming-0.2a/src 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\mapserver\..\gdal-1.3.2 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\Python-2.4.2\libs 
> /LIBPATH:D:\build\mapserver-buildkit-4.8.3-2\buildkit\Python-2.4.2\PCBuild 
> mapserver_i.lib /EXPORT:init_mapscript 
> build\temp.win32-2.4\Release\mapscript_wrap.obj 
> build\temp.win32-2.4\Release\pygdioctx/pygdioctx.obj 
> /OUT:build\lib.win32-2.4\_mapscript.pyd 
> /IMPLIB:build\temp.win32-2.4\Release\_mapscript.lib
>    Creating library build\temp.win32-2.4\Release\_mapscript.lib and 
> object build\temp.win32-2.4\Release\_mapscript.exp
> mapscript_wrap.obj : error LNK2019: unresolved external symbol _gdFree 
> referenced in function _imageObj_write
> mapscript_wrap.obj : error LNK2019: unresolved external symbol 
> _gdImageDestroy referenced in function _delete_symbolObj
> build\lib.win32-2.4\_mapscript.pyd : fatal error LNK1120: 2 unresolved 
> externals

Jeff,

I'm running into a related problem with my last FWTools build.  I'll dig into
it this morning and see what I can find.  I think Howard did some cleanup of
goofy .def entries for libmap.dll that may be related.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGF, http://osgeo.org



More information about the mapserver-dev mailing list