[Mapserver-users] Compiling Mapserver under Mingw
Nicolas Boretos
nicolasb at maich.gr
Wed Jul 16 01:06:57 PDT 2003
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
More information about the MapServer-users
mailing list