This forum has been archived. All content is frozen. Please use KDE Discuss instead.

compilation error

Tags: None
(comma "," separated)
macolu
Karma
0

compilation error

Mon Aug 09, 2004 8:02 pm
Hi everybody !

I got this error when I compile amarok :

/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -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 -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -o amarokapp -L/usr/X11R6/lib -L/opt/kde/lib -R /opt/kde/lib -R /opt/kde/lib -R /usr/X11R6/lib actionclasses.o amarokfilelist.o app.o browserbar.o collectionbrowser.o collectiondb.o configdialog.o contextbrowser.o coverfetcher.o covermanager.o directorylist.o effectwidget.o enginecontroller.o engineobserver.o fht.o filebrowser.o kbookmarkhandler.o metabundle.o musicbrainzquery.o osd.o playerwindow.o playlist.o playlistbrowser.o playlistitem.o playlistloader.o playlistwindow.o pluginmanager.o scriptmanager.o scriptmanager_selector.o searchbrowser.o sliderwidget.o socketserver.o statusbar.o streamprovider.o systray.o tagdialog.o threadweaver.o tracktooltip.o welcomebrowser.o Options1.o Options2.o Options3.o Options4.o Options5.o amazonsearch.o directorylistbase.o scriptmanagerbase.o tagdialogbase.o ../../amarok/src/amarokcore/libamarokcore.la ../../amarok/src/analyzers/libanalyzers.la ../../amarok/src/engine/libengine.la../../amarok/src/plugin/libplugin.la -lkutils -lkio -lkdeui -lkdecore -lkhtml -L/usr/lib -ltag -lGL ../../amarok/src/sqlite/libsqlite.la -lmusicbrainz -lstdc++ -lm -lm -L/usr/X11R6/lib -L/opt/kde/lib
Options5.o(.text+0x19c): In function `Options5::fontChanged(QFont const&)':
: undefined reference to `OSDWidget::setFont(QFont)'
Options5.o(.text+0x332): In function `Options5::showEvent(QShowEvent*)':
: undefined reference to `OSDWidget::setFont(QFont)'
Options5.o(.text+0x35a): In function `Options5::showEvent(QShowEvent*)':
: undefined reference to `OSDWidget::setScreen(unsigned)'
Options5.o(.text+0x211): In function `Options5::screenChanged(int)':
: undefined reference to `OSDWidget::setScreen(unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [amarokapp] Erreur 1
make[2]: quittant le répertoire « /usr/src/kde/anonymous_HEAD/kdeextragear-1/amarok/src »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /usr/src/kde/anonymous_HEAD/kdeextragear-1/amarok/src »
make: *** [all-recursive] Erreur 1
macolu:/usr/src/kde/anonymous_HEAD/kdeextragear-1/amarok#


I'm using gcc 3.3.4 and kde 3.3.0 rc1 (or something like that).

Does anybody know where it could come from ? Qt and kdelibs seem up to date (cvs from a few hours)...

Thanks a lot !
User avatar
Max Howell
Alumni
Posts
195
Karma
0

Re:compilation error

Mon Aug 09, 2004 11:04 pm
amaroK version?
macolu
Karma
0

Re:compilation error

Wed Aug 11, 2004 2:38 am
Thanks for your help. It was a fresh CVS HEAD checkout.

I tried with 1.0.2 tarball, I got another error :

/bin/sh ../../../../libtool --silent --mode=link --tag=CXX g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -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 amarok_xmmswrapper -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxmms -L/usr/lib -L/usr/X11R6/lib -lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -R /opt/kde/lib -R /opt/kde/lib -R /usr/X11R6/lib -L/usr/X11R6/lib -L/opt/kde/lib xmmswrapper.o -lqt-mt -lz -lpng -lz -lm -lXext -lX11 -lSM -lICE -lpthread -lkdecore
/opt/kde/lib/libkdecore.so: undefined reference to `qt_x_user_time'
collect2: ld returned 1 exit status
make[5]: *** [amarok_xmmswrapper] Erreur 1
make[5]: quittant le répertoire « /root/Desktop/amarok-1.0.2/amarok/src/vis/xmmswrapper »
User avatar
Max Howell
Alumni
Posts
195
Karma
0

Re:compilation error

Wed Aug 11, 2004 10:35 am
Both your errors are very strange and are linking errors. To me it looks like an external problem on your system. Can you compile other applications or KDE applications successfully?
macolu
Registered Member
Posts
5
Karma
0

Re:compilation error

Wed Aug 11, 2004 7:22 pm
I compile most of the official kde modules once a week without major problem...
I'm gonna try some third party apps...
Thomas
Karma
0

Re:compilation error

Fri Aug 13, 2004 8:02 pm
me too.
since somwhere in the cvs i get different linker errors. (i can in a way differ them by changing the compiler version and switching --enable-final)
but don't ask me why - never had strange things like this before (currently they appear in the arts library)
usually i've no problems to compile stuff - i guess there's a dependancy problem in the makefile.am?


Bookmarks



Who is online

Registered users: Bing [Bot], gfielding, Google [Bot], markhm, Sogou [Bot], Yahoo [Bot]