[Mapserver-dev] compile error

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Mon Oct 4 10:30:45 EDT 2004


Hi,

Working against the latest CVS (just checked out), on:

$ uname -a
Linux devgeo.cciw.ca 2.6.5-1.358smp #1 SMP Sat May 8 09:25:36 EDT 2004
i686 i686 i386 GNU/Linux

I'm getting errors related to PostGIS.  Here's the ./configure command
(after make clean):


$ ./configure --with-freetype=/usr/local/bin/freetype-config
--with-zlib=/usr/local --with-png=/usr/local --with-jpeg=/usr/local
--with-xpm=/usr/local --with-gd=/usr/local --with-pdf=/usr/local
--with-eppl --with-proj=/usr/local
--with-gdal=/usr/local/bin/gdal-config
--with-ogr=/usr/local/bin/gdal-config
--with-postgis=/usr/local/pgsql/bin/pg_config --with-wfs --with-wcs
--with-wmsclient --with-wfsclient --without-tiff
--with-curl-config=/usr/local/bin/curl-config

...


gcc -c -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR
 -DUSE_WCS_SVR     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF  -DUSE_OGR -DUSE_GDAL
-DUSE_ICONV -DU
SE_POSTGIS    -I/usr/local/include -I/usr/local/include
-I/usr/local/include       -I/usr/local/include
-I/usr/local/pgsql/include  -I/usr/local/include
 epplib.c -o epplib.o
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 mapleg
end.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 map
resample.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 mapow
s.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 ma
pcpl.o cgiutil.o maprasterquery.o mapobject.o mapgeos.o classobject.o
layerobject.o epplib.o
ranlib libmap.a
gcc -c -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR
 -DUSE_WCS_SVR     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF  -DUSE_OGR -DUSE_GDAL
-DUSE_ICONV -DU
SE_POSTGIS    -I/usr/local/include -I/usr/local/include
-I/usr/local/include       -I/usr/local/include
-I/usr/local/pgsql/include  -I/usr/local/include
 shp2img.c -o shp2img.o
gcc -O2 -fPIC  -Wall -DIGNORE_MISSING_DATA -DNEED_STRLCAT  -DUSE_EPPL
-DUSE_PROJ -DUSE_PROJ_API_H -DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_WFS_SVR
-DUSE_WFS_LYR -D
USE_WCS_SVR     -DUSE_GD_GIF -DUSE_GD_PNG -DUSE_GD_JPEG -DUSE_GD_WBMP
-DUSE_GD_FT -DGD_HAS_GDIMAGEGIFPTR -DUSE_PDF  -DUSE_OGR -DUSE_GDAL
-DUSE_ICONV -DUSE_
POSTGIS    -I/usr/local/include -I/usr/local/include
-I/usr/local/include       -I/usr/local/include
-I/usr/local/pgsql/include  -I/usr/local/include     sh
p2img.o  -L. -lmap -L/usr/local/lib -lgd -ljpeg -lfreetype
-L/usr/local/lib -lpng -L/usr/local/lib -lz   -L/usr/local/lib64 -lpdf
-ljpeg -lfreetype -L/usr/l
ocal/lib -lpng -L/usr/local/lib -lz   -L/usr/local/lib -lproj -ljpeg
-L/usr/local/lib -lgdal  -L/usr/local/pgsql/lib -lpq  -L/usr/local/lib
-lcurl -L/usr/k
erberos/lib -lssl -lcrypto -ldl -lssl -lcrypto -lgssapi_krb5 -lkrb5
-lcom_err -lk5crypto -lresolv -ldl -lz -lz     -lc -lm -lstdc++  -o
shp2img
./libmap.a(maputil.o)(.text+0x192a): In function `msCleanup':
: undefined reference to `msConnPoolFinalCleanup'
./libmap.a(mappostgis.o)(.text+0x3ea): In function `msPOSTGISLayerOpen':
: undefined reference to `msConnPoolRequest'
./libmap.a(mappostgis.o)(.text+0x432): In function `msPOSTGISLayerOpen':
: undefined reference to `msConnPoolRegister'
./libmap.a(mappostgis.o)(.text+0xf0b): In function
`msPOSTGISLayerClose':
: undefined reference to `msConnPoolRelease'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1





More information about the mapserver-dev mailing list