Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kdemultimedia and addons compile error on gcc 3.2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
voidzero
Bodhisattva
Bodhisattva


Joined: 21 Jul 2002
Posts: 265
Location: Grnn

PostPosted: Wed Aug 28, 2002 6:03 am    Post subject: kdemultimedia and addons compile error on gcc 3.2 Reply with quote

I'm getting two compile errors when emerging kdemultimedia and kdeaddons to compile with gcc 3.2. These are my CFLAGS and CXXFLAGS:
Quote:
HOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fforce-addr -fomit-frame-pointer -Wno-deprecated"


kdemultimedia
Quote:
/bin/install -c -p -m 644 ./drums /var/tmp/portage/kdemultimedia-3.0.3/image//usr/kde/3/share/apps/kmidi/config
if [ ! -f "/usr/kde/3/share/apps/kmidi/config/tclIndex" -a -f "/usr/kde/3/share/apps/kmidi/config/misc.tcl" ] ; then \
(cd /var/tmp/portage/kdemultimedia-3.0.3/image///usr/kde/3/share/apps/kmidi/config; sed -e s@%TCL_DIR%@/usr/kde/3/share/apps/kmidi/config@g ./tkmidity.ptcl > tkmidity.tcl ) ; \
(cd /var/tmp/portage/kdemultimedia-3.0.3/image///usr/kde/3/share/apps/kmidi/config; echo 'auto_mkindex . *.tcl; exit' | tclsh ) ; \
fi
sed: can't read ./tkmidity.ptcl: No such file or directory
/bin/sh: tclsh: command not found
make[4]: *** [install-data-local] Error 127
make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/kmidi/config'
make[3]: *** [install-am] Error 2
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/kmidi/config'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/kmidi/config'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.0.3/work/kdemultimedia-3.0.3/kmidi'
make: *** [install-recursive] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_install, Line -6629, Exitcode 2
!!! died running make install, kde_src_install:make

 ...done!
>>> emerge kde-base/kdemultimedia-3.0.3 to /
>>> md5 ;-) kdemultimedia-3.0.3.tar.bz2
!!! emerge aborting on /usr/portage/kde-base/kdemultimedia/kdemultimedia-3.0.3.ebuild .


Here's a biiiiiiiiiiiig error, I only copied the last few lines:
kdeaddons
Quote:
(...)

/usr/kde/3/lib/libnoatun.so: undefined reference to `KConfigBase::writeEntry(char const *, QStringList const &, char, bool, bool, bool)'
/usr/kde/3/lib/libnoatun.so: undefined reference to `QWidget::closeEvent(QCloseEvent *)'
/usr/kde/3/lib/libnoatun.so: undefined reference to `QDataStream::~QDataStream(void)'
/usr/kde/3/lib/libnoatun.so: undefined reference to `KListView::setRenameable(int, bool)'
/usr/kde/3/lib/libnoatun.so: undefined reference to `QWidget::paintEvent(QPaintEvent *)'
/usr/kde/3/lib/libnoatun.so: undefined reference to `QScrollView::mouseReleaseEvent(QMouseEvent *)'
/usr/kde/3/lib/libartsmodules.so.0: undefined reference to `Arts::Dispatcher::waitForResult(long, Arts::Connection *)'
/usr/kde/3/lib/libnoatun.so: undefined reference to `KDialog::marginHint(void)'
collect2: ld returned 1 exit status
make[3]: *** [noatunwakeup.la.closure] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdeaddons-3.0.3/work/kdeaddons-3.0.3/noatun-plugins/alarm'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdeaddons-3.0.3/work/kdeaddons-3.0.3/noatun-plugins'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdeaddons-3.0.3/work/kdeaddons-3.0.3'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function kde_src_compile, Line -7411, Exitcode 2
!!! died running emake, kde_src_compile:make

 ...done!
>>> emerge kde-base/kdeaddons-3.0.3 to /
>>> md5 ;-) kdeaddons-3.0.3.tar.bz2
!!! emerge aborting on /usr/portage/kde-base/kdeaddons/kdeaddons-3.0.3.ebuild .
Quote:
Back to top
View user's profile Send private message
Zu`
l33t
l33t


Joined: 26 May 2002
Posts: 716
Location: BE

PostPosted: Thu Aug 29, 2002 12:31 pm    Post subject: Reply with quote

Try removing the -fomit-frame-pointer

I know that it has to be removed with GCC2.9.x when building kde-multimedia.
I have no experience with GCC3.x but this could aswell be the problem.

I'd try with:
Code:

HOST="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CXXFLAGS="-march=athlon-xp -O3 -pipe"

and see if it builds (most likely it will).
Back to top
View user's profile Send private message
voidzero
Bodhisattva
Bodhisattva


Joined: 21 Jul 2002
Posts: 265
Location: Grnn

PostPosted: Thu Aug 29, 2002 3:35 pm    Post subject: Reply with quote

Nope, I found this out: it's got to do with a reference to something called libstdc++-libc6.2-2.so.3 ... what is it and where can i find it?

Mark
Back to top
View user's profile Send private message
chromeless
n00b
n00b


Joined: 20 Jun 2002
Posts: 7

PostPosted: Fri Aug 30, 2002 3:01 pm    Post subject: How do you upgrade to gcc-3.2 without reinstalling anyway ?? Reply with quote

Does anybody actually know how to upgrade from gcc-3.1.1 to gcc-3.2 **without** a reinstall ?? Don't tell me we have to reinstall our box everytime a new gcc version comes out ???
_________________
Too few options tend towards ubiquity, too much options tend towards obscurity
Back to top
View user's profile Send private message
jrollins
n00b
n00b


Joined: 16 Aug 2002
Posts: 33
Location: Colorado

PostPosted: Fri Aug 30, 2002 10:23 pm    Post subject: Reply with quote

Well, gcc IS the complier, so by that very definition, yes, a reinstall is required if you want to upgrade compilers (and actually get a benefit from it).
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum