[owtchart-users] build error

Kralidis,Tom [Burlington] Tom.Kralidis at ec.gc.ca
Tue Aug 10 10:19:18 EDT 2004


Hi,

I'm trying to build owtchart from:

http://dl1.maptools.org/dl/owt/owt-20031104.tar.gz

On Fedora Core 2:

[root at devgeo owt-20031104]# 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 [root at devgeo owt-20031104]#

Here is what happens when I try to build (using make or gmake):

Script started on Tue 10 Aug 2004 08:40:55 AM EDT
[root at devgeo owtchart]# pwd
/usr/local/src/owtchart
[root at devgeo owtchart]# ls -l
total 3016
-rw-r--r--  1 root root 3082240 Nov  4  2003
owt-20031104.tar [root at devgeo owtchart]# tar xf
owt-20031104.tar 
[root at devgeo owtchart]# cd  owt-20031104
[root at devgeo owt-20031104]# make
(cd gd13; make)
make[1]: Entering directory `/usr/local/src/owtchart/owt-20031104/gd13'
gcc  -O   -c -o gd.o gd.c
gcc  -O   -c -o gdfontt.o gdfontt.c
gcc  -O   -c -o gdfonts.o gdfonts.c
gcc  -O   -c -o gdfontmb.o gdfontmb.c
gcc  -O   -c -o gdfontl.o gdfontl.c
gcc  -O   -c -o gdfontg.o gdfontg.c
rm -f libgd.a
ar rc libgd.a gd.o gdfontt.o gdfonts.o gdfontmb.o \
	gdfontl.o gdfontg.o
gcc  -O   -c -o gddemo.o gddemo.c
gcc  gddemo.o -o gddemo	-L./ -lgd -lm
gcc  -O   -c -o giftogd.o giftogd.c
gcc  giftogd.o -o giftogd	-L./ -lgd -lm 
gcc  -O   -c -o webgif.o webgif.c
gcc  webgif.o -o webgif	-L./ -lgd -lm
make[1]: Leaving directory `/usr/local/src/owtchart/owt-20031104/gd13'
(cd gdchart2; make)
make[1]: Entering directory
`/usr/local/src/owtchart/owt-20031104/gdchart2'
gcc -DHAVE_GIF -I../gd13 -I. -c gdc.c
gcc -DHAVE_GIF -I../gd13 -I. -c gdchart.c
gcc -I../gd13 -I. -c price_conv.c
gcc -DHAVE_GIF -I../gd13 -I. -c gdc_pie.c
rm -f gdchart.a
ar rc gdchart.a gdc.o gdchart.o price_conv.o gdc_pie.o
make[1]: Leaving directory
`/usr/local/src/owtchart/owt-20031104/gdchart2'
(cd xbase; make)
make[1]: Entering directory `/usr/local/src/owtchart/owt-20031104/xbase'
gcc -O '-Dalloca=malloc' -DUCHAR   -c -o dbf_head.o dbf_head.c
gcc -O '-Dalloca=malloc' -DUCHAR   -c -o dbf_rec.o dbf_rec.c
dbf_rec.c: In function `put_dbf_record':
dbf_rec.c:61: warning: return makes integer from pointer without a cast
gcc -O '-Dalloca=malloc' -DUCHAR   -c -o dbf_misc.o dbf_misc.c
gcc -O '-Dalloca=malloc' -DUCHAR   -c -o dbf_ndx.o dbf_ndx.c
rm -f xbase.a
ar rc xbase.a dbf_head.o dbf_rec.o dbf_misc.o dbf_ndx.o
make[1]: Leaving directory `/usr/local/src/owtchart/owt-20031104/xbase'
(cd port; make)
make[1]: Entering directory `/usr/local/src/owtchart/owt-20031104/port'
g++ -c  cpl_conv.cpp -o cpl_conv.o
g++ -c  cpl_error.cpp -o cpl_error.o
g++ -c  cpl_string.cpp -o cpl_string.o
g++ -c  cpl_vsisimple.cpp -o cpl_vsisimple.o
g++ -c  cplgetsymbol.cpp -o cplgetsymbol.o
g++ -c  cpl_dir.cpp -o cpl_dir.o
rm -f cpl.a
ar rc cpl.a cpl_conv.o cpl_error.o cpl_string.o cpl_vsisimple.o
cplgetsymbol.o cpl_dir.o
make[1]: Leaving directory `/usr/local/src/owtchart/owt-20031104/port'
(cd owt; make)
make[1]: Entering directory `/usr/local/src/owtchart/owt-20031104/owt'
gcc -I../gd13 -I../xbase -I../gdchart2 -I../port -c -g -Wall -DDEBUG
htdoc.cpp -o htdoc.o gcc -I../gd13 -I../xbase -I../gdchart2 -I../port -c
-g -Wall -DDEBUG htblock.cpp -o htblock.o gcc -I../gd13 -I../xbase
-I../gdchart2 -I../port -c -g -Wall -DDEBUG httable.cpp -o httable.o gcc
-I../gd13 -I../xbase -I../gdchart2 -I../port -c -g -Wall -DDEBUG
owttags.c -o owttags.o gcc -I../gd13 -I../xbase -I../gdchart2 -I../port
-c -g -Wall -DDEBUG dbftable.cpp -o dbftable.o gcc -I../gd13 -I../xbase
-I../gdchart2 -I../port -c -g -Wall -DDEBUG owtchart.cpp -o owtchart.o
gcc -I../gd13 -I../xbase -I../gdchart2 -I../port -c -g -Wall -DDEBUG
owtgdchart.cpp -o owtgdchart.o gcc -I../gd13 -I../xbase -I../gdchart2
-I../port -c -g -Wall -DDEBUG owtgdcharturl.cpp -o owtgdcharturl.o gcc
-I../gd13 -I../xbase -I../gdchart2 -I../port -c -g -Wall -DDEBUG
owtcgien.cpp -o owtcgien.o gcc -I../gd13 -I../xbase -I../gdchart2
-I../port -c -g -Wall -DDEBUG owtlog.c -o owtlog.o rm -f owt.a ar rc
owt.a htdoc.o htblock.o  httable.o owttags.o  dbftable.o owtchart.o
owtgdchart.o owtgdcharturl.o owtcgien.o  owtlog.o
make[1]: Leaving directory `/usr/local/src/owtchart/owt-20031104/owt'
(cd owtchart; make)
make[1]: Entering directory
`/usr/local/src/owtchart/owt-20031104/owtchart'
gcc -I../gd13 -I../xbase -I../gdchart2 -I../port -I../owt -c -g -Wall
-DDEBUG -DHAVE_GIF owtchartcgi.cpp -o owtchartcgi.o gcc  -o owtchart
owtchartcgi.o ../owt/owt.a ../gdchart2/gdchart.a ../gd13/libgd.a
../xbase/xbase.a  ../port/cpl.a  -lm 
owtchartcgi.o(.eh_frame+0x12): In function `MyErrorHandler':
/usr/local/src/owtchart/owt-20031104/owtchart/owtchartcgi.cpp:156:
undefined reference to `__gxx_personality_v0'
../owt/owt.a(owtcgien.o)(.eh_frame+0x11):/usr/local/src/owtchart/owt-200
31104/owt/owtcgien.cpp:82: undefined reference to `__gxx_personality_v0'
../port/cpl.a(cpl_conv.o)(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
../port/cpl.a(cpl_error.o)(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
../port/cpl.a(cpl_string.o)(.eh_frame+0x11): undefined reference to
`__gxx_personality_v0'
../port/cpl.a(cpl_vsisimple.o)(.eh_frame+0x11): more undefined
references to `__gxx_personality_v0' follow
collect2: ld returned 1 exit status
make[1]: *** [owtchart] Error 1
make[1]: Leaving directory
`/usr/local/src/owtchart/owt-20031104/owtchart'
make: *** [owtchart] Error 2

Daniel: adding -lstdc++ to LFLAGS in owtchart/GNUmakefile produced the
same error result (I did a make clean after making the change to
makefile and before trying to build again.

Any suggestions?

Thanks

..Tom

=========================
Tom Kralidis
Systems Scientist
Environment Canada
Tel: +01-905-336-4409
http://www.ec.gc.ca/






More information about the OWTChart-users mailing list