Re: [Ekiga-devel-list] Trunk ptlib compilation errors



Hi,

Le samedi 13 décembre 2008 à 14:05 +0100, Eugen Dedu a écrit :
> Hi,
> 
> A recent check-in in ptlib 
> (http://opalvoip.svn.sourceforge.net/viewvc/opalvoip?limit_changes=0&view=rev&revision=21788) 
> removed "#include <ptlib.h>" from several header files.  This leads to 
> compilation errors in ekiga, such as:
> 
>   g++ -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../lib/gmconf 
> -I../../../../lib/engine/framework 
> -I../../../../lib/engine/audiooutput/skel 
> -I../../../../lib/engine/audioinput/skel 
> -I../../../../lib/engine/audioinput/null 
> -I../../../../lib/engine/hal/skel -I/usr/include/sigc++-2.0 
> -I/usr/lib/sigc++-2.0/include -pthread -I/usr/include/glib-2.0 
> -I/usr/lib/glib-2.0/include -DPTRACING=1 -D_REENTRANT -D_GNU_SOURCE=1 
> -fno-exceptions -I/usr/include/SDL -Wall -g -O2 -Wall -Wextra 
> -Winit-self -Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 
> -Wfloat-equal -Wshadow -MT audioinput-manager-null.lo -MD -MP -MF 
> .deps/audioinput-manager-null.Tpo -c 
> ../../../../lib/engine/audioinput/null/audioinput-manager-null.cpp 
> -fPIC -DPIC -o .libs/audioinput-manager-null.o
> In file included from 
> ../../../../lib/engine/audioinput/null/audioinput-manager-null.h:45,
>                   from 
> ../../../../lib/engine/audioinput/null/audioinput-manager-null.cpp:35:
> /usr/include/ptclib/delaychan.h:49: error: expected class-name before 
> ‘{’ token
> /usr/include/ptclib/delaychan.h:50: error: ‘PObject’ has not been declared
> 
> I do not know whether if it was done intentionally or not.  I suppose it 
> was by accident, otherwise ekiga should include <ptlib.h> explicitly in 
> some cases.

I just committed a few build fixes to Ekiga and OPAL to fix that kind of
problem (and others introduced by the new im subdirectory in OPAL).
-- 
 _     Damien Sandras
(o-      
//\    Ekiga Softphone : http://www.ekiga.org/
v_/_   Be IP           : http://www.beip.be/
       FOSDEM          : http://www.fosdem.org/
       SIP Phone       : sip:dsandras ekiga net
                       



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