Re: [Ekiga-list] Compilation failure in 3.2.4



On Mon, 25 May 2009, Eugen Dedu wrote:

> Damien Sandras wrote:
> > Le samedi 23 mai 2009 à 15:59 -0700, Joseph Comfort a écrit :
> > > I am hitting compilation errors with the latest v3.2.4. I got through the
> > > ICE reported earlier by upgrading the gcc packages to v4.4 (from SuSE
> > > factory).
> > >
> > > Now I have the errors:
> > > ../../../../lib/engine/components/opal/opal-account.cpp: In member
> > > function ‘void Opal::Account::on_edit_form_submitted(bool, Ekiga::Form&)’:
> > >
> > > ../../../../lib/engine/components/opal/opal-account.cpp:438: error:
> > > exception handling disabled, use -fexceptions to enable
> > > make[6]: *** [opal-account.lo] Error 1
> > >
> > > I compiled the ptlib and opal libraries OK.  As I recall, -fno-exceptions
> > > is used for opal.  Is there now a conflict?  How do I make a change
> > > without editing every Makefile?
> > >
> > > My goal is to get a working ekiga version on SuSE 11.1 (with KDE 3.5), on
> > > a 64-bit machine.  It has been total frustration.  Version 3.0.1 that
> > > comes with the system does not transmit sound either direction.  I found
> > > and installed rpms for ekiga v3.2.4, and relevant libraries, from the SuSE
> > > build service.  Execution immediately gave a segmentation fault.
> > >
> > 
> > It seems that your gcc is configured to not accept exceptions in C++
> > code. That is pretty weird. Check your default gcc configuration.
> 
> No, this is a gcc 4.4 problem, for sure.
> 
> There are about ten files which use exceptions, I think they have the same
> problem (grep 'catch *(' softs/ekiga/ekiga-svn/ -r).
> 
> -- 
> Eugen
> _______________________________________________
> ekiga-list mailing list
> ekiga-list gnome org
> http://mail.gnome.org/mailman/listinfo/ekiga-list
>
No, it's not that simple.  The gcc man page says that, if the exceptions 
option is not specified, then GCC will normally enable it for g++ and 
disable it for gcc. 

However, -fno-exceptions gets specified by the configuration files 
(including the ptlib.pc file) for the compilations (including g++) of 
ptlib-2.6.2, opal-3.6.2, and ekiga-3.2.4.  The compilation failure in 
ekiga is with g++, but it has explicitly been told 'no-exceptions'. The 
opal routine it was trying to use was also made with 'no-exceptions'.

It looks like gcc4.4 is doing what it is told to do.

Joe


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]