Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't compile kdemultimedia on AMD64
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
markusw
n00b
n00b


Joined: 31 Dec 2004
Posts: 17

PostPosted: Thu Jan 06, 2005 9:07 am    Post subject: Can't compile kdemultimedia on AMD64 Reply with quote

Hello all,

I get the following error when emerging the latest stable KDEmultimedia:
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g
++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.3/include -I/usr/qt/3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -
O2 -march=k8 -O2 -pipe -fweb -frename-registers -ftracer -fno-exceptions -fno-ch
eck-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_
COMPAT -DQT_NO_TRANSLATION -fpermissive -c -o cdromAccess.lo cdromAccess.cpp
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX x86_64-pc-linux-gnu-g
++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.3/include -I/usr/qt/3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -DNDEBUG -DNO_DEBUG -
O2 -march=k8 -O2 -pipe -fweb -frename-registers -ftracer -fno-exceptions -fno-ch
eck-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_
COMPAT -DQT_NO_TRANSLATION -fpermissive -c -o inputDetector.lo inputDetector.cpp
In file included from /usr/include/linux/compiler.h:62,
from /usr/include/asm/byteorder.h:7,
from /usr/include/linux/cdrom.h:14,
from cdromAccess_Linux.cpp:17,
from cdromAccess.cpp:33:
/usr/include/asm/system.h:245: error: expected `,' or `...' before "new"
/usr/include/asm/system.h: In function `long unsigned int __cmpxchg(volatile voi
d*, long unsigned int, long unsigned int)':
/usr/include/asm/system.h:248: error: `size' undeclared (first use this function
)
/usr/include/asm/system.h:248: error: (Each undeclared identifier is reported on
ly once for each function it appears in.)
/usr/include/asm/system.h:252: error: expected identifier before ')' token
/usr/include/asm/system.h:258: error: expected identifier before ')' token
/usr/include/asm/system.h:264: error: expected identifier before ')' token
/usr/include/asm/system.h:270: error: expected identifier before ')' token
make[4]: *** [cdromAccess.lo] Error 1
make[4]: *** Waiting for unfinished jobs....
make[4]: Leaving directory `/var/tmp/portage/kdemultimedia-3.3.2/work/kdemultimedia-3.3.2/mpeglib/lib/input'

I know sfa about c++, but I've looked at line 245 in system.h and I'm guessing the compiler is treating the variable 'new' as a keyword?

Has anyone go any idea what might be the problem here?

Thanks in advance...
Back to top
View user's profile Send private message
dencar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 108
Location: Noosa, Australia

PostPosted: Thu Jan 06, 2005 11:04 am    Post subject: Can't compile kdemultimedia on AMD64 Reply with quote

Identical problem here.
_________________
dencar
Back to top
View user's profile Send private message
markusw
n00b
n00b


Joined: 31 Dec 2004
Posts: 17

PostPosted: Thu Jan 06, 2005 11:23 am    Post subject: Reply with quote

Same error in system.h when I emerge k3b.
Back to top
View user's profile Send private message
dencar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 108
Location: Noosa, Australia

PostPosted: Thu Jan 06, 2005 11:26 am    Post subject: Reply with quote

Further to the above, check these links:

https://forums.gentoo.org/viewtopic.php?t=272038&highlight=error+kdemultimedia

https://forums.gentoo.org/viewtopic.php?t=272038&highlight=kdemultimedia+error&sid=ed42781715fcbcafbb90466c42acea9c

I'll try these suggestions when I get time. HTH. Regards.
_________________
dencar
Back to top
View user's profile Send private message
taurus
l33t
l33t


Joined: 21 Sep 2004
Posts: 657
Location: I need to be somewhere...

PostPosted: Thu Jan 06, 2005 3:08 pm    Post subject: Reply with quote

Another suggestion is

emerge taglib
(again)

taurus
Back to top
View user's profile Send private message
markusw
n00b
n00b


Joined: 31 Dec 2004
Posts: 17

PostPosted: Thu Jan 06, 2005 7:30 pm    Post subject: Reply with quote

I had seen the suggestion re kernel headers, but our problem is with system.h rather than types.h as in the other link. Also, being a new to all this, I thought the kernel-headers would need to match the kernel you are running? I guess not.

Emerge taglib made no difference.

Another point to note is that if I emerge arts, then I get a different error at a different place in the source.

Finally, I get the same errors when emerging k3b.

Regards...
Back to top
View user's profile Send private message
dencar
Tux's lil' helper
Tux's lil' helper


Joined: 23 Dec 2003
Posts: 108
Location: Noosa, Australia

PostPosted: Fri Jan 07, 2005 8:28 am    Post subject: Reply with quote

The latest linux26-headers-2.6.8.1-r2, followed by 'emerge glibc' solves this and a number of other compile issues. Have fun.
_________________
dencar
Back to top
View user's profile Send private message
markusw
n00b
n00b


Joined: 31 Dec 2004
Posts: 17

PostPosted: Sun Jan 09, 2005 10:47 am    Post subject: Reply with quote

Thanks mate.

I've given up on 64-bit for the time being. I'll run a standard 32-bit x86 gentoo on this box and try again in 6 months when I think I might have more time to futz with it.

Cheers!
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Fri Jan 14, 2005 6:12 am    Post subject: Reply with quote

dencar wrote:
The latest linux26-headers-2.6.8.1-r2, followed by 'emerge glibc' solves this and a number of other compile issues. Have fun.


I'm still a bit new to Linux. how do i "install" linux headers?

i am having a similar problem. so far, all the fixes i attempted have not worked.
Back to top
View user's profile Send private message
Sheepdogj15
Guru
Guru


Joined: 07 Jan 2005
Posts: 430
Location: Backyard

PostPosted: Fri Jan 14, 2005 10:29 am    Post subject: Reply with quote

actually nevermind. i emerged all of world with the "arts" USE flag, and when i emerged multilib this time, it installed without problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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