Problems compiling MapServer 4.8.1 on Linux
Tero Alén
tealorama at GMAIL.COM
Fri Feb 24 10:10:10 PST 2006
Hi,
I have probles compiling MapServer 4.8.1. I use the following configure
./configure --with-tiff \
--with-jpeg \
--with-png \
--with-freetype \
--with-zlib \
--with-threads \
--with-proj \
--with-gdal \
--with-wcs \
--with-ogr \
--with-wmsclient \
--with-wfsclient \
--with-odbc
And got following output from make
-------8<---------------------------------------------------------------
--------
mapgd.c: In function ‘msDrawTextGD’:
mapgd.c:3058: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3059: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3060: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3061: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3062: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3063: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3064: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3065: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3069: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3071: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3081: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3082: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3083: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3084: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3085: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3086: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3087: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3088: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3092: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
mapgd.c:3094: warning: pointer targets in passing argument 5 of â
€˜gdImageString’ differ in signedness
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapoutput.c -o mapoutput.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapgdal.c -o mapgdal.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapswf.c -o mapswf.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapimagemap.c -o mapimagemap.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapows.c -o mapows.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapwfs.c -o mapwfs.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapwfslayer.c -o mapwfslayer.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapcontext.c -o mapcontext.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include maphttp.c -o maphttp.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapdrawgdal.c -o mapdrawgdal.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mappdf.c -o mappdf.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapjoin.c -o mapjoin.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapgraticule.c -o mapgraticule.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapcopy.c -o mapcopy.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapogcfilter.c -o mapogcfilter.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapogcsld.c -o mapogcsld.o
mapogcsld.c: In function ‘msSLDGetAttributeNameOrValue’:
mapogcsld.c:4120: warning: ‘szCompare[0]’ may be used
uninitialized in this function
mapogcsld.c:4120: warning: ‘szCompare[1]’ may be used
uninitialized in this function
mapogcsld.c:4121: warning: ‘szCompare2[0]’ may be used
uninitialized in this function
mapogcsld.c:4121: warning: ‘szCompare2[1]’ may be used
uninitialized in this function
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include maptime.c -o maptime.o
maptime.c: In function ‘msStrptime’:
maptime.c:169: warning: implicit declaration of function ‘strptime’
maptime.c:169: warning: return makes pointer from integer without a cast
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapwcs.c -o mapwcs.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapcpl.c -o mapcpl.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include cgiutil.c -o cgiutil.o
cgiutil.c: In function ‘loadParams’:
cgiutil.c:139: warning: suggest parentheses around assignment used as
truth value
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include maprasterquery.c -o maprasterquery.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapobject.c -o mapobject.o
g++ -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapgeos.cpp -o mapgeos.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include classobject.c -o classobject.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include layerobject.c -o layerobject.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapio.c -o mapio.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mappool.c -o mappool.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapsvg.c -o mapsvg.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mapregex.c -o mapregex.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include mappluginlayer.c -o mappluginlayer.o
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include epplib.c -o epplib.o
epplib.c: In function ‘position’:
epplib.c:231: warning: pointer targets in passing argument 1 of â
€˜swap2’ differ in signedness
ar rc libmap.a maptemplate.o mapbits.o maphash.o mapshape.o
mapxbase.o mapparser.o maplexer.o maptree.o mapsearch.o mapstring.o
mapsymbol.o mapfile.o maplegend.o maputil.o mapscale.o mapquery.o
maplabel.o maperror.o mapprimitive.o mapproject.o mapraster.o
mapsde.o mapogr.o mappostgis.o mapmygis.o maplayer.o mapresample.o
mapwms.o mapwmslayer.o maporaclespatial.o mapgml.o mapprojhack.o
mapthread.o mapdraw.o mapgd.o mapoutput.o mapgdal.o mapswf.o
mapimagemap.o mapows.o mapwfs.o mapwfslayer.o mapcontext.o maphttp.o
mapdrawgdal.o mappdf.o mapjoin.o mapgraticule.o mapcopy.o
mapogcfilter.o mapogcsld.o maptime.o mapwcs.o mapcpl.o cgiutil.o
maprasterquery.o mapobject.o mapgeos.o classobject.o layerobject.o
mapio.o mappool.o mapsvg.o mapregex.o mappluginlayer.o epplib.o
ranlib libmap.a
gcc -c -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include shp2img.c -o shp2img.o
gcc -O2 -fPIC -Wall -DIGNORE_MISSING_DATA -DHAVE_VSNPRINTF -
DNEED_STRLCAT -DUSE_EPPL -DUSE_PROJ -DUSE_WMS_SVR -DUSE_WMS_LYR -
DUSE_WFS_LYR -DUSE_WCS_SVR -DUSE_TIFF -DUSE_GD_GIF -DUSE_GD_PNG -
DUSE_GD_JPEG -DUSE_GD_WBMP -DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -
DGD_HAS_GETBITMAPFONTS -DUSE_OGR -DUSE_GDAL -DUSE_ICONV -
DUSE_THREAD -DUSE_ZLIB -I/usr/include -I/usr/local/
include shp2img.o -L. -lmap -lgd -L/usr/lib -lgd -ljpeg -
lfreetype -lpng -lz -lXpm -lX11 -ltiff -ljpeg -lfreetype -lpng -lz -
lXpm -lX11 -lproj -ljpeg -L/usr/local/lib -lgdal -L/usr/lib -
lcurl -lidn -lssl -lcrypto -ldl -lssl -lcrypto -ldl -lz -lpthread -
lc -lz -lm -lstdc++ -o shp2img
./libmap.a(mapogr.o): In function `msOGRFileWhichShapes(layer_obj*,
rectObj, ms_ogr_file_info_t*)':mapogr.cpp:(.text+0x488): undefined
reference to `OGRLineString::setPoint(int, double, double)'
:mapogr.cpp:(.text+0x4a6): undefined reference to
`OGRLineString::setPoint(int, double, double)'
:mapogr.cpp:(.text+0x4c4): undefined reference to
`OGRLineString::setPoint(int, double, double)'
:mapogr.cpp:(.text+0x4e2): undefined reference to
`OGRLineString::setPoint(int, double, double)'
:mapogr.cpp:(.text+0x500): undefined reference to
`OGRLineString::setPoint(int, double, double)'
./libmap.a(mapogr.o): In function `msOGRShapeToWKT':mapogr.cpp:(.text
+0xb0f): undefined reference to `OGR_G_SetPoint_2D'
:mapogr.cpp:(.text+0xb5c): undefined reference to `OGR_G_AddPoint_2D'
:mapogr.cpp:(.text+0xbe8): undefined reference to `OGR_G_AddPoint_2D'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1
The error don't make sense for me. Maybe somebody knows what went wrong?
--
Tero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060224/64ea5851/attachment.htm>
More information about the MapServer-users
mailing list