[owtchart-users] compilar fuentes - solucionado!!
Cristina Amil
cris_amil@yahoo.es
Mon, 1 Dec 2003 13:13:23 +0100 (CET)
--0-1693454359-1070280803=:54579
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Finally, I get compile owtchart, linking with my gd version (2.0.15) and adding '-lstdc++' to LFLAGS.
I modify gdchart2/gdc_pie.c as you tell me, and now chart graphs with TranspBG=1 perfectly works !!!
Thanks very much, Daniel. And my congratulations by this great software !!.
Cristina
Daniel Morissette <morissette@dmsolutions.ca> wrote:
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/
------------------------------------------------------------
---------------------------------
Yahoo! Sorteos
¡Ya puedes comprar Lotería de Navidad!
--0-1693454359-1070280803=:54579
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV>Finally, I get compile owtchart, linking with my gd version (2.0.15) and adding '-lstdc++' to LFLAGS.</DIV>
<DIV> </DIV>
<DIV>I modify gdchart2/gdc_pie.c as you tell me, and now chart graphs with TranspBG=1 perfectly works !!! </DIV>
<DIV> </DIV>
<DIV>Thanks very much, Daniel. And my congratulations by this great software !!.</DIV>
<DIV> </DIV>
<DIV>Cristina<BR><BR><B><I>Daniel Morissette <morissette@dmsolutions.ca></I></B> wrote:</DIV>
<BLOCKQUOTE class=replbq style="BORDER-LEFT: #1010ff 2px solid; MARGIN-LEFT: 5px; PADDING-LEFT: 5px">Cristina Amil wrote:<BR>> Oh, Daniel!!<BR>> <BR>> I have download owtchart source code from<BR>> maptools.org, version 2003/11/04, but it don't compile<BR>> in my RedHat.<BR>> <BR>> Before modify the code of gdc_pie.c, I type "make",<BR>> but it return me an error:<BR>> <BR>> owtchartcgi.o: In function `MyErrorHandler':<BR>> /usr/local/owt-20031104/owtchart/owtchartcgi.cpp:156:<BR>> undefined reference to `__gxx_personality_v0'<BR>> ../owt/owt.a(owtcgien.o):/usr/local/owt-20031104/owt/owtcgien.cpp:82:<BR>> undefined reference to `__gxx_personality_v0'<BR><BR>It's an issue with GCC 3.x when linking C++ code. You can work around it <BR>by adding '-lstdc++' to the end of the OWT_LIBS variable in the <BR>owt/owtchart/GNUmakefile.<BR><BR>As I wrote in my previous message: the build environment in the source <BR>package really needs some se!
rious
work.<BR><BR>Daniel<BR>-- <BR>------------------------------------------------------------<BR>Daniel Morissette morissette@dmsolutions.ca<BR>DM Solutions Group http://www.dmsolutions.ca/<BR>------------------------------------------------------------<BR></BLOCKQUOTE><p><hr size=1>
<font face=arial,helvetica size="-1"><b>Yahoo! Sorteos</b></font><br><font face=arial,helvetica size="-1">
<a href=http://es.rd.yahoo.com/mail_es/tagline/lottery/*http://yahoo.ventura24.es/><b>¡Ya puedes comprar Lotería de Navidad!</b></a></font>
--0-1693454359-1070280803=:54579--