[Mapserver-users] Mapserver build Error!!!
teoman teoman
teoman872 at yahoo.com
Fri Jan 30 09:55:33 PST 2004
--0-192849566-1075485333=:1637
Content-Type: text/plain; charset=us-ascii
hi,
I am using MapServer 4.0.1 and GDAL 1.1.9...I have tried to install it again after installing GDAL again..but still I am getting this error:
gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H
-DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG
-DUSE_GD_WBMP -DUSE_OGR -DUSE_GDAL -I/usr/local/include -I/usr/local/inc
lude -I/usr/src/projects/mapservCA/jpeg-6b -I./regex-0.12 -I/usr/local/inclu
de -I/usr/local/include shp2img.c -o shp2img.o
gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DU
SE_WMS_SVR -DUSE_WMS_LYR -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/jpeg-6b -I./regex-0.12 -I/usr/local/include
-I/usr/local/include shp2img.o -L. -lmap -L/usr/local/lib -lgd -L/usr/src/
projects/mapservCA/jpeg-6b -ljpeg -lfreetype -L/lib -lpng -L/lib -lz -ltiff -
L/usr/src/projects/mapservCA/jpeg-6b -ljpeg -lfreetype -L/lib -lpng -L/lib -lz
-L/usr/local/lib -lproj -L/usr/src/projects/mapservCA/jpeg-6b -ljpeg -L/usr/lo
cal/lib -lgdal.1.1 -L/usr/lib -lcurl -lz -lssl -lcrypto -lz -lm -o shp2
img
./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
PS:in Makefile under MapServer, GD_STATIC and GDAL_STATIC variables are empty...I checked at the bottom of the Makefile and seems like those variables are used with shp2img.... So, I am not sure if I need to write sth there....
thanks alot in advance...
--teoman
Pericles Nacionales <nacional at cbs.umn.edu> wrote:
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!
---------------------------------
Do you Yahoo!?
Yahoo! SiteBuilder - Free web site building tool. Try it!
--0-192849566-1075485333=:1637
Content-Type: text/html; charset=us-ascii
<DIV>hi, </DIV>
<DIV>I am using MapServer 4.0.1 and GDAL 1.1.9...I have tried to install it again after installing GDAL again..but still I am getting this error:</DIV>
<DIV>gcc -c -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H<BR>-DUSE_WMS_SVR -DUSE_WMS_LYR -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG<BR> -DUSE_GD_WBMP -DUSE_OGR -DUSE_GDAL -I/usr/local/include -I/usr/local/inc<BR>lude -I/usr/src/projects/mapservCA/jpeg-6b -I./regex-0.12 -I/usr/local/inclu<BR>de -I/usr/local/include shp2img.c -o shp2img.o<BR>gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DU<BR>SE_WMS_SVR -DUSE_WMS_LYR -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -D<BR>USE_GD_WBMP -DUSE_OGR -DUSE_GDAL -I/usr/local/include -I/usr/local/includ<BR>e -I/usr/src/projects/mapservCA/jpeg-6b -I./regex-0.12 -I/usr/local/include<BR>-I/usr/local/include shp2img.o
-L. -lmap -L/usr/local/lib -lgd -L/usr/src/<BR>projects/mapservCA/jpeg-6b -ljpeg -lfreetype -L/lib -lpng -L/lib -lz -ltiff -<BR>L/usr/src/projects/mapservCA/jpeg-6b -ljpeg -lfreetype -L/lib -lpng -L/lib -lz<BR> -L/usr/local/lib -lproj -L/usr/src/projects/mapservCA/jpeg-6b -ljpeg -L/usr/lo<BR>cal/lib -lgdal.1.1 -L/usr/lib -lcurl -lz -lssl -lcrypto -lz -lm -o shp2<BR>img<BR>./libmap.a(mapogr.o)(.text+0xaa8):mapogr.cpp: undefined reference to `___gxx_per<BR>sonality_sj0'<BR>./libmap.a(mapogr.o)(.text+0xbb9):mapogr.cpp: undefined reference to `operator d<BR>elete(void*)'<BR>./libmap.a(mapogr.o)(.text+0xcee):mapogr.cpp: undefined reference to `operator n<BR>ew(unsigned)'<BR>./libmap.a(mapogr.o)(.text+0xdc3):mapogr.cpp: undefined reference to `operator d<BR>elete(void*)'<BR>./libmap.a(mapogr.o)(.text+0xf9b):mapogr.cpp: undefined reference to
`___gxx_per<BR>sonality_sj0'<BR>./libmap.a(mapogr.o)(.text+0x1768):mapogr.cpp: undefined reference to `___gxx_pe<BR>rsonality_sj0'<BR>./libmap.a(mapogr.o)(.text+0x2a38):mapogr.cpp: undefined reference to `___gxx_pe<BR>rsonality_sj0'<BR>./libmap.a(mapogr.o)(.text+0x2baf):mapogr.cpp: undefined reference to `operator<BR>new(unsigned)'<BR>./libmap.a(mapogr.o)(.text+0x34d3):mapogr.cpp: undefined reference to `operator<BR>delete(void*)'<BR>./libmap.a(mapogr.o)(.text+0x350d):mapogr.cpp: undefined reference to `operator<BR>delete(void*)'<BR>Info: resolving _asStyleLabel by linking to __imp__asStyleLabel (auto-import)<BR>Info: resolving _asStyleSymbol by linking to __imp__asStyleSymbol (auto-import)<BR>Info: resolving _asStyleBrush by linking to __imp__asStyleBrush (auto-import)<BR>Info: resolving _asStylePen by linking to __imp__asStylePen (auto-import)<BR>collect2: ld returned 1 exit status<BR>make: *** [shp2img] Error 1</DIV>
<DIV> </DIV>
<DIV>PS:in Makefile under MapServer, GD_STATIC and GDAL_STATIC variables are empty...I checked at the bottom of the Makefile and seems like those variables are used with shp2img.... So, I am not sure if I need to write sth there....</DIV>
<DIV> </DIV>
<DIV>thanks alot in advance...</DIV>
<DIV>--teoman</DIV>
<DIV><BR><BR><B><I>Pericles Nacionales <nacional at cbs.umn.edu></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Are you compiling MapServer 4.0.1 or the nightly? Did you compile the<BR>GDAL 1.1.9 or a cvs version? If you are compiling MapServer 4.0.1, use<BR>GDAL 1.1.9 and it should work. The problem with using the latest GDAL cvs<BR>is that Frank has made new changes that make it not work with MapServer<BR>4.0.1 without updating some of the MapServer source files. I think<BR>mapdrawgdal.c has changed, among other things. If you are compiling<BR>MapServer and GDAL from cvs then you might want to update them.<BR><BR>I don't know what you have, I'm just giving you potential answers.<BR><BR>-Perry<BR><BR><BR>On Thu, 29 Jan 2004, teoman teoman wrote:<BR><BR>> Hi everbody,<BR>><BR>> I am trying to build the mapserver latest version, but I am getting following error:<BR>><BR>> $ make<BR>> gcc -O2 -Wall -DIGNORE_MISSING_DATA -DUSE_EPPL -DUSE_PROJ -DUSE_PROJ_API_H -DU<BR>>
SE_WMS_SVR -DUSE_WFS_SVR -DUSE_TIFF -DUSE_JPEG -DUSE_GD_PNG -DUSE_GD_JPEG -D<BR>> USE_GD_WBMP -DUSE_OGR -DUSE_GDAL -I/usr/local/include -I/usr/local/includ<BR>> e -I/usr/src/projects/mapservCA/regex-0.12 -I/usr/local/include -I/usr/loca<BR>> l/include shp2img.o -L. -lmap -L/usr/local/lib -lgd -ljpeg -lfreetype -L/l<BR>> ib -lpng -L/lib -lz -ltiff -ljpeg -lfreetype -L/lib -lpng -L/lib -lz -L/usr<BR>> /local/lib -lproj -ljpeg -L/usr/local/lib -lgdal.1.1 -L/usr/local/lib -lgdal.1.<BR>> 1 -lm -o shp2img<BR>> ./libmap.a(mapogr.o)(.text+0xaa8):mapogr.cpp: undefined reference to `___gxx_per<BR>> sonality_sj0'<BR>> ./libmap.a(mapogr.o)(.text+0xbb9):mapogr.cpp: undefined reference to `operator d<BR>> elete(void*)'<BR>> ./libmap.a(mapogr.o)(.text+0xcee):mapogr.cpp: undefined reference to `operator n<BR>> ew(unsigned)'<BR>> ./libmap.a(mapogr.o)(.text+0xdc3):mapogr.cpp: undefined reference to `operator d<BR>> elete(void*)'<BR>>
./libmap.a(mapogr.o)(.text+0xf9b):mapogr.cpp: undefined reference to `___gxx_per<BR>> sonality_sj0'<BR>> ./libmap.a(mapogr.o)(.text+0x1768):mapogr.cpp: undefined reference to `___gxx_pe<BR>> rsonality_sj0'<BR>> ./libmap.a(mapogr.o)(.text+0x2a38):mapogr.cpp: undefined reference to `___gxx_pe<BR>> rsonality_sj0'<BR>> ./libmap.a(mapogr.o)(.text+0x2baf):mapogr.cpp: undefined reference to `operator<BR>> new(unsigned)'<BR>> ./libmap.a(mapogr.o)(.text+0x34d3):mapogr.cpp: undefined reference to `operator<BR>> delete(void*)'<BR>> ./libmap.a(mapogr.o)(.text+0x350d):mapogr.cpp: undefined reference to `operator<BR>> delete(void*)'<BR>> Info: resolving _asStyleLabel by linking to __imp__asStyleLabel (auto-import)<BR>> Info: resolving _asStyleSymbol by linking to __imp__asStyleSymbol (auto-import)<BR>> Info: resolving _asStyleBrush by linking to __imp__asStyleBrush (auto-import)<BR>> Info: resolving _asStylePen by linking to __imp__asStylePen
(auto-import)<BR>> collect2: ld returned 1 exit status<BR>> make: *** [shp2img] Error 1<BR>><BR>> can anybody help please?<BR>> thanks alot in advance..<BR>> --teoman<BR>><BR>><BR>> ---------------------------------<BR>> Do you Yahoo!?<BR>> Yahoo! SiteBuilder - Free web site building tool. Try it!</BLOCKQUOTE><p><hr SIZE=1>
Do you Yahoo!?<br>
Yahoo! SiteBuilder - Free web site building tool. <a href="http://us.rd.yahoo.com/evt=21608/*http://webhosting.yahoo.com/ps/sb/"><b>Try it!</b></a>
--0-192849566-1075485333=:1637--
More information about the MapServer-users
mailing list