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:  previous  1  2 
hugh.jf.chen #16
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Subject: libjingle built successfully,however psi with jingle support build failed
Hi,all
I can build libjingle successfully and the call/pcp examples just run without any problem,however,the build of psi with jingle support failed with following error message. Seems the psi with jingle support branch is currently totally broken and I'm totally out of idea. Any one can help?

My building env is :
gcc 4.2.1
qt4  4.3.0
ortp 0.13.1
speex 1.1.12

Error message:

jinglevoicecaller.cpp:33:35: error: talk/p2p/base/helpers.h: No such file or directory
jinglevoicecaller.cpp:35:43: error: talk/p2p/client/sessionclient.h: No such file or directory
jinglevoicecaller.cpp:41:42: error: talk/session/sessionsendtask.h: No such file or directory
In file included from ../third-party/libjingle/talk/xmpp/constants.h:32,
                 from jinglevoicecaller.cpp:25:
../third-party/libjingle/talk/xmllite/qname.h: In constructor ‘buzz::QName::Data::Data(const std::string&, const std::string&)’:
../third-party/libjingle/talk/xmllite/qname.h:77: warning: ‘buzz::QName::Data::refcount_’ will be initialized after
../third-party/libjingle/talk/xmllite/qname.h:70: warning:   ‘std::string buzz::QName::Data::namespace_’
../third-party/libjingle/talk/xmllite/qname.h:63: warning:   when initialized here
In file included from jinglevoicecaller.cpp:26:
../third-party/libjingle/talk/base/sigslot.h: At global scope:
../third-party/libjingle/talk/base/sigslot.h:308: error: expected unqualified-id before ‘)’ token
../third-party/libjingle/talk/base/sigslot.h:318: error: variable or field ‘arg1_type’ declared void
../third-party/libjingle/talk/base/sigslot.h:328: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:338: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:348: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:359: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:373: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:387: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:401: error: expected `)' before ‘,’ token
../third-party/libjingle/talk/base/sigslot.h:1686: error: expected unqualified-id before ‘)’ token
../third-party/libjingle/talk/base/sigslot.h:1727: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:1769: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:1811: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:1855: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:1905: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:1955: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:2005: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:2057: error: expected `)' before ‘a1’
../third-party/libjingle/talk/base/sigslot.h:2103: error: expected unqualified-id before ‘)’ token
jinglevoicecaller.cpp:386: error: expected `}' at end of input
../third-party/libjingle/talk/base/sigslot.h:2101: error: expected unqualified-id at end of input
../third-party/libjingle/talk/base/sigslot.h:2101: error: expected `}' at end of input
make[1]: *** [.obj/jinglevoicecaller.o] Error 1
make[1]: Leaving directory `/mnt/ubuntu_var/arch_var/abs/local/network/psi-svn/src/psi-build/src'
make: *** [sub-src-make_default] Error 2
This post was edited on 07-20-2007, 02:15 by hugh.jf.chen.
Avatar
Kev (Administrator) #17
User title: Project Lead
Member since 11/2002 · 2998 posts · Location: Exeter, UK
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
I'm afraid using the new libjingle isn't going to work; as I hinted at earlier in the thread, we haven't upgraded Psi to use the new version yet. This isn't something that's fallen off our roadmap, it's just something that's very difficult to 'get right', and we haven't spent the time to do that yet (thus why you receive the big warning if you compile with voip support).

This is something we'll be looking at again as soon as we can fit it into the schedule.
Psi Project Leader.
Homepage, including development blog
hugh.jf.chen #18
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
I now decided to quit psijingle and stay with the libjingle call/pcp example programs. when i need to text chat with my gtalk buddies,I use gaim(now pidgin);when i need to talk,i use the call example;and when i need to transfer files,i use the pcp example. it works great.
Avatar
elektrrrus #19
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Thanks hugh.jf.chen for idea to call with call aplication in jigle. But i still have problem with compiling.

/usr/include/ortp/ortp-config.h:104:1: warning: this is the location of the previous definition
linphonemediaengine.cc: In member function 'virtual void cricket::LinphoneMediaChannel::SetCodecs(const std::vector<Codec, std::allocator<Codec> >&)':
linphonemediaengine.cc:83: error: 'payload_type_speex_wb' was not declared in this scope
linphonemediaengine.cc:85: error: 'payload_type_speex_nb' was not declared in this scope
linphonemediaengine.cc:91: error: 'payload_type_pcmu8000' was not declared in this scope
linphonemediaengine.cc: In member function 'virtual bool cricket::LinphoneMediaEngine::FindCodec(const Codec&)':
linphonemediaengine.cc:120: error: 'payload_type_speex_wb' was not declared in this scope
linphonemediaengine.cc:122: error: 'payload_type_speex_nb' was not declared in this scope
linphonemediaengine.cc: In member function 'virtual bool cricket::LinphoneMediaEngine::Init()':
linphonemediaengine.cc:174: error: 'payload_type_speex_wb' was not declared in this scope
linphonemediaengine.cc:175: error: 'payload_type_speex_nb' was not declared in this scope
linphonemediaengine.cc:184: error: 'payload_type_pcmu8000' was not declared in this scope
make[4]: *** [linphonemediaengine.lo] Błąd 1
make[4]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle/talk/session/phone'
make[3]: *** [all-recursive] Błąd 1
make[3]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle/talk/session'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle/talk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle'
make: *** [all] Błąd 2
This post was edited on 07-20-2007, 11:56 by elektrrrus.
hugh.jf.chen #20
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Hmm,elektrrrus,
Seems that your oRTP version is too old. following is my build env for your reference:
gcc 4.2.1
qt4 4.3.0
speex 1.1.12
oRTP 0.13.1
Avatar
elektrrrus #21
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Ok, I have now the same version that You, but I`m still unable to compile...
Witch version of iLBC have You?


/bin/sh ../../../libtool --silent --tag=CC   --mode=compile gcc-4.2 -DHAVE_CONFIG_H -I. -I../../.. -I../../.. -D_REENTRANT -DORTP_INET6 -I/opt/gnome/include     -I/usr/include -I/usr/include/speex -pthread -I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include   -D__ALSA_ENABLED__ -DHAVE_ALSA_ASOUNDLIB_H -DG_LOG_DOMAIN=\"MediaStreamer\" -D_REENTRANT -DORTP_INET6 -I/opt/gnome/include    -I/usr/include/ilbc -I/usr/include -I/usr/include/speex -g -O2 -MT msrtprecv.lo -MD -MP -MF .deps/msrtprecv.Tpo -c -o msrtprecv.lo msrtprecv.c
msrtprecv.c: In function 'msgb_2_ms_message':
msrtprecv.c:29: error: 'struct datab' has no member named 'db_ref'
msrtprecv.c: In function 'ms_rtp_recv_process':
msrtprecv.c:123: warning: passing argument 1 of 'rtp_profile_get_payload' makes pointer from integer without a cast
make[4]: *** [msrtprecv.lo] Błąd 1
make[4]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle/talk/third_party/mediastreamer'
make[3]: *** [all-recursive] Błąd 1
make[3]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle/talk/third_party'
make[2]: *** [all-recursive] Błąd 1
make[2]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle/talk'
make[1]: *** [all-recursive] Błąd 1
make[1]: Opuszczenie katalogu `/home/karol/kompilacje/libjingle'
make: *** [all] Błąd 2
This post was edited on 07-20-2007, 13:27 by elektrrrus.
Avatar
elektrrrus #22
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
And witch version of glib?
hugh.jf.chen #23
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
glib 1.2.10
glib2 2.12.13

I don't have iLBC.
hugh.jf.chen #24
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Hi,elektrrrus,
Are you sure you have the same version of oRTP as mine? I checked the /usr/include/ortp/str_utils.h file in my machine,there IS the db_ref field in the struct datab definition.
Avatar
elektrrrus #25
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Ok, I have succefuly compiled jingle, I had two another version of oRTP installed. But I still have problem...
arggghhhhhh... :wacko:

My build env:
openSUSE 10.2
speex 1.1.12
gcc 4.2.1
oRTP 0.13.1
glib 1.2.10 and 2.12.4


call in progress
warning: Invalid mode encountered: corrupted stream?
*** glibc detected *** call: munmap_chunk(): invalid pointer: 0x082f6788 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7a376e1]
/opt/gnome/lib/libglib-2.0.so.0(g_free+0x31)[0xb7d570d1]
call(ms_buffer_destroy+0x2a)[0x81b3a6a]
call(ms_message_destroy+0x48)[0x81b3ac8]
call(ms_speex_dec_process+0xc5)[0x81b2225]
call(ms_thread_run+0xc0)[0x81aee10]
/opt/gnome/lib/libglib-2.0.so.0[0xb7d6dcdf]
/lib/libpthread.so.0[0xb7c29112]
/lib/libc.so.6(clone+0x5e)[0xb7a922ee]
======= Memory map: ========
08048000-08201000 r-xp 00000000 08:02 1176729    /usr/bin/call
08201000-08208000 r--p 001b8000 08:02 1176729    /usr/bin/call
08208000-08209000 rw-p 001bf000 08:02 1176729    /usr/bin/call
08209000-0838c000 rw-p 08209000 00:00 0          [heap]
b6000000-b6021000 rw-p b6000000 00:00 0
b6021000-b6100000 ---p b6021000 00:00 0
b6186000-b6187000 ---p b6186000 00:00 0
b6187000-b6987000 rw-p b6187000 00:00 0
b6987000-b6988000 ---p b6987000 00:00 0
b6988000-b7188000 rw-p b6988000 00:00 0
b7188000-b7189000 ---p b7188000 00:00 0
b7189000-b7989000 rw-p b7189000 00:00 0
b7989000-b79be000 r--s 00000000 08:02 1316983    /var/run/nscd/dbsmYwmI (deleted)
b79be000-b79c0000 rw-p b79be000 00:00 0
b79c0000-b79d1000 r-xp 00000000 08:02 535468     /lib/libz.so.1.2.3
b79d1000-b79d3000 rw-p 00010000 08:02 535468     /lib/libz.so.1.2.3
b79d3000-b7afb000 r-xp 00000000 08:02 535411     /lib/libc-2.5.so
b7afb000-b7afc000 r--p 00128000 08:02 535411     /lib/libc-2.5.so
b7afc000-b7afe000 rw-p 00129000 08:02 535411     /lib/libc-2.5.so
b7afe000-b7b01000 rw-p b7afe000 00:00 0
b7b01000-b7b0b000 r-xp 00000000 08:02 535500     /lib/libgcc_s.so.1
b7b0b000-b7b0c000 r--p 00009000 08:02 535500     /lib/libgcc_s.so.1
b7b0c000-b7b0d000 rw-p 0000a000 08:02 535500     /lib/libgcc_s.so.1
b7b0d000-b7b0e000 rw-p b7b0d000 00:00 0
b7b0e000-b7b32000 r-xp 00000000 08:02 535419     /lib/libm-2.5.so
b7b32000-b7b34000 rw-p 00023000 08:02 535419     /lib/libm-2.5.so
b7b34000-b7c12000 r-xp 00000000 08:02 1154464    /usr/lib/libstdc++.so.6.0.9
b7c12000-b7c16000 r--p 000dd000 08:02 1154464    /usr/lib/libstdc++.so.6.0.9
b7c16000-b7c17000 rw-p 000e1000 08:02 1154464    /usr/lib/libstdc++.so.6.0.9
b7c17000-b7c1d000 rw-p b7c17000 00:00 0
b7c1d000-b7c22000 r-xp 00000000 08:02 535586     /lib/libresmgr.so.1.0.0
b7c22000-b7c24000 rw-p 00004000 08:02 535586     /lib/libresmgr.so.1.0.0
b7c24000-b7c38000 r-xp 00000000 08:02 535437     /lib/libpthread-2.5.so
b7c38000-b7c3a000 rw-p 00013000 08:02 535437     /lib/libpthread-2.5.so
b7c3a000-b7c3c000 rw-p b7c3a000 00:00 0
b7c3c000-b7c3e000 r-xp 00000000 08:02 535417     /lib/libdl-2.5.so
b7c3e000-b7c40000 rw-p 00001000 08:02 535417     /lib/libdl-2.5.so
b7c40000-b7cfc000 r-xp 00000000 08:02 1152430    /usr/lib/libasound.so.2.0.0
b7cfc000-b7cfe000 r--p 000bb000 08:02 1152430    /usr/lib/libasound.so.2.0.0
b7cfe000-b7d01000 rw-p 000bd000 08:02 1152430    /usr/lib/libasound.so.2.0.0
b7d01000-b7d02000 rw-p b7d01000 00:00 0
b7d02000-b7d17000 r-xp 00000000 08:02 1152726    /usr/lib/libortp.so.5.0.0
b7d17000-b7d18000 r--p 00014000 08:02 1152726    /usr/lib/libortp.so.5.0.0
b7d18000-b7d19000 rw-p 00015000 08:02 1152726    /usr/lib/libortp.so.5.0.0
b7d19000-b7d20000 r-xp 00000000 08:02 535441     /lib/librt-2.5.so
b7d20000-b7d22000 rw-p 00006000 08:02 535441     /lib/librt-2.5.so
b7d22000-b7db5000 r-xp 00000000 08:02 1466882    /opt/gnome/lib/libglib-2.0.so.0.1200.4
b7db5000-b7db7000 rw-p 00092000 08:02 1466882    /opt/gnome/lib/libglib-2.0.so.0.1200.4
b7db7000-b7dba000 r-xp 00000000 08:02 1466888    /opt/gnome/lib/libgthread-2.0.so.0.1200.4
b7dba000-b7dbc000 rw-p 00002000 08:02 1466888    /opt/gnome/lib/libgthread-2.0.so.0.1200.4
b7dbc000-b7dbe000 r-xp 00000000 08:02 1466884    /opt/gnome/lib/libgmodule-2.0.so.0.1200.4
b7dbe000-b7dc0000 rw-p 00002000 08:02 1466884    /opt/gnome/lib/libgmodule-2.0.so.0.1200.4
b7dc0000-b7dc1000 rw-p b7dc0000 00:00 0
b7dc1000-b7ddf000 r-xp 00000000 08:02 1152718    /usr/lib/libspeex.so.1.2.0
b7ddf000-b7de0000 r--p 0001e000 08:02 1152718    /usr/lib/libspeex.so.1.2.0
b7de0000-b7de1000 rw-p 0001f000 08:02 1152718    /usr/lib/libspeex.so.1.2.0
b7de1000-b7efc000 r-xp 00000000 08:02 1156453    /usr/lib/libcrypto.so.0.9.8
b7efc000-b7f02000 r--p 0011b000 08:02 1156453    /usr/lib/libcrypto.so.0.9.8
b7f02000-b7f11000 rw-p 00121000 08:02 1156453    /usr/lib/libcrypto.so.0.9.8
b7f11000-b7f14000 rw-p b7f11000 00:00 0
b7f14000-b7f4d000 r-xp 00000000 08:02 1156454    /usr/lib/libssl.so.0.9.8
b7f4d000-b7f51000 rw-p 00039000 08:02 1156454    /usr/lib/libssl.so.0.9.8
b7f51000-b7f6f000 r-xp 00000000 08:02 1154262    /usr/lib/libexpat.so.1.5.0
b7f6f000-b7f70000 r--p 0001d000 08:02 1154262    /usr/lib/libexpat.so.1.5.0
b7f70000-b7f72000 rw-p 0001e000 08:02 1154262    /usr/lib/libexpat.so.1.5.0
b7f89000-b7f8d000 rw-s 00000000 00:0e 5778       /dev/snd/pcmC0D0p
b7f8d000-b7f8e000 rw-s 81000000 00:0e 5778       /dev/snd/pcmC0D0p
b7f8e000-b7f8f000 r--s 80000000 00:0e 5778       /dev/snd/pcmC0D0p
b7f8f000-b7f93000 rw-s 00000000 00:0e 5782       /dev/snd/pcmC0D0c
b7f93000-b7f94000 rw-s 81000000 00:0e 5782       /dev/snd/pcmC0D0c
b7f94000-b7f95000 r--s 80000000 00:0e 5782       /dev/snd/pcmC0D0c
b7f95000-b7f98000 rw-p b7f95000 00:00 0
b7f98000-b7f99000 r-xp b7f98000 00:00 0          [vdso]
b7f99000-b7fb4000 r-xp 00000000 08:02 535404     /lib/ld-2.5.so
b7fb4000-b7fb6000 rw-p 0001a000 08:02 535404     /lib/ld-2.5.so
bfa40000-bfa55000 rw-p bfa40000 00:00 0          [stack]
hugh.jf.chen #26
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
me too.:-(
Just today,my friend upgraded his google talk to the newest version. and now I met the same problem when I tried to talk to him with the call example. Seems that libjingle not compatible with the latest google talk. and we can do nothing about that. too bad :-(

Now,I'm trying to call google talk with gizmo. let's see what will happen.
Avatar
elektrrrus #27
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Calling with gizmo to google talk doesn`t work...
Now, I`m use ekiga to talking via internet.
hugh.jf.chen #28
Member since 07/2007 · 9 posts
Group memberships: Members
Show profile · Link to this post
Hmm,did you try and sure that it doesn't work? I can't try because I met the login problem with gizmo.
Well,if it doesn't work,maybe it's time to dump google talk and embrace the TRUE open voip software,ekiga.

Meanwhile,I'm just wondering why google doesn't provide a linux version of google talk. From the technical
point of view,it shouldn't be so difficult for a business. Maybe that's their business strategy? If yes,what is
google's intention behind the scenes?

Anyway,I just learned from this experience that we can't rely on any business to provide true open solutions
to open source community.

Now I'm talking to my friends through ekiga.
Avatar
elektrrrus #29
Member since 07/2007 · 11 posts · Location: Koszalin/Poland
Group memberships: Members
Show profile · Link to this post
Yes, I try, it doesn`t work because gizmo uses standard sip technology to taking. Google plans in future porting googletalk on linux, as well as eg. google desktop search.
gibus92 #30
Member since 04/2007 · 6 posts · Location: Antony, France
Group memberships: Members
Show profile · Link to this post
OK, I was wrong : the compilation problem with psijingle repository is still here. My configure parameter " --with-glib-inc=/usr/include/glib-2.0/glib " had a wrong path to glib. Fixed with " --with-glib-inc=/usr/include/glib-2.0 " instead.

I believed that extra-qualification errors had been fixed, but compilation of jingle branch were deactivated. Hence i didn't see there errors, and I haven't tried psijingle with another buddy yet.

After extra-qualification patching, I am still stuck with jinglevoicecaller.cpp error.

As kopete needs ortp 0.7.1 I won't upgrade this lib...
This post was edited 2 times, last on 07-23-2007, 14:45 by gibus92.
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:  previous  1  2 
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-17-2008, 07:26:42 (UTC -04:00)