[Mapserver-users] Compiling Mapserver under Mingw

Pericles Nacionales nacional at cbs.umn.edu
Wed Jul 30 17:51:40 EDT 2003


Try compiling the old GNU regex package.  I've never had a problem with
that one.  If you don't have it, download it from
http://ftp.gnu.org/pub/gnu/regex/.

Good luck!
-Perry N. 


Pericles S. Nacionales
nacional at biosci.umn.edu


On Wed, 16 Jul 2003, Nicolas Boretos wrote:

> Hello,
> 
> I've trying fruitlessly to compile various versions of ms with 
> msys/mingw, and always get the following error..
> I've tried different versions of the mingw regex library with the same 
> results...
> FWIW, I do not get this problem under Cygwin...
> 
> would really appreciate any help...
> 
> regards,
> 
> nicolas boretos
> 
> gcc -c -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF  
> -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
> -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF       -I/usr/local/include              
> shp2img.c -o shp2img.o
> gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL    -DUSE_TIFF  
> -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT 
> -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF       -I/usr/local/include              
> shp2img.o  -L. -lmap -lgd -L/usr/local/lib -lgd -ljpeg -lfreetype -lpng 
> -lz -lpdf -ltiff -ljpeg -lfreetype -lpng -lz  -ljpeg          -lm 
> -lstdc++   -o shp2img
> ./libmap.a(mapfile.o)(.text+0x254f):mapfile.c: undefined reference to 
> `regfree'
> ./libmap.a(mapfile.o)(.text+0x8f04):mapfile.c: undefined reference to 
> `regcomp'
> ./libmap.a(mapfile.o)(.text+0x8f3d):mapfile.c: undefined reference to 
> `regexec'
> ./libmap.a(mapfile.o)(.text+0x8f4d):mapfile.c: undefined reference to 
> `regfree'
> ./libmap.a(mapfile.o)(.text+0x8f67):mapfile.c: undefined reference to 
> `regfree'
> ./libmap.a(mapfile.o)(.text+0x9bdc):mapfile.c: undefined reference to 
> `regcomp'
> ./libmap.a(mapfile.o)(.text+0x9c13):mapfile.c: undefined reference to 
> `regexec'
> ./libmap.a(mapfile.o)(.text+0x9c23):mapfile.c: undefined reference to 
> `regfree'
> ./libmap.a(mapfile.o)(.text+0x9c3d):mapfile.c: undefined reference to 
> `regfree'
> ./libmap.a(maputil.o)(.text+0x349):maputil.c: undefined reference to 
> `regexec'
> ./libmap.a(maputil.o)(.text+0x35b):maputil.c: undefined reference to 
> `regcomp'
> ./libmap.a(mapparser.o)(.text+0x909):mapparser.c: undefined reference to 
> `regcomp'
> ./libmap.a(mapparser.o)(.text+0x93d):mapparser.c: undefined reference to 
> `regexec'
> ./libmap.a(mapparser.o)(.text+0x956):mapparser.c: undefined reference to 
> `regfree'
> ./libmap.a(mapraster.o)(.text+0x13a):mapraster.c: undefined reference to 
> `regcomp'
> ./libmap.a(mapraster.o)(.text+0x166):mapraster.c: undefined reference to 
> `regexec'
> make: *** [shp2img] Error 
> 
> 
> _______________________________________________
> 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