Bug 123779 - error creating ../kopete/protocols/jabber/kopete_jabber.la. Exit status 1
Summary: error creating ../kopete/protocols/jabber/kopete_jabber.la. Exit status 1
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: general (other bugs)
Version First Reported In: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-17 12:45 UTC by bauerfichtner
Modified: 2006-04-09 02:08 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bauerfichtner 2006-03-17 12:45:24 UTC
Version:            (using KDE KDE 3.5.1)
Installed from:    SuSE RPMs
Compiler:          gcc 4.0.2 
OS:                Linux

I did an svn checkout, configured the sources with "./configure --prefix=/opt/kde3 --enable-debug=full --without-xmms --enable-jingle --with-ilbc=/usr/local" and called "unsermake". This went through without any problems. But when I called "unsermake install", I got the following error. 


...
linking ../kopete/protocols/jabber/kopete_jabber.la
/bin/sh ../libtool --silent --mode=link --tag=CXX g++ -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -g3 -fno-inline -Wformat-security -Wmissing-format-attribute -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/libkopete -I../kopete/libkopete -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/libkopete/avdevice -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/libkopete/ui -I../kopete/libkopete/ui -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/libiris/iris/include -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/libiris/iris/xmpp-im -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/libiris/iris/jabber -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/libiris/qca/src -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/libiris/cutestuff/util -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/libiris/cutestuff/network -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/ui -I../kopete/protocols/jabber/./ui -I/opt/kde3/include -I/usr/lib/qt3/include -I/usr/X11R6/include -I/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/jingle -I../kopete/protocols/jabber/jingle -DQT_THREAD_SUPPORT -D_REENTRANT -D_FILE_OFFSET_BITS=64 -no-undefined -module -avoid-version -module -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined -R /opt/kde3/lib -R /opt/kde3/lib -R /usr/lib/qt3/lib -R /usr/X11R6/lib -L/opt/kde3/lib -L/usr/lib/qt3/lib -L/usr/X11R6/lib -o ../kopete/protocols/jabber/kopete_jabber.la -rpath /opt/kde3/lib/kde3 ../kopete/libkopete/libkopete.la ../kopete/protocols/jabber/ui/libkopetejabberui.la ../kopete/protocols/jabber/libiris/iris/include/libiris.la ../kopete/protocols/jabber/libiris/iris/jabber/libiris_jabber.la ../kopete/protocols/jabber/libiris/iris/xmpp-core/libiris_xmpp_core.la ../kopete/protocols/jabber/libiris/iris/xmpp-im/libiris_xmpp_im.la ../kopete/protocols/jabber/libiris/qca/src/libqca.la ../kopete/protocols/jabber/libiris/cutestuff/network/libcutestuff_network.la ../kopete/protocols/jabber/libiris/cutestuff/util/libcutestuff_util.la ../kopete/protocols/jabber/libjabberclient.la ../kopete/protocols/jabber/jingle/libkopetejabberjingle.la ../kopete/protocols/jabber/jabberprotocol.lo ../kopete/protocols/jabber/jabberaccount.lo ../kopete/protocols/jabber/jabberresource.lo ../kopete/protocols/jabber/jabberresourcepool.lo ../kopete/protocols/jabber/jabberbasecontact.lo ../kopete/protocols/jabber/jabbercontact.lo ../kopete/protocols/jabber/jabbergroupcontact.lo ../kopete/protocols/jabber/jabbergroupmembercontact.lo ../kopete/protocols/jabber/jabbercontactpool.lo ../kopete/protocols/jabber/jabberformtranslator.lo ../kopete/protocols/jabber/jabberformlineedit.lo ../kopete/protocols/jabber/jabberchatsession.lo ../kopete/protocols/jabber/jabbergroupchatmanager.lo ../kopete/protocols/jabber/jabberfiletransfer.lo ../kopete/protocols/jabber/jabbercapabilitiesmanager.lo ../kopete/protocols/jabber/jabbertransport.lo ../kopete/protocols/jabber/jabberbookmarks.lo
../kopete/protocols/jabber/jingle/.libs/libkopetejabberjingle.a(linphonemediaengine.o): In function `cricket::LinphoneMediaEngine::Init()':
/home/bauerfichtner/software/svn_checkouts/kopete_dev/kdenetwork/kopete/protocols/jabber/jingle/libjingle/talk/session/phone/linphonemediaengine.cc:148: undefined reference to `payload_type_ilbc'
collect2: ld returned 1 exit status
Error creating ../kopete/protocols/jabber/kopete_jabber.la. Exit status 1.
Comment 1 Matt Rogers 2006-03-17 14:31:55 UTC
I'll assume that you have ilbc installed. What does the configure output say about finding ilbc? 

I am also curious as to why things are being relinked on install, as that's not default behavior.
Comment 2 bauerfichtner 2006-03-17 16:09:57 UTC
This is what the configure output says about finding ilbc: 

checking iLBC_decode.h usability... yes
checking iLBC_decode.h presence... yes
checking for iLBC_decode.h... yes
checking for iLBC_decode in -lilbc... yes


If I call configure without "--enable-jingle" and without "--with-ilbc=/usr/local", everything works fine. 
Comment 3 bauerfichtner 2006-03-17 16:29:01 UTC
It also works fine if I compile without support for iLBC. So, if I configure the source with "./configure --prefix=/opt/kde3 --disable-debug --without-xmms --enable-jingle", everything works for me. 

The only annoying thing is the following message, which never appeared before, the jabber-plugin is compiled anyway, but this message is somewhat strange: 
"You're missing libidn or the libidn development package
Kopete's Jabber plugin will not be compiled.
If you want Jabber support in Kopete, You can download libidn from
http://www.gnu.org/software/libidn or find a binary package
for your platform." 
Comment 4 bauerfichtner 2006-03-31 11:57:08 UTC
Kopete does not compile when support for iLBC should be included. 

At the moment, I am using the latest svn (which is 524774). But compiling with support for iLBC did work in earlier versions. 

I hope this can be fixed somehow. Output from "make" can be provided, if required. 
Comment 5 Matt Rogers 2006-04-09 02:08:23 UTC
SVN commit 527643 by mattr:

disable ilbc. perhaps this is a bit of a cop-out, but i don't care.
BUG: 123779


 M  +1 -30     configure.in.in  


--- branches/kopete/0.12/kopete/protocols/jabber/jingle/configure.in.in #527642:527643
@@ -78,37 +78,8 @@
 # AC_SUBST(SPEEX_LIBS)
 # CPPFLAGS=$CPPFLAGS_save
 # LDFLAGS=$LDFLAGS_save
+ilbc_found="no"
 
-AC_ARG_WITH( ilbc,
-      [  --with-ilbc      Set prefix where ilbc headers and libs can be found (ex:/usr, /usr/local, none to disable ilbc support) [default=/usr] ],
-      [ ilbc_prefix=${withval}],[ ilbc_prefix="/usr" ])
-                                                                                                                                     
-if test "$ilbc_prefix" = "none" ; then
-        AC_MSG_NOTICE([iLBC codec support disabled. ])
-else
-        ILBC_CFLAGS=" -I${ilbc_prefix}/include/ilbc"
-        ILBC_LIBS="-L${ilbc_prefix}/lib -lilbc -lm"
-        CPPFLAGS_save=$CPPFLAGS
-        CPPFLAGS=$ILBC_CFLAGS
-        LDFLAGS_save=$LDFLAGS
-        LDFLAGS=$ILBC_LIBS
-        AC_CHECK_HEADERS(iLBC_decode.h,[AC_CHECK_LIB(ilbc,iLBC_decode,ilbc_found=yes,ilbc_found=no)
-        ],ilbc_found=no)
-                                                                                                                                     
-        CPPFLAGS=$CPPFLAGS_save
-        LDFLAGS=$LDFLAGS_save
-                                                                                                                                     
-        if test "$ilbc_found" = "no" ; then
-                AC_MSG_WARN([Could not find ilbc headers or libs. Please install ilbc package from http://www.linphone.org if you want iLBC codec support in Kopete Jabber plugin.])
-                ILBC_CFLAGS=
-                ILBC_LIBS=
-        else
-                AC_DEFINE(HAVE_ILBC,1,[Defined when we have ilbc codec lib])
-                AC_SUBST(ILBC_CFLAGS)
-                AC_SUBST(ILBC_LIBS)
-        fi
-fi
-
 AM_CONDITIONAL(include_jingle, test "$with_jingle" = "yes")
 
 if test "$with_jingle" = "yes" ; then