Troubles with regex-0.12

Karel Cernohorsky cernohor at CENTRUM.CZ
Tue Dec 14 16:35:27 PST 2004


Hi list,

I am trying to compile mapserver on windows 2000
but unfortunately I have a problem to compile required
regex-0.12 to get necessary regex.obj

I have set up all necessary options in nmake.opt
and I have run

nmake /f Makefile.vc

And it is compiling ok until it reachs the regex.
When it is trying to run following command

cl /nologo /MD /W3
UG -Id:\MapServerSupportProjects\gdwin32      -Id:\MapserverCompilation\maps
erver\regex-0.12              -DHAVE_STRING_H -DREGEX_MALLOC -DNEED_STRCASEC
MP -DNEED_STRNCASECMP -DNEED_STRLCAT   -DWIN32 -D_WIN32      -DUSE_GD_PNG -D
USE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_GIF -DGD_HAS_GDIMAGEGIFPTR -DUSE_GD_FT -D
GD_HAS_GETBITMAPFONT      -DIGNORE_MISSING_DATA  -DENABLE_STDERR_DEBUG
     -DUSE_GD_ANTIALIAS     /c
d:\MapserverCompilation\mapserver\regex-0.12\regex.c
/Fod:\MapserverCompilation\mapserver\regex-0.12\regex.obj

I am receiving many of following warnings

d:\MapserverCompilation\mapserver\regex-0.12\regex.c(768) : warning C4018:
'<' : signed/unsigned mismatch
d:\MapserverCompilation\mapserver\regex-0.12\regex.c(774) : warning C4018:
'<' : signed/unsigned mismatch
d:\MapserverCompilation\mapserver\regex-0.12\regex.c(1123) : warning C4018:
'<' : signed/unsigned mismatch
d:\MapserverCompilation\mapserver\regex-0.12\regex.c(1189) : warning C4018:
'>' : signed/unsigned mismatch
d:\MapserverCompilation\mapserver\regex-0.12\regex.c(1204) : warning C4018:
'>' : signed/unsigned mismatch
...

and it leads to this conclusion

Creating library mapserver_i.lib and object mapserver_i.exp
regex.obj : error LNK2019: unresolved external symbol _printchar referenced
in function _print_fastmap
libmap.dll : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link' : return code '0x460'
Stop.

Am I missing something?
Can anybody send me Makefile.vc for regex-0.12?

Thanks for help,
Karel Cernohorsky.



arel


---
Odchozí zpráva neobsahuje viry.
Zkontrolováno antivirovým systémem AVG (http://www.grisoft.cz).
Verze: 6.0.811 / Virová báze: 552 - datum vydání: 14.12.2004



More information about the MapServer-users mailing list