[owtchart-users] Re: OWTChart-I cant set transparent background

Daniel Morissette morissette@dmsolutions.ca
Fri, 28 Nov 2003 10:45:32 -0500


Cristina Amil wrote:
> Oh, Daniel!!
> 
> I have download owtchart source code from
> maptools.org, version 2003/11/04, but it don't compile
> in my RedHat.
> 
> Before modify the code of gdc_pie.c, I type "make",
> but it return me an error:
> 
> owtchartcgi.o: In function `MyErrorHandler':
> /usr/local/owt-20031104/owtchart/owtchartcgi.cpp:156:
> undefined reference to `__gxx_personality_v0'
> ../owt/owt.a(owtcgien.o):/usr/local/owt-20031104/owt/owtcgien.cpp:82:
> undefined reference to `__gxx_personality_v0'

It's an issue with GCC 3.x when linking C++ code. You can work around it 
by adding '-lstdc++' to the end of the OWT_LIBS variable in the 
owt/owtchart/GNUmakefile.

As I wrote in my previous message: the build environment in the source 
package really needs some serious work.

Daniel
-- 
------------------------------------------------------------
  Daniel Morissette               morissette@dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------