[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mapserver-dev
Subject:    Re: [mapserver-dev] Building 5.2.0 Beta on Win32
From:       Jeff McKenna <jmckenna () gatewaygeomatics ! com>
Date:       2008-06-20 22:47:29
Message-ID: 503562D0-CB90-47E1-BF6D-DE8FD1CD4D96 () gatewaygeomatics ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


On 17-Jun-08, at 4:18 PM, Rob McCulley wrote:

> Hi All,
> 
> I知 trying to build the 5.2.0 beta on Windows XP using MSVC 7.1.   
> I知 using the Mapserver buildkit.  The only line I changed in the  
> nmake.opt file is line 74, the declaration of MS_BASE.  All other  
> options in the nmake.opt file are the default values.  The build  
> fails due to four unresolved externals.  This is the error message:
> 
> Creating library mapserver_i.lib and object mapserver_i.exp
> maperror.obj : error LNK2019: unresolved external symbol _vsnprintf  
> referenced in function _msSetError
> mapwcs11.obj : error LNK2019: unresolved external symbol  
> _msWCSException11 referenced in function _msWCSGetCoverageBands11
> mapwcs11.obj : error LNK2019: unresolved external symbol  
> _msOWSLookupMetadata referenced in function _msWCSGetCoverageBands11
> mapwcs11.obj : error LNK2019: unresolved external symbol  
> _msWCSGetRequestParameter referenced in function  
> _msWCSGetCoverageBands11
> libmap.dll : fatal error LNK1120: 4 unresolved externals
> NMAKE : fatal error U1077: 'link' : return code '0x460'
> Stop.
> 
> I知 not building with any of the OGC options enabled, yet these  
> errors seem to be related to the OGC stuff.  Any ideas what痴 going  
> on here?
> 
> Rob McCulley
> 

Rob,

As I battle a different compile issue with the beta on windows \
(http://trac.osgeo.org/mapserver/ticket/2657  ) I decided to try a build without any \
OGC support, and voila I got   your exact errors....so I have filed a ticket for \
this: http://trac.osgeo.org/mapserver/ticket/2658   since I *think* we should be able \
to compile MapServer without OGC   support.

-jeff


---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/


[Attachment #5 (text/html)]

<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; \
-webkit-line-break: after-white-space; "><div apple-content-edited="true"><span \
class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; \
font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; \
text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; \
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; \
-webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div \
style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: \
after-white-space; "><div><div><div><br></div></div></div></div></span></div><div><div>On \
17-Jun-08, at 4:18 PM, Rob McCulley wrote:</div><br \
class="Apple-interchange-newline"><blockquote type="cite"><span \
class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); \
font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; \
font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; \
text-align: auto; text-indent: 0px; text-transform: none; white-space: normal; \
widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; \
-webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; \
-webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0; "><div lang="EN-US" \
link="blue" vlink="purple"><div class="Section1"><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; ">Hi All,<o:p></o:p></span></font></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span \
style="font-size: 10pt; font-family: Arial; \
"><o:p>&nbsp;</o:p></span></font></div><div style="margin-top: 0in; margin-right: \
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times \
New Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: \
Arial; ">I知 trying to build the 5.2.0 beta on Windows XP using MSVC 7.1.&nbsp; I知 \
using the Mapserver buildkit.&nbsp; The only line I changed in the nmake.opt file is \
line 74, the declaration of MS_BASE.&nbsp; All other options in the nmake.opt file \
are the default values.&nbsp; The build fails due to four unresolved externals.&nbsp; \
This is the error message:<o:p></o:p></span></font></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; "><o:p>&nbsp;</o:p></span></font></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span \
style="font-size: 10pt; font-family: Arial; ">Creating library mapserver_i.lib and \
object mapserver_i.exp<o:p></o:p></span></font></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; ">maperror.obj : error LNK2019: unresolved external symbol \
_vsnprintf referenced in function _msSetError<o:p></o:p></span></font></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span \
style="font-size: 10pt; font-family: Arial; ">mapwcs11.obj : error LNK2019: \
unresolved external symbol _msWCSException11 referenced in function \
_msWCSGetCoverageBands11<o:p></o:p></span></font></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; ">mapwcs11.obj : error LNK2019: unresolved external symbol \
_msOWSLookupMetadata referenced in function \
_msWCSGetCoverageBands11<o:p></o:p></span></font></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; ">mapwcs11.obj : error LNK2019: unresolved external symbol \
_msWCSGetRequestParameter referenced in function \
_msWCSGetCoverageBands11<o:p></o:p></span></font></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; ">libmap.dll : fatal error LNK1120: 4 unresolved \
externals<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: \
0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times \
New Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: \
Arial; ">NMAKE : fatal error U1077: 'link' : return code \
'0x460'<o:p></o:p></span></font></div><div style="margin-top: 0in; margin-right: 0in; \
margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; font-family: 'Times New \
Roman'; "><font size="2" face="Arial"><span style="font-size: 10pt; font-family: \
Arial; ">Stop.<o:p></o:p></span></font></div><div style="margin-top: 0in; \
margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; "><o:p>&nbsp;</o:p></span></font></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span \
style="font-size: 10pt; font-family: Arial; ">I知 not building with any of the OGC \
options enabled, yet these errors seem to be related to the OGC stuff.&nbsp; Any \
ideas what痴 going on here?<o:p></o:p></span></font></div><div style="margin-top: \
0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 12pt; \
font-family: 'Times New Roman'; "><font size="2" face="Arial"><span style="font-size: \
10pt; font-family: Arial; "><o:p>&nbsp;</o:p></span></font></div><div \
style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; \
font-size: 12pt; font-family: 'Times New Roman'; "><font size="2" face="Arial"><span \
style="font-size: 10pt; font-family: Arial; ">Rob \
McCulley<o:p></o:p></span></font></div></div><br></div></span></blockquote></div><br><div>Rob,</div><div><br></div><div>As \
I battle a different compile issue with the beta on windows (<a \
href="http://trac.osgeo.org/mapserver/ticket/2657)">http://trac.osgeo.org/mapserver/ticket/2657)</a> \
I decided to try a build without any OGC support, and voila I got your exact \
errors....so I have filed a ticket for this:&nbsp;<a \
href="http://trac.osgeo.org/mapserver/ticket/2658">http://trac.osgeo.org/mapserver/ticket/2658</a> \
since I *think* we should be able to compile MapServer without OGC \
support.</div><div><br></div><div>-jeff</div><div><br></div><div><br></div><div><div>---</div><div>Jeff \
McKenna</div><div>FOSS4G Consulting and Training Services</div><div><div><a \
href="http://www.gatewaygeomatics.com/">http://www.gatewaygeomatics.com/</a></div></div></div></body></html>




_______________________________________________
mapserver-dev mailing list
mapserver-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-dev


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic