[Mapserver-users] make: *** [shp2img] Error 1

pkishor_98 pkishor at geoanalytics.com
Sun Aug 24 07:20:27 PDT 2003


OS: MacOS X 10.2.6
gcc: 2.95
MapServer: 4.0
gd: 2.0.12
Freetype: 2.0.14

Configured MapServer with --

./configure --without-tiff --without-eppl --without-jpeg --with-threads --with-
php=/Users/pkishor/darwinports/dports/www/php4/work/php-4.3.2 --with-gd=/
opt/local --with-freetype=/opt/local/bin

I get the following --

..
pdf.c -o mappdf.o
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA         -DUSE_GD_PNG -DUSE_GD_JPEG -
DUSE_GD_WBMP -DUSE_GD_FT        -DUSE_THREAD -I/opt/local/include                
mapjoin.c -o mapjoin.o
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA         -DUSE_GD_PNG -DUSE_GD_JPEG -
DUSE_GD_WBMP -DUSE_GD_FT        -DUSE_THREAD -I/opt/local/include                
mapgraticule.c -o mapgraticule.o
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA         -DUSE_GD_PNG -DUSE_GD_JPEG -
DUSE_GD_WBMP -DUSE_GD_FT        -DUSE_THREAD -I/opt/local/include                
mapcopy.c -o mapcopy.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 
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  
ranlib libmap.a
ranlib: file: libmap.a(mapswf.o) has no symbols
ranlib: file: libmap.a(mapows.o) has no symbols
ranlib: file: libmap.a(maphttp.o) has no symbols
ranlib: file: libmap.a(mapdrawgdal.o) has no symbols
ranlib: file: libmap.a(mappdf.o) has no symbols
gcc -c -O2  -Wall -DIGNORE_MISSING_DATA         -DUSE_GD_PNG -DUSE_GD_JPEG -
DUSE_GD_WBMP -DUSE_GD_FT        -DUSE_THREAD -I/opt/local/include                
shp2img.c -o shp2img.o
gcc -O2  -Wall -DIGNORE_MISSING_DATA         -DUSE_GD_PNG -DUSE_GD_JPEG -
DUSE_GD_WBMP -DUSE_GD_FT        -DUSE_THREAD -I/opt/local/include                
shp2img.o  -L. -lmap -L/opt/local/lib -lgd -ljpeg -L/opt/local/lib -lfreetype -lz -
lpng -lz    -ljpeg -L/opt/local/lib -lfreetype -lz -lpng -lz    -ljpeg          -lpthread -
lm   -o shp2img
/usr/bin/ld: Undefined symbols:
_msAcquireLock
_msReleaseLock
_msGetThreadId
make: *** [shp2img] Error 1


Found many instances of this error in the archives, but since each reason seemed to 
be different, didn't find a definitive answer.

Any leads would be appreciated. Thanks,

Puneet.




More information about the MapServer-users mailing list