After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 443482 - Opal wont compile with GCC 4.2
Opal wont compile with GCC 4.2
Status: RESOLVED FIXED
Product: ekiga
Classification: Applications
Component: OPAL
2.0.x
Other All
: Normal normal
: ---
Assigned To: Ekiga maintainers
Ekiga maintainers
Depends on:
Blocks:
 
 
Reported: 2007-06-03 09:36 UTC by Campbell Barton
Modified: 2008-01-07 20:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Campbell Barton 2007-06-03 09:36:51 UTC
Please describe the problem:
When compiling Garnome 2.18.2 opal failed to compile. it was the only package not to compile aside from apps that depend on it.

Steps to reproduce:
compiling ./configure;make;make install

Actual results:
compile failes

Expected results:


Does this happen every time?


Other information:
Here is the compile error

# make
make P_SHAREDLIB=1 opt
make[1]: Entering directory `/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8'
g++ -D_REENTRANT -Wall  -fPIC -DPIC -DPTRACING -I/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/include  -DPTRACING -I/root/garnome/src/pwlib/include -Os  -march=athlon64 -O2 -pipe -fomit-frame-pointer -felide-constructors -c /storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx -o /storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/lib/obj_linux_x86_r/sipep.o
In file included from /root/garnome/src/pwlib/include/ptlib/timer.h:133,
                 from /root/garnome/src/pwlib/include/ptlib.h:175,
                 from /storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx:549:
/root/garnome/src/pwlib/include/ptlib/notifier.h: In constructor 'PNotifierFunction::PNotifierFunction(void*)':
/root/garnome/src/pwlib/include/ptlib/notifier.h:42: warning: the address of 'obj' will always evaluate as 'true'
/root/garnome/src/pwlib/include/ptlib/critsec.h: In member function 'SIPAuthentication& SIPAuthentication::operator=(const SIPAuthentication&)':
/root/garnome/src/pwlib/include/ptlib/critsec.h:234: error: 'PAtomicInteger& PAtomicInteger::operator=(const PAtomicInteger&)' is private
/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/include/sip/sippdu.h:458: error: within this context
/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx: In member function 'BOOL SIPEndPoint::GetAuthentication(const PString&, SIPAuthentication&)':
/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/src/sip/sipep.cxx:1995: note: synthesized method 'SIPAuthentication& SIPAuthentication::operator=(const SIPAuthentication&)' first required here 
make[1]: *** [/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8/lib/obj_linux_x86_r/sipep.o] Error 1
make[1]: Leaving directory `/storage/downloads/garnome-2.18.2/bootstrap/opal/work/main.d/opal-2.2.8'
make: *** [optshared] Error 2
#
Comment 1 Snark 2007-06-03 12:05:20 UTC
I'm a little surprised pwlib compiled successfully but not opal...

Oh, well. We'll see.
Comment 2 Damien Sandras 2007-06-03 19:49:51 UTC
CVS HEAD is fixed against GCC 4.2.
Comment 3 Steve Frécinaux 2008-01-07 20:26:46 UTC
I've compiled OPAL and PTLib with opal for quite a while now.

Marking as FIXED, feel free to reopen this bug if it doesn't work for you.