[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: [Kopete-devel] error while compiling oscar protocol plugin
From:       Nick Brown <nicbrown () cisco ! com>
Date:       2003-09-13 23:36:23
[Download RAW message or body]

Here is first libtool command that failed in the log file with the
--silent removed. Does it help any in identifying the cause of the
problem?

thanks,
Nick

[kdedevel@localhost libkopete]$ /bin/sh ../../libtool --mode=link
--tag=CXX g++  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic
-W -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500
-D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin
-g -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions
-fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
-DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkopete.la -rpath
/home/kdedevel/kdecvs/install/lib -no-undefined -Wl,--no-undefined
-Wl,--allow-shlib-undefined -version-info 1:0:0 -L/usr/X11R6/lib
-L/home/kdedevel/kdecvs/install/lib  kopeteonlinestatus.lo
kopeteprotocol.lo kopetecontact.lo kopetepluginmanager.lo
kopeteplugin.lo kopetemessage.lo kopetemessagemanager.lo
kopetemessagemanagerfactory.lo kopetecontactlist.lo kopetemetacontact.lo
kopeteaway.lo kopeteawaydialog.lo kopetetransfermanager.lo
kopetegroup.lo kopeteaccountmanager.lo kopeteaccount.lo
kopeteplugindataobject.lo kopetecommandhandler.lo kopetenotifyclient.lo
ui/libkopeteui.la  -lkio -lXss
g++ -shared -nostdlib
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../crti.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/crtbeginS.o 
.libs/kopeteonlinestatus.o .libs/kopeteprotocol.o .libs/kopetecontact.o
.libs/kopetepluginmanager.o .libs/kopeteplugin.o .libs/kopetemessage.o
.libs/kopetemessagemanager.o .libs/kopetemessagemanagerfactory.o
.libs/kopetecontactlist.o .libs/kopetemetacontact.o .libs/kopeteaway.o
.libs/kopeteawaydialog.o .libs/kopetetransfermanager.o
.libs/kopetegroup.o .libs/kopeteaccountmanager.o .libs/kopeteaccount.o
.libs/kopeteplugindataobject.o .libs/kopetecommandhandler.o
.libs/kopetenotifyclient.o -Wl,--whole-archive ui/.libs/libkopeteui.a
-Wl,--no-whole-archive  -Wl,--rpath
-Wl,/home/kdedevel/kdecvs/install/lib -Wl,--rpath -Wl,/usr/X11R6/lib
-L/usr/X11R6/lib -L/home/kdedevel/kdecvs/install/lib -L/usr/lib
/home/kdedevel/kdecvs/install/lib/libkhtml.so /usr/lib/libjpeg.so
/home/kdedevel/kdecvs/install/lib/libkjs.so /usr/lib/libpcreposix.so
/usr/lib/libpcre.so /home/kdedevel/kdecvs/install/lib/libkdeprint.so
/home/kdedevel/kdecvs/install/lib/libkparts.so
/home/kdedevel/kdecvs/install/lib/libkutils.so
/home/kdedevel/kdecvs/install/lib/libkwalletclient.so
/usr/lib/libxslt.so /usr/lib/libxml2.so
/home/kdedevel/kdecvs/install/lib/libkio.so
/home/kdedevel/kdecvs/install/lib/libkdeui.so
/home/kdedevel/kdecvs/install/lib/libkdesu.so
/home/kdedevel/kdecvs/install/lib/libkdecore.so
/home/kdedevel/kdecvs/install/lib/libDCOP.so -ldl -lresolv
/usr/lib/libart_lgpl_2.so /home/kdedevel/kdecvs/install/lib/libkdefx.so
-lqt-mt -lpng -lXext -lX11 -lSM -lICE -lpthread -lXrender -lutil -lz
-lXss -L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2
-L/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../.. -lstdc++ -lm
-lc -lgcc_s /usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/crtendS.o
/usr/lib/gcc-lib/i586-mandrake-linux-gnu/3.2.2/../../../crtn.o 
-Wl,--no-undefined -Wl,--allow-shlib-undefined  -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith
-Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align
-Wconversion -Wchar-subscripts -fno-builtin -g -O2 -Wformat-security
-Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
-DQT_NO_TRANSLATION -Wl,-soname -Wl,libkopete.so.1 -o
.libs/libkopete.so.1.0.0
.libs/kopeteawaydialog.o(.text+0x26): In function
`KopeteAwayDialog::KopeteAwayDialog[not-in-charge](QWidget*, char
const*)':
/home/kdedevel/kdecvs/install/include/qshared.h:50: undefined reference
to `KopeteAwayBase::KopeteAwayBase[not-in-charge](QWidget*, char const*,
bool, unsigned)'
.libs/kopeteawaydialog.o(.text+0x156): In function
`KopeteAwayDialog::KopeteAwayDialog[in-charge](QWidget*, char const*)':
/home/kdedevel/kdecvs/build/kdenetwork/kopete/libkopete/../../../../source/kdenetwork/kopete/libkopete/kopeteawaydialog.cpp:29: \
undefined reference to `KopeteAwayBase::KopeteAwayBase[not-in-charge](QWidget*, char \
const*, bool, unsigned)' <snip>


On Sun, 2003-09-14 at 00:18, Nick Brown wrote:
> OK, so I lied. I hadn't finished compiling all of kdenetwork, and in
> fact there are other very similar failures throughout the package.
> (kopete, krdc, ksirc, knewsticker etc)
> I've attached the make.log showing only these errors.
> Something seem broken across kdenetwork, as
> kdelibs,kdebase,kdepim,kdegraphics,kdeutils,kdegames all compile and
> work just fine.
> I'll post soon with a log of all these libtool errors with the --silent
> removed.
> 
> thanks,
> Nick
> 
> On Sat, 2003-09-13 at 15:49, Nick Brown wrote:
> > I removed oscar from SUDIRS in protocols/Makefile.am and rebuilt, but
> > now I'm seeing errors with MSN, as seen below. (And if I do a make -k ,
> > I see it for the other protocols too.) It would appear to be wider
> > problem in kopete. The rest of kdenetworks compiles just fine.
> > I'll need to read/learn about makefile magic before I can start a
> > meaningful investigation into the cause. Any ideas?
> > 
> > thanks,
> > Nick
> > 
> > 
> > /bin/sh ../../../libtool --silent --mode=link --tag=CXX g++ 
> > -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> > -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> > -Wcast-align -Wconversion -Wchar-subscripts -fno-builtin -g -O2
> > -Wformat-security -Wmissing-format-attribute -fno-exceptions
> > -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> > -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION    -o libkopete_msn.la
> > -rpath /home/kdedevel/kdecvs/install/lib -version-info 0:0:0
> > -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined
> > -L/usr/X11R6/lib -L/home/kdedevel/kdecvs/install/lib  msnprotocol.lo
> > msnaccount.lo msnaddcontactpage.lo msncontact.lo msnsocket.lo
> > msnauthsocket.lo msndispatchsocket.lo msnmessagemanager.lo
> > msndebugrawcmddlg.lo msnnotifysocket.lo msnswitchboardsocket.lo
> > msnfiletransfersocket.lo msninvitation.lo msnp2p.lo sha1.lo
> > ./ui/libkopetemsnui.la ../../libkopete/libkopete.la -lkio
> > .libs/msnaddcontactpage.o(.text+0x8f): In function
> > `MSNAddContactPage::MSNAddContactPage[not-in-charge](bool, QWidget*,
> > char const*)':
> > /home/kdedevel/kdecvs/build/kdenetwork/kopete/protocols/msn/../../../../../source/kdenetwork/kopete/protocols/msn/msnaddcontactpage.cpp:18: \
> > undefined reference to `msnAddUI::msnAddUI[in-charge](QWidget*, char const*, \
> >                 unsigned)'
> > .libs/msnaddcontactpage.o(.text+0x1ff): In function
> > `MSNAddContactPage::MSNAddContactPage[in-charge](bool, QWidget*, char
> > const*)':
> > /home/kdedevel/kdecvs/build/kdenetwork/kopete/protocols/msn/../../../../../source/kdenetwork/kopete/protocols/msn/msnaddcontactpage.cpp:18: \
> > undefined reference to `msnAddUI::msnAddUI[in-charge](QWidget*, char const*, \
> >                 unsigned)'
> > .libs/msncontact.o(.text+0xce9): In function
> > `MSNContact::slotUserInfo()':
> > /home/kdedevel/kdecvs/build/kdenetwork/kopete/protocols/msn/../../../../../source/kdenetwork/kopete/protocols/msn/msncontact.cpp:132: \
> > undefined reference to `MSNInfo::MSNInfo[in-charge](QWidget*, char const*, \
> > unsigned)' 
> > 
> > 
> > On Sat, 2003-09-13 at 15:29, Martijn Klingens wrote:
> > > On Saturday 13 September 2003 16:27, Nick Brown wrote:
> > > > Its certainly not supported by trolltech, but other than the problem
> > > > with the examples it seems to be working just fine with the KDE CVS
> > > > build I did. Attached is the email to qt-bugs outlining the problem, and
> > > > their response. I hope that in the future Trolltech will test and
> > > > support this method ob building Qt, once they fix the problems with the
> > > > examples. My success using with KDE should hopefully encourage them. :-)
> > > 
> > > Did you also try to remove Oscar from the Makefile to isolate whether it's 
> > > oscar or more of Kopete?

 
> > Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic