Not logged in. · Lost password · Register
Forum: Community Jingle Discussion RSS
Try to compile psi-jingle under openSUSE 10.2
compilation error under openSUSE

Announcement

11-16-2005, 12:33 by halr9000
Subject: Psi Groupchat (new address)
Join us at the Psi Groupchat (MUC)! Room name: psi@conference.psi-im.org
Page:  1  2  next 
gibus92 #1
Member since 04/2007 · 6 posts · Location: Antony, France
Group memberships: Members
Show profile · Link to this post
Subject: Try to compile psi-jingle under openSUSE 10.2
Hello,

I got back psijingle at svn revision #612 , and I try to compile it under openSUSE 10.2 with latest patches for GNOME / KDE 3.
I got also v4.1.2 QT4 library and source, packaged from openSUSE team.

First, here's the backtraces from configure :

gilles@Gilles-bureau:~/psijingle> ./configure-jingle --prefix=/usr --with-glib-inc=/opt/gnome/include/glib-2.0 --with-glibconfig-inc=/opt/gnome/lib64/glib-2.0/include --with-glib-lib=/opt/gnome/lib64 --with-ortp-lib=/usr/lib64 --with-ortp-inc=/usr/include --with-speex-inc=/usr/include/speex --with-speex-lib=/usr/lib64 --qtdir=/usr/include/QtCore --enable-jingle
Configuring Psi ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.2 ... yes
Checking for bundled QCA 2.0 ... yes
Checking for OpenSSL ... yes
Checking for Cyrus SASL2 ... yes
Checking for zlib ... yes
Checking for certstore ... using bundled
Checking for the XScreenSaver extension ... yes
Checking for Aspell support ... yes
Checking for Linux Directory Notification ... yes
Checking for gethostbyname_r() ... yes
Checking for Google File Transfer ... no
Checking for Jingle ...

        !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!
        LIBJINGLE SUPPORT IS STILL EXPERIMENTAL !!!
        USE AT YOUR OWN RISK !!!
 yes
Checking for Plugins ... no

Good, your configure finished.  Now run /usr/bin/gmake.


Next, I have to patch psijingle source code to be able to get rid of C++ extra qualifier errors. I am able to compile until some cricket instantiations in jinglevoicecaller.cpp that lead to cascading errors, which I do not understand. I have attached the backtraces with this post.
The author has attached one file to this post:
psijingle_cperr.txt | Save   28.6 kBytes, downloaded 77 times
This post was edited 2 times, last on 04-18-2007, 06:20 by gibus92.
Vladsharp #2
Member since 05/2007 · 1 post
Group memberships: Members
Show profile · Link to this post
Subject: Same error on Gentoo
Hi,

I'm getting the same error on gentoo as well. gcc-4.1, glibc-2.5 and qt-4.3.0_beta1.

The error is somewhere in the sigslot library - if the latest release is in 2002, then I'm not really surprised. The build fails both with the hidden visibility enabled and disabled.

Attached is the build log.

Please take a look at fixing this error, as the last build (that I know) known to work is 20070314.

:)
Voker57 #3
Member since 06/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: RE
The same for me.
gibus92 #4
Member since 04/2007 · 6 posts · Location: Antony, France
Group memberships: Members
Show profile · Link to this post
Subject: No more error after glib 2.12 update
Last july, 14th, some big updates have come for openSUSE 10.2 : KDE 3.5.7 R56.1, qt4 - 4.3.1, GNOME with glib 1.2.10 and glib 2.12.11.

I could see quickly that GNOME (glib) libraries have been deeply reorganised : glib 1.2 and glib 2.0 includes are now completely separates  (no more default includes like include/glib/glib.h) and all libraries have moved from /opt/gnome/lib to /usr/lib !!!

Anyway, as "talk" part off the libjingle library (exactly, mediastreamer) includes glib.h, it could explain this instanciation problem.

Thanks for psi team helpful support ...
Avatar
elektrrrus #5
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
I have also problem with compiling psijingle from svn. I use sources from svn, revison #761.
openSUSE10.2, kde3.5.7, qt4 - 4.3.0-69, glib 1.2.10 and 2.12.4.

Here's bactrace form ./configure and gmake:
karol@linux:~/kompilacje/psi> ./configure-jingle  --disable-xss  --enable-google-ft --enable-jingle --with-glib-inc=/opt/gnome/include/glib-2.0 --with-glib-lib=/opt/gnome/lib --with-glibconfig-inc=/opt/gnome/lib/glib-2.0/include
Configuring Psi ...
Verifying Qt 4 build environment ... ok
Checking for Qt >= 4.2.3 ... yes
Checking for bundled QCA 2.0 ... yes
Checking for OpenSSL ... yes
Checking for zlib ... yes
Checking for certstore ... using bundled
Checking for Aspell support ... no
Checking for Linux Directory Notification ... yes
Checking for gethostbyname_r() ... yes
Checking for Google File Transfer ... yes
Checking for Jingle ...

        !!!!!!!!!!!!!! WARNING !!!!!!!!!!!!!!!
        LIBJINGLE SUPPORT IS STILL EXPERIMENTAL !!!
        USE AT YOUR OWN RISK !!!
 yes
Checking for Plugins ... no

Good, your configure finished.  Now run /usr/bin/gmake.

karol@linux:~/kompilacje/psi> /usr/bin/gmake
cd third-party/libjingle/ && /usr/bin/gmake -f Makefile
gmake[1]: Wejście do katalogu `/home/karol/kompilacje/psi/third-party/libjingle'
/usr/bin/qmake -unix -o Makefile libjingle.pro
gmake[1]: Opuszczenie katalogu `/home/karol/kompilacje/psi/third-party/libjingle'
gmake[1]: Wejście do katalogu `/home/karol/kompilacje/psi/third-party/libjingle'
g++ -c -pipe -O2 -fPIC -Wall -W -D_REENTRANT -DOSSL_097 -DHAVE_OPENSSL -DQCA_SYSTEMSTORE_PATH=\"/usr/local/share/psi/certs/rootcerts.pem\" -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAVE_SPEEX -DHAVE_ORTP -DHAVE_ALSA_ASOUNDLIB_H -D__ALSA_ENABLED__ -DHAVE_GLIB -DHAVE_CONFIG -DPOSIX -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/default -I. -I/usr/include/QtCore -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include/QtGui -I/usr/include -I/usr/include/speex -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -I. -Italk/third_party/mediastreamer -I. -I. -o .obj/base64.o talk/base/base64.cc
./talk/base/base64.h:25: error: extra qualification ‘Base64::’ on member ‘Base64Table’
./talk/base/base64.h:26: error: extra qualification ‘Base64::’ on member ‘DecodeTable’
gmake[1]: *** [.obj/base64.o] Błąd 1
gmake[1]: Opuszczenie katalogu `/home/karol/kompilacje/psi/third-party/libjingle'
gmake: *** [sub-third-party-libjingle-make_default] Błąd 2
gibus92 #6
Member since 04/2007 · 6 posts · Location: Antony, France
Group memberships: Members
Show profile · Link to this post
Subject: C++ extra-qualification errors
When you search google for this kind of error, you will have hundred entries about this problem. New gcc 4.1 compiler and later performs stricter checks on C++ rules : see http://www.comeaucomputing.com/4.0/docs/userman/cpplang.html and http://www.fourmilab.ch/fourmilog/archives/2006-05/000699…

If I remember, psi has been initiated on a debian distribution with has a older compiler version, like 3.x.

Now have a look at http://chatlogs.jabber.ru/psi%40conference.jabber.ru/2006… You will find it very interesting !
Last year, this problem has been identified and some patch have been proposed for test to some people, but if you search in psi wiki or in this forum you won't find anything : this information has been lost for everyone !

Now, the administrator does not seem to be interested to respond to everyone in this forum ...
gibus92 #7
Member since 04/2007 · 6 posts · Location: Antony, France
Group memberships: Members
Show profile · Link to this post
I have removed psi-jingle directory and performed a svn checkout at revision #761. base64.cc and some other sources have been reviewed. Extra-qualification error seems to have gone ... And I am able to compile successfully now.
This post was edited on 07-17-2007, 16:48 by gibus92.
Avatar
Kev (Administrator) #8
User title: Project Lead
Member since 11/2002 · 2998 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
We know about the problems with compiling libjingle with gcc4, but we don't want to fork libjingle. Maybe the newer libjingle fixes these issues, we'll find out when we upgrade.
Psi Project Leader.
Homepage, including development blog
Avatar
elektrrrus #9
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Thanks gibus92  for useful links. I have downloaded newer version(0.4) of jingle through command 'make -f Makefile.jingle' in directory ./third-party/libjingle.new/, and next moved the directory ./third-party/libjingle.new/jingle into ./third-party/jingle/. Now I have the same problem with compiling that gibus92. I couldn`t update glib and other things bind with gnome, because that crash my os. In sources from svn (version #761) I have the same problem.
Avatar
elektrrrus #10
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
I have found posiible solution: http://groups.google.com/group/google-talk-open/browse_th…
gibus92 #11
Member since 04/2007 · 6 posts · Location: Antony, France
Group memberships: Members
Show profile · Link to this post
As you can see, administrators knows about this problem but they won't help you !

You have the same problem, even with a svn update because you have edited and modified base64.cc. You should completely remove your psijingle tree and only, do again a svn checkout:

svn checkout http://svn.psi-im.org/psi/trunk/ psijingle

Your link is helpful but you can avoid to patch your sources since all the files concerned by this problem have been rewritten in subversion repository.
This post was edited on 07-18-2007, 14:23 by gibus92.
Avatar
elektrrrus #12
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
I try make a new compilation, without changes in files base64.h, xmppclient.h and sessionmanager.h and I can't compile. After this changes I try to compile, and I have this error:

../third-party/libjingle/talk/base/sigslot.h:647: error: no matching function for call to ‘std::list<sigslot::_connection_base1<cricket::AsyncFile*, sigslot::single_threaded>*, std::allocator<sigslot::_connection_base1<cricket::AsyncFile*, sigslot::single_threaded>*> >::push_back(int*)’
/usr/include/c++/4.1.2/bits/stl_list.h:760: note: candidates are: void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = sigslot::_connection_base1<cricket::AsyncFile*, sigslot::single_threaded>*, _Alloc = std::allocator<sigslot::_connection_base1<cricket::AsyncFile*, sigslot::single_threaded>*>]
../third-party/libjingle/talk/base/sigslot.h: In member function ‘void sigslot::_signal_base1<arg1_type, mt_policy>::slot_duplicate(const sigslot::has_slots<mt_policy>*, sigslot::has_slots<mt_policy>*) [with arg1_type = cricket::AsyncSocket*, mt_policy = sigslot::single_threaded]’:
jinglevoicecaller.cpp:385:   instantiated from here
../third-party/libjingle/talk/base/sigslot.h:647: error: no matching function for call to ‘std::list<sigslot::_connection_base1<cricket::AsyncSocket*, sigslot::single_threaded>*, std::allocator<sigslot::_connection_base1<cricket::AsyncSocket*, sigslot::single_threaded>*> >::push_back(int*)’
/usr/include/c++/4.1.2/bits/stl_list.h:760: note: candidates are: void std::list<_Tp, _Alloc>::push_back(const _Tp&) [with _Tp = sigslot::_connection_base1<cricket::AsyncSocket*, sigslot::single_threaded>*, _Alloc = std::allocator<sigslot::_connection_base1<cricket::AsyncSocket*, sigslot::single_threaded>*>]
gmake[1]: *** [.obj/jinglevoicecaller.o] Błąd 1
gmake[1]: Opuszczenie katalogu `/home/karol/kompilacje/psijingle/src'
gmake: *** [sub-src-make_default] Błąd 2

sigslot is probably too old...
I have reported error to google: http://code.google.com/p/libjingle/issues/detail?id=12
hugh.jf.chen #13
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: libjingle source tree built successfully with gcc 4.x and the latest oRTP
Dear,
I checked out the libjingle source tree from google svn repo and modified it so that it now can be built with gcc 4.x and the latest oRTP library successfully. you can check the following libjingle issue at the google site and get the attached source tree there:
http://code.google.com/p/libjingle/issues/detail?id=12

Good luck!
Avatar
elektrrrus #14
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Very, very thanks!

Unfortunately, I have new problem. I enclose result of compilation. I think, that it`s problem with ortp, I own version 0.7.1, later versions are not correctly identified by script ./configure-jingle.
The author has attached one file to this post:
backtrace.txt | Save   37.7 kBytes, downloaded 43 times
hugh.jf.chen #15
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Hi,
I met the same problem. That problem is caused  by the configure script. please check the config.h file.
it's empty,so the glib header files won't be included so you got such error messages. Unfortunately,I'm
not a psi developer and I don't know how to fix it.
Close Smaller – Larger + Reply to this post:
Smilies: :mellow: :huh: ^_^ :o ;) :P :D :lol: B) :rolleyes: -_- <_< :) :wub: :angry: :( :unsure: :wacko: :blink: :ph34r:
Special characters:
Page:  1  2  next 
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-17-2008, 11:52:01 (UTC -04:00)