View previous topic :: View next topic |
Author |
Message |
markusw n00b
Joined: 31 Dec 2004 Posts: 17
|
Posted: Thu Jan 06, 2005 9:07 am Post subject: Can't compile kdemultimedia on AMD64 |
|
|
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 |
|
|
dencar Tux's lil' helper
Joined: 23 Dec 2003 Posts: 108 Location: Noosa, Australia
|
Posted: Thu Jan 06, 2005 11:04 am Post subject: Can't compile kdemultimedia on AMD64 |
|
|
Identical problem here. _________________ dencar |
|
Back to top |
|
|
markusw n00b
Joined: 31 Dec 2004 Posts: 17
|
Posted: Thu Jan 06, 2005 11:23 am Post subject: |
|
|
Same error in system.h when I emerge k3b. |
|
Back to top |
|
|
dencar Tux's lil' helper
Joined: 23 Dec 2003 Posts: 108 Location: Noosa, Australia
|
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Thu Jan 06, 2005 3:08 pm Post subject: |
|
|
Another suggestion is
emerge taglib
(again)
taurus |
|
Back to top |
|
|
markusw n00b
Joined: 31 Dec 2004 Posts: 17
|
Posted: Thu Jan 06, 2005 7:30 pm Post subject: |
|
|
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 |
|
|
dencar Tux's lil' helper
Joined: 23 Dec 2003 Posts: 108 Location: Noosa, Australia
|
Posted: Fri Jan 07, 2005 8:28 am Post subject: |
|
|
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 |
|
|
markusw n00b
Joined: 31 Dec 2004 Posts: 17
|
Posted: Sun Jan 09, 2005 10:47 am Post subject: |
|
|
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 |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Fri Jan 14, 2005 6:12 am Post subject: |
|
|
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 |
|
|
Sheepdogj15 Guru
Joined: 07 Jan 2005 Posts: 430 Location: Backyard
|
Posted: Fri Jan 14, 2005 10:29 am Post subject: |
|
|
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 |
|
|
|