[Mapserver-users] MapServer Windows external symbol problem

Ed McNierney ed at topozone.com
Mon Jun 21 13:11:38 PDT 2004


Howard -

If you were getting a LINK error, then you were linking *something* -
i.e. one of the test harness applications.

The PHP regex is fine.  That's all you need - the regex Windows makefile
is a total mess for simply trying to build one .obj file!

	- Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com
-----Original Message-----
From: Howard Butler [mailto:hobu at iastate.edu] 
Sent: Monday, June 21, 2004 3:53 PM
To: Ed McNierney; assefa at dmsolutions.ca
Cc: mapserver-users at lists.gis.umn.edu
Subject: RE: [Mapserver-users] MapServer Windows external symbol problem

Ed,

Under CVS MapServer, regex.obj is no longer available as a target.
Also, I was only building the regex.obj from GNU's regex and none of the
test harness.  I later found a link to a message from Assefa that said
he uses PHP's regex.  I rolled PHP into the mix and my regex problem
went away.

Howard

At 02:49 PM 6/21/2004, Ed McNierney wrote:
>Howard -
>
>Add the target name "regex.obj" to the nmake command line - the errors 
>come from trying to build the test applications, which you don't need.
>
>If you click on the first entry found by the Google search you emailed 
>below, you'll find me saying the same thing <g>.
>
>         - Ed
>
>Ed McNierney
>President and Chief Mapmaker
>TopoZone.com
>-----Original Message-----
>From: mapserver-users-admin at lists.gis.umn.edu
>[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Howard 
>Butler
>Sent: Monday, June 21, 2004 3:17 PM
>To: assefa at dmsolutions.ca
>Cc: mapserver-users at lists.gis.umn.edu
>Subject: [Mapserver-users] MapServer Windows external symbol problem
>
>Assefa,
>
>I am trying to compile Windows MapServer, but I am having trouble 
>getting regex to behave when it comes time to link.  Apparently, many 
>others have had trouble as well 
><http://www.google.com/search?q=regex.obj+:+error+LNK2001:+unresolved+e
>x
>ternal+symbol+_printchar&hl=en&lr=&ie=UTF-8&c2coff=1&start=10&sa=N&filt
>ternal+symbol+e
>r=0>.
>
>Here is the link error:
>regex.obj : error LNK2001: unresolved external symbol _printchar
>
>I have tried every permutation of putting that symbol in the header, 
>making sure it is extern'ed properly (in both the C file and the 
>header), but I am having no luck.  I grepped through my VC++ include 
>files and my cygwin include files for that function prototype 
>(printchar), but I cannot find it anywhere.
>
>If you have any ideas of other things I might try, I'd greatly 
>appreciate it.
>
>Thanks
>
>Howard
>
>--------------------------------------------------------
>Howard Butler
>Department of Statistics
>Center for Survey Statistics and Methodology Iowa State University
>212 Snedecor Hall
>Ames, IA 50011
>--------------------------------------------------------
>http://hobu.biz
>--------------------------------------------------------
>
>_______________________________________________
>Mapserver-users mailing list
>Mapserver-users at lists.gis.umn.edu
>http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list