[Mapserver-users] Mapserver build Error!!!

Pericles Nacionales nacional at cbs.umn.edu
Thu Jan 29 16:24:33 PST 2004


Are you compiling MapServer 4.0.1 or the nightly?  Did you compile the
GDAL 1.1.9 or a cvs version?  If you are compiling MapServer 4.0.1, use
GDAL 1.1.9 and it should work.  The problem with using the latest GDAL cvs
is that Frank has made new changes that make it not work with MapServer
4.0.1 without updating some of the MapServer source files.  I think
mapdrawgdal.c has changed, among other things.  If you are compiling
MapServer and GDAL from cvs then you might want to update them.

I don't know what you have, I'm just giving you potential answers.

-Perry


On Thu, 29 Jan 2004, teoman teoman wrote:

> Hi  everbody,
>
> I am trying to build the mapserver latest version, but I am getting following error:
>
> $ make
> gcc -O2  -Wall -DIGNORE_MISSING_DATA  -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DU
> SE_WMS_SVR  -DUSE_WFS_SVR    -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -D
> USE_GD_WBMP   -DUSE_OGR -DUSE_GDAL     -I/usr/local/include  -I/usr/local/includ
> e     -I/usr/src/projects/mapservCA/regex-0.12  -I/usr/local/include -I/usr/loca
> l/include      shp2img.o  -L. -lmap -L/usr/local/lib -lgd -ljpeg -lfreetype -L/l
> ib -lpng -L/lib -lz    -ltiff -ljpeg -lfreetype -L/lib -lpng -L/lib -lz   -L/usr
> /local/lib -lproj -ljpeg  -L/usr/local/lib -lgdal.1.1 -L/usr/local/lib -lgdal.1.
> 1        -lm   -o shp2img
> ./libmap.a(mapogr.o)(.text+0xaa8):mapogr.cpp: undefined reference to `___gxx_per
> sonality_sj0'
> ./libmap.a(mapogr.o)(.text+0xbb9):mapogr.cpp: undefined reference to `operator d
> elete(void*)'
> ./libmap.a(mapogr.o)(.text+0xcee):mapogr.cpp: undefined reference to `operator n
> ew(unsigned)'
> ./libmap.a(mapogr.o)(.text+0xdc3):mapogr.cpp: undefined reference to `operator d
> elete(void*)'
> ./libmap.a(mapogr.o)(.text+0xf9b):mapogr.cpp: undefined reference to `___gxx_per
> sonality_sj0'
> ./libmap.a(mapogr.o)(.text+0x1768):mapogr.cpp: undefined reference to `___gxx_pe
> rsonality_sj0'
> ./libmap.a(mapogr.o)(.text+0x2a38):mapogr.cpp: undefined reference to `___gxx_pe
> rsonality_sj0'
> ./libmap.a(mapogr.o)(.text+0x2baf):mapogr.cpp: undefined reference to `operator
> new(unsigned)'
> ./libmap.a(mapogr.o)(.text+0x34d3):mapogr.cpp: undefined reference to `operator
> delete(void*)'
> ./libmap.a(mapogr.o)(.text+0x350d):mapogr.cpp: undefined reference to `operator
> delete(void*)'
> Info: resolving _asStyleLabel by linking to __imp__asStyleLabel (auto-import)
> Info: resolving _asStyleSymbol by linking to __imp__asStyleSymbol (auto-import)
> Info: resolving _asStyleBrush by linking to __imp__asStyleBrush (auto-import)
> Info: resolving _asStylePen by linking to __imp__asStylePen (auto-import)
> collect2: ld returned 1 exit status
> make: *** [shp2img] Error 1
>
> can anybody help please?
> thanks alot in advance..
> --teoman
>
>
> ---------------------------------
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free web site building tool. Try it!



More information about the MapServer-users mailing list