[Mapserver-users] MapServer Windows external symbol problem

Brent Fraser bfraser at geoanalytic.com
Mon Jun 21 13:16:58 PDT 2004


Howard,

printchar.c can be found in regex-0.12\test

compile it and add to mapserver's nmake.opt (around line 431):
REGEX_OBJ=$(REGEX_DIR)\regex.obj $(REGEX_DIR)\test\printchar.obj

I don't remember having to do this before, but then I skipped a couple of
releases...

Brent Fraser
bfraser at geoanalytic.com

----- Original Message ----- 
From: "Howard Butler" <hobu at iastate.edu>
To: <assefa at dmsolutions.ca>
Cc: <mapserver-users at lists.gis.umn.edu>
Sent: Monday, June 21, 2004 1:17 PM
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+extern
al+symbol+_printchar&hl=en&lr=&ie=UTF-8&c2coff=1&start=10&sa=N&filter=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