Re: [Ekiga-devel-list] Status of ekiga tunk?



Quoting Peter Robinson <pbrobinson gmail com>:

> >  > BTW updated to Fedora 9 rawhide and with gcc 4.3 and any other changes
> >  > they've made the OPAL build breaks again
> >   >
> >   > g++ -I../../../include -DWITH_RFC_COMPLIANT_DEFAULTS -I../common -fPIC
> >   > -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> >   > -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g
> >   > -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> >   > --param=ssp-buffer-size=4 -m64 -mtune=generic -c h261vic.cxx -o
> >   > obj/h261vic.o
> >   > h261vic.cxx: In member function 'int
> >   > H261EncoderContext::EncodeFrames(const unsigned char*, unsigned int&,
> >   > unsigned char*, unsigned int&, unsigned int&)':
> >   > h261vic.cxx:275: warning: comparison between signed and unsigned
> >   > integer expressions
> >
> >  ..deleted
> >
> >  I did a complete compile of OPAL SVN trunk with gcc 4.3 just after it
> >  was released and fixed the few problems that came up.
> >
> >  I did it again again a few minutes ago and there were no issues.
>
> Well its probably the combination of Fedora enabling some extra stuff
> in their build system in what will become Fedora9 then. I compiled it
> OK a couple of days ago on Fedora 8 and just retried again using the
> latest SVN (rev 19779) and the last of the build before is fails is
> included below.
>
> Peter
>
> gcc -I../../../include -fPIC -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -pipe -Wall
> -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -c ima_adpcm.c -o
> obj/ima_adpcm.o
> ima_adpcm.c:435: warning: missing braces around initializer
> ima_adpcm.c:435: warning: (near initialization for
> 'imaADPCMCodecDefn[0].parm')
> gcc -shared -Wl,-soname,ima_adpcm -o ima_adpcm_audio_pwplugin.so
> obj/ima_adpcm.o
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/opal-3.3.0/plugins/audio/IMA_ADPCM'
> make[3]: Entering directory
> `/usr/src/redhat/BUILD/opal-3.3.0/plugins/audio/gsm-amr'
> gcc -g -c -I../../../include -fPIC -I../../../include -I./src -DIF2 -o
> obj/amrcodec.o amrcodec.c
> amrcodec.c: In function 'amr_codec_encoder':
> amrcodec.c:161: warning: incompatible implicit declaration of built-in
> function 'memcpy'
> gcc -g -c -I../../../include -fPIC -I../../../include -I./src -DIF2 -o
> obj/interf_enc.o ./src/interf_enc.c
> gcc -g -c -I../../../include -fPIC -I../../../include -I./src -DIF2 -o
> obj/interf_dec.o ./src/interf_dec.c
> gcc -g -c -I../../../include -fPIC -I../../../include -I./src -DIF2 -o
> obj/sp_dec.o ./src/sp_dec.c
> gcc -g -c -I../../../include -fPIC -I../../../include -I./src -DIF2 -o
> obj/sp_enc.o ./src/sp_enc.c
> gcc -shared -Wl,-soname,gsmamrcodec -o gsmamrcodec_pwplugin.so
> obj/amrcodec.o obj/interf_enc.o obj/interf_dec.o obj/sp_dec.o
> obj/sp_enc.o
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/opal-3.3.0/plugins/audio/gsm-amr'
> make[3]: Entering directory
> `/usr/src/redhat/BUILD/opal-3.3.0/plugins/video/H.261-vic'
> g++ -I../../../include -DWITH_RFC_COMPLIANT_DEFAULTS -I../common -fPIC
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -c h261vic.cxx -o
> obj/h261vic.o
> h261vic.cxx: In member function 'int
> H261EncoderContext::EncodeFrames(const unsigned char*, unsigned int&,
> unsigned char*, unsigned int&, unsigned int&)':
> h261vic.cxx:275: warning: comparison between signed and unsigned
> integer expressions
> h261vic.cxx: At global scope:
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm::_audio'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm::_audio'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm::_audio'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm::_audio'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm::_audio'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm'
> h261vic.cxx:1189: warning: missing braces around initializer for
> 'PluginCodec_Definition::_parm::_audio'
> g++ -I../../../include -DWITH_RFC_COMPLIANT_DEFAULTS -I../common -fPIC
> -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
> -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g
> -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector
> --param=ssp-buffer-size=4 -m64 -mtune=generic -c ../common/trace.cxx
> -o obj/trace.o
> ../common/trace.cxx: In static member function 'static std::ostream&
> Trace::Start(const char*, int)':
> ../common/trace.cxx:60: error: 'basename' was not declared in this scope
> make[3]: *** [obj/trace.o] Error 1
> make[3]: Leaving directory
> `/usr/src/redhat/BUILD/opal-3.3.0/plugins/video/H.261-vic'
> make[2]: *** [opt] Error 2
> make[2]: Leaving directory `/usr/src/redhat/BUILD/opal-3.3.0/plugins'
> make[1]: *** [opt] Error 2
> make[1]: Leaving directory `/usr/src/redhat/BUILD/opal-3.3.0'
> make: *** [optshared] Error 2

Peter,
can you try putting in / enabling a
#include <libgen.h>
in trace.cxx
?
Thats where basename should be declared....
Matthias

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.


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