[mapserver-users] About "complete" Makefile.vc for MapServer 3.6.1
Hisaji ONO
hi-ono at mn.xdsl.ne.jp
Fri Jun 28 23:31:52 PDT 2002
Thank you Mr. Nacionales for your Makefiles.
I modefied your Makefile and tried it.
However I still met following error messages in WMS Client.
cl /nologo
i -I../gd-1.8.4 -I../tiff-v3.5.5/libtiff -I../proj-4.4.5/
src -I..\php-4.1.2\regex -DPHP_NO_ALIASES -I..\gdal-1.1.5/alg -I..\gdal-1.
1.5/
bridge -I..\gdal-1.1.5/core -I..\gdal-1.1.5/frmts -I..\gdal-1.1.5/port -I..\
gdal
-1.1.5/pymod -I..\gdal-1.1.5/ogr/ogrsf_frmts -I..\gdal-1.1.5/ogr -I..\gdal-1
.1.5
/ogr/../port -I..\postgresql-7.2.1-win32/include -I../w3c-libwww-5.3.2/libr
ary/
src -I../w3c-libwww-5.3.2/library/src/windows -I../w3c-libwww-5.3.2/modules
/exp
at/xmlparse -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASECMP -DNEED_STRNCASE
CMP
-DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DUSE_TIFF -DUSE_GD_PNG -DUSE_GD_J
PEG
-DUSE_GD_WBMP -DUSE_GD_TTF -DUSE_GD_TTF -DUSE_GDAL -DUSE_OGR -DUSE_POSTGIS
-DUS
E_WMS -DUSE_WMS_LYR /c mapwmslayer.c /Fomapwmslayer.obj
mapwmslayer.c
../w3c-libwww-5.3.2/library/src\HTHstMan.h(94) : error C2079: 'sock_addr' is
used in undefined struct 'sockaddr_in',
........
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
And I commented out line 94 in HTHstMan.h like this.
//SockA sock_addr; /* SockA is defined in wwwsys.h */
But I got following error messages.
link /NODEFAULTLIB:libcd mapserv.obj mapserver.lib
../gd-1.8.4/gd.lib ..
/jpeg-6b/libjpeg.lib ../libpng-1.2.3/libpng.lib ../zlib/zlib.lib
../freetype-2.
1.1/lib/freetype.lib ../tiff-v3.5.5/libtiff/libtiff.lib
../proj-4.4.5/src/proj
.lib ..\gdal-1.1.5/gdal.lib D:\Progra~1\EarthR~1\ecwsdk~1/lib/NCSEcw.lib
D:\P
rogra~1\EarthR~1\ecwsdk~1\lib\NCSEcwC.lib
D:\Progra~1\EarthR~1\ecwsdk~1\lib\NCSU
til.lib ..\gdal-1.1.5/ogr/ogrsf_frmts/ogrsf_frmts.lib
..\gdal-1.1.5/ogr/ogrsf_fr
mts/ogrsf_frmts_sup.lib ..\gdal-1.1.5/ogr/ogr.lib
..\gdal-1.1.5/ogr/../port/cpl.
lib ..\postgresql-7.2.1-win32/lib/libpqdll.lib
../w3c-libwww-5.3.2/bin/wwwcore.
lib ../w3c-libwww-5.3.2/bin/wwwapp.lib ../w3c-libwww-5.3.2/bin/wwwinit.lib
../w
3c-libwww-5.3.2/bin/wwwutils.lib
../w3c-libwww-5.3.2/library/external/xmlparse.
lib ../w3c-libwww-5.3.2/library/external/xmltok.lib
../w3c-libwww-5.3.2/librar
y/external/gnu_regex.lib ../w3c-libwww-5.3.2/library/external/zlib.lib
Microsoft (R) Incremental Linker Version 6.00.8447
Copyright (C) Microsoft Corp 1992-1998. All rights reserved.
library mapserv.lib and object mapserv.exp are creating
mapserver.lib(mapwmslayer.obj) : error LNK2001: external symbol "_index" is
unresolved
mapserv.exe : fatal error LNK1120: external reference 1 is unresolved.
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.
I used libwww-5.3.2 whose www*.libs were compiled by VC+ 6.0 correctlly on
Win NT 4.0 SP6a.
Could you give me any idea?
Regards.
More information about the MapServer-users
mailing list