Mapserver 5.0.0 installation fails at GEOS

William Hudspeth bhudspeth at EDAC.UNM.EDU
Fri Jan 25 11:08:59 EST 2008


Hello again,

I have downloaded Mapserver 5.0.1, and have tried compiling and making with
three different versions of GEOS. All give me more or less the same errors.

The configure arguments and versions (obtained from running geos-config
--version) for my various attempts include:

--with-geos=/usr/local/geos/bin/geos-config                  3.0.0
--with-geos=/usr/local/geos2_2_3/bin/geos-config        2.2.3
--with-geos=/usr/local/geos3_rc3/bin/geos-config          3.0.0rc3

The errors common to all installation attempts are:

./libmapserver.a(mapfile.o): In function `getCharacter':
mapfile.c:(.text+0x748): undefined reference to `msyylineno'
./libmapserver.a(mapfile.o): In function `getInteger':
mapfile.c:(.text+0x7d8): undefined reference to `msyylineno'
./libmapserver.a(mapfile.o): In function `getDouble':
mapfile.c:(.text+0x855): undefined reference to `msyylineno'
./libmapserver.a(mapfile.o): In function `getString':
mapfile.c:(.text+0xa64): undefined reference to `msyylineno'
./libmapserver.a(mapfile.o): In function `loadHashTable':
mapfile.c:(.text+0x4dcd): undefined reference to `msyylineno'
./libmapserver.a(mapfile.o):mapfile.c:(.text+0x5b8d): more undefined
references to `msyylineno' follow
./libmapserver.a(mapgeos.o): In function `msGEOSLength':
mapgeos.c:(.text+0xf22): undefined reference to `GEOSLength'
./libmapserver.a(mapgeos.o): In function `msGEOSArea':
mapgeos.c:(.text+0xf92): undefined reference to `GEOSArea'
./libmapserver.a(maplexer.o): In function `.L439':
maplexer.c:(.text+0x10cf): undefined reference to `msyylineno'
./libmapserver.a(mapsymbol.o): In function `loadSymbol':
mapsymbol.c:(.text+0x24b2): undefined reference to `msyylineno'
mapsymbol.c:(.text+0x2553): undefined reference to `msyylineno'
mapsymbol.c:(.text+0x2c33): undefined reference to `msyylineno'
./libmapserver.a(mapsymbol.o): In function `loadSymbolSet':
mapsymbol.c:(.text+0x2d52): undefined reference to `msyylineno'
collect2: ld returned 1 exit status
make: *** [shp2img] Error 1



More information about the mapserver-users mailing list