Not logged in. · Lost password · Register
Forum: Community Jingle Discussion RSS
compile error

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  3  next 
manu #1
Member since 12/2005 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: compile error
I get the following error while trying to compile psi-jingle on slackware 10.2
speex - 1.1.11.1
ortp - 0.8.0
expat-1.95.8
linphone-1.2.0
---------------------------------------------------------------------------------------------------------------------------
./configure --enable-jingle found all libraries

Configuring Psi ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for Qt >= 3.1 ... yes
Checking for QCA 1.0 ... yes
Checking for zlib ... yes
Checking for Growl ... no
Checking for the XScreenSaver extension ... yes
Checking for Linux Directory Notification ... yes
Checking for gethostbyname_r() ... yes
Checking for Jingle ... yes
Writing configuration ... yes

----------------------------------------------------------------------------

talk/session/phone/voicechannel.cc:303: warning: unused parameter 'monitor'
g++ -c -pipe -Wall -W -g  -DHAVE_XSS -DHAVE_DNOTIFY -DHAVE_GETHOSTBYNAME_R -DHAV
E_SPEEX -DHAVE_ORTP -DHAVE_LINPHONE -DHAVE_ALSA_ASOUNDLIB_H -D__ALSA_ENABLED__ -
DHAVE_GLIB -DHAVE_CONFIG -DPOSIX -D__ALSA_ENABLED__ -DHAVE_ALSA_ASOUNDLIB_H -DQT
_SHARED -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt/mkspecs/default -I. -I/u
sr/local/include/speex -I/usr/local/include -I/usr/include/glib-2.0 -I/usr/lib/g
lib-2.0/include -I. -Italk/third_party/mediastreamer -I/usr/lib/qt/include -o .o
bj/linphonemediaengine.o talk/session/phone/linphonemediaengine.cc
In file included from ./talk/session/phone/linphonemediaengine.h:28,
                 from talk/session/phone/linphonemediaengine.cc:35:
./talk/session/phone/mediaengine.h:40: warning: `class cricket::MediaEngine' has
 virtual functions but non-virtual destructor
In file included from talk/session/phone/linphonemediaengine.cc:35:
./talk/session/phone/linphonemediaengine.h:57: warning: `class cricket::Linphone
MediaEngine' has virtual functions but non-virtual destructor
talk/session/phone/linphonemediaengine.cc: In function `void* thread_function(vo
id*)':
talk/session/phone/linphonemediaengine.cc:50: warning: control reaches end of no
n-void function
talk/session/phone/linphonemediaengine.cc: In member function `virtual float cri
cket::LinphoneMediaChannel::GetCurrentQuality()':
./talk/session/phone/linphonemediaengine.h:57: warning: `class cricket::LinphoneMediaEngine' has virtual functions but non-virtual destructor
talk/session/phone/linphonemediaengine.cc: In function `void* thread_function(void*)':
talk/session/phone/linphonemediaengine.cc:50: warning: control reaches end of non-void function
talk/session/phone/linphonemediaengine.cc: In member function `virtual float cricket::LinphoneMediaChannel::GetCurrentQuality()':
talk/session/phone/linphonemediaengine.cc:121: warning: control reaches end of non-void function
talk/session/phone/linphonemediaengine.cc: In member function `virtual int cricket::LinphoneMediaChannel::GetOutputLevel()':
talk/session/phone/linphonemediaengine.cc:122: warning: control reaches end of non-void function
talk/session/phone/linphonemediaengine.cc: At global scope:
talk/session/phone/linphonemediaengine.cc:130: warning: unused parameter 'log_domain'
talk/session/phone/linphonemediaengine.cc:130: warning: unused parameter 'log_level'
talk/session/phone/linphonemediaengine.cc:130: warning: unused parameter 'message'
talk/session/phone/linphonemediaengine.cc:130: warning: unused parameter 'user_data'
talk/session/phone/linphonemediaengine.cc: In member function `virtual bool cricket::LinphoneMediaEngine::Init()':
talk/session/phone/linphonemediaengine.cc:142: error: `speex_wb' undeclared (first use this function)
talk/session/phone/linphonemediaengine.cc:142: error: (Each undeclared identifier is reported only once for each function it appears in.)
talk/session/phone/linphonemediaengine.cc:152: error: `pcmu8000' undeclared (first use this function)
talk/session/phone/linphonemediaengine.cc: At global scope:
talk/session/phone/linphonemediaengine.cc:166: warning: unused parameter 'options'
talk/session/phone/linphonemediaengine.cc:167: warning: unused parameter 'wave_in_device'
talk/session/phone/linphonemediaengine.cc:167: warning: unused parameter 'wave_out_device'
make[1]: *** [.obj/linphonemediaengine.o] Error 1
make[1]: Leaving directory `/data/soft/src/cvs/psi-jingle/third-party/libjingle'
make: *** [sub-third-party-libjingle] Error 2
zsh: exit 2     make
Mastah #2
Member since 11/2005 · 41 posts
Group memberships: Members
Show profile · Link to this post
Make sure you have the correct version of the dependencies (I think a older version ortp0 may here be the case)
manu #3
Member since 12/2005 · 3 posts
Group memberships: Members
Show profile · Link to this post
Quote by Mastah:
Make sure you have the correct version of the dependencies (I think a older version ortp0 may here be the case)

The wiki tells to get the latest packages of ortp and speex. I had the same issue with ortp 0.7.1
Avatar
spike (Administrator) #4
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by manu:
The wiki tells to get the latest packages of ortp and speex. I had the same issue with ortp 0.7.1
Looking at the ortp source, i would say that ortp 0.7.1 is the one you need. Are you sure it's not conflicting with another ORTP installation ?
- Remko
manu #5
Member since 12/2005 · 3 posts
Group memberships: Members
Show profile · Link to this post
Subject: fixed
Yes...downgrading to ortp-0.7.1 did help.I had installed linphone and that was causing the conflict.
Psi - Google Talk and vice versa works.
kb_ganesh #6
Member since 01/2006 · 14 posts
Group memberships: Members
Show profile · Link to this post
Subject: alsa includes not found?!?
i tried compiling psi-jingle and i get this error as a result of which jingle support is not getting added...

./configure --enable-jingle
Configuring Psi ...
Verifying Qt 3.x Multithreaded (MT) build environment ... ok
Checking for Qt >= 3.1 ... yes
Checking for QCA 1.0 ... yes
Checking for zlib ... yes
Checking for Growl ... no
Checking for the XScreenSaver extension ... yes
Checking for Linux Directory Notification ... yes
Checking for gethostbyname_r() ... yes
Checking for Jingle ...Alsa includes not found!
 no
Writing configuration ... yes

Good, your configure finished.  Now run 'make'.

whats the problem? i have alsa installed..(alsa-base 1.0.8-4)...and i am running ubuntu 5.04 amd64...if someone can help me out, i would be very thankful :)
Avatar
michalj (Moderator) #7
Member since 04/2004 · 2174 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
But do You have something like alsa-devel installed?
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
kb_ganesh #8
Member since 01/2006 · 14 posts
Group memberships: Members
Show profile · Link to this post
i couldnt find a package whose name goes like alsa-devel in my synaptic package list...i only found libclalsadrv-dev which is described as "ALSA driver C++ access library. This package includes the development tools."...is this the one i need to install?

EDIT(10 mins later):
i tried installing the package i have mentioned before but to no avail...still get the same "error" if i can call it so...
This post was edited on 01-20-2006, 12:03 by kb_ganesh.
Avatar
michalj (Moderator) #9
Member since 04/2004 · 2174 posts · Location: Legionowo, Poland
Group memberships: Global Moderators, Members
Show profile · Link to this post
After a short rethought, ALSA is now a part of Linux kernel... maybe You need kernel sources? :unsure:
Michał Jazłowiecki (michalj)
Psi Forum & Wiki Moderator :: Psi-Daisy Author
Avatar
spike (Administrator) #10
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by michalj:
After a short rethought, ALSA is now a part of Linux kernel... maybe You need kernel sources? :unsure:
That's the alsa drivers, not the alsa library + headers.
- Remko
mikma #11
Member since 01/2006 · 5 posts
Group memberships: Members
Show profile · Link to this post
The ALSA library development package is called libasound2-dev in Debian and I think in Ubuntu as well.
kb_ganesh #12
Member since 01/2006 · 14 posts
Group memberships: Members
Show profile · Link to this post
Quote by mikma on 01-21-2006, 05:42:
The ALSA library development package is called libasound2-dev in Debian and I think in Ubuntu as well.

cool!! that was great!! it worked!! now i need to get my mic working to test it...i guess there is some bug in unb as a result of which i dint get an email about the last post though i had signed up for notification...anyways, thanks again mikma!! :)
kb_ganesh #13
Member since 01/2006 · 14 posts
Group memberships: Members
Show profile · Link to this post
Well, compling went off well...and even make was going good for atleast 2-3 mins till this came up...

...............
ui_about.o .obj/moc_ui_passphrase.o .obj/moc_ui_sslcert.o .obj/moc_ui_voicecall.o .obj/moc_ui_disco.o .obj/moc_ui_tip.o .obj/moc_ui_filetrans.o .obj/moc_ui_options.o .obj/moc_opt_application-ui.o .obj/moc_opt_chat-ui.o .obj/moc_opt_events-ui.o .obj/moc_opt_status-ui.o .obj/moc_opt_appearance-ui.o .obj/moc_opt_appearance_misc-ui.o .obj/moc_opt_sound-ui.o .obj/moc_opt_advanced-ui.o .obj/moc_opt_lookfeel_toolbars.o .obj/moc_ui_positiontoolbar.o .obj/moc_ui_isdetails.o .obj/moc_opt_iconset_emo.o .obj/moc_opt_iconset_system.o .obj/moc_opt_iconset_roster.o .obj/moc_opt_general_groupchat.o   -L/usr/share/qt3/lib -L/usr/X11R6/lib -lqca -lz -lexpat -lspeex -lortp -lasound -lglib-2.0 -lgmodule ../third-party/libjingle/liblibjingle.a -lqt-mt -lXext -lX11 -lm -lpthread
/usr/bin/ld: cannot find -lgmodule
collect2: ld returned 1 exit status
make[1]: *** [psi] Error 1
make[1]: Leaving directory `/home/kbg/tries/psi-jingle-9999/src'
make: *** [sub-src] Error 2

any idea anyone as to where what is going wrong?
Avatar
spike (Administrator) #14
Member since 02/2003 · 1873 posts · Location: Leuven (Belgium)
Group memberships: Administrators, Developers, Members
Show profile · Link to this post
Quote by kb_ganesh:
Well, compling went off well...and even make was going good for atleast 2-3 mins till this came up...
When did you last do a configure ? That looks like a problem i fixed a long time ago.
- Remko
kb_ganesh #15
Member since 01/2006 · 14 posts
Group memberships: Members
Show profile · Link to this post
i compiled and immediately did make...within seconds of each other..i am using psi-jingle-9999.tar.bz2 that i got from http://distfiles.xapek.dyndns.org/  ..or is there a newer version out?
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  3  next 
Go to forum
Unclassified NewsBoard devel of 20051113 © 2003-5 by Yves Goergen
Current time: 05-17-2008, 11:41:48 (UTC -04:00)