Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Emerge of kdemultimedia 3.1.5 fails (cdrom.h)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
thwint
n00b
n00b


Joined: 15 May 2003
Posts: 53
Location: Biel, Switzerland

PostPosted: Thu Jan 22, 2004 11:38 am    Post subject: Emerge of kdemultimedia 3.1.5 fails (cdrom.h) Reply with quote

Hi All,
when i try to emerge kdemultimedia 3.1.5 I receive the following error:

Code:

In file included from /usr/include/linux/cdrom.h:14,
                 from cdconfigimp.cpp:79:
/usr/include/asm/byteorder.h:38: error: syntax error before `(' token
/usr/include/asm/byteorder.h:42: error: '__u64' is used as a type, but is not
   defined as a type.
/usr/include/asm/byteorder.h:43: error: parse error before `}' token
/usr/include/asm/byteorder.h:44: error: syntax error before `.' token
/usr/include/asm/byteorder.h:50: error: syntax error before `.' token
/usr/include/asm/byteorder.h:51: error: syntax error before `.' token
/usr/include/asm/byteorder.h:52: error: parse error before `:' token
cdconfigimp.cpp:82: error: parse error before `}' token
make[3]: *** [cdconfigimp.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5/kaudiocreator'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5/kaudiocreator'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/kdemultimedia-3.1.5/work/kdemultimedia-3.1.5'
make: *** [all] Error 2

!!! ERROR: kde-base/kdemultimedia-3.1.5 failed.
!!! Function kde_src_compile, Line 128, Exitcode 2
!!! died running emake, kde_src_compile:make


Kernel: 2.6.1
USE="acpi cdr cups dvd dvdr gif gpm gtk2 hbci imap jpeg ldap mpeg mysql opengl pam pdflib sse2 ssl truety
CFLAGS="-march=pentium4 -O3 -pipe"pe usb X"

Has anyone an idea what is wrong?
_________________
Cheers,
Tom
Back to top
View user's profile Send private message
jdally
n00b
n00b


Joined: 22 Jan 2004
Posts: 18

PostPosted: Thu Jan 22, 2004 12:42 pm    Post subject: Reply with quote

Check your installed kernel headers - I had a very similar problem with KDE 3.1.4. When I installed linux-headers 2.6.0 the compile worked fine.
Back to top
View user's profile Send private message
ekoontz
n00b
n00b


Joined: 18 Apr 2002
Posts: 67
Location: San Francisco, California

PostPosted: Sun Jan 25, 2004 10:04 am    Post subject: Reply with quote

jdally, can you clarify which headers package you emerged? I am using kernel 2.6.0; but when I emerged kernel-headers, it gave me the headers for 2.4.20, which gave me the compilation error that thwint showed.

I couldn't find any headers package for the 2.6 kernel, so
I solved the problem by symlinking :

Code:

mv /usr/include/linux /usr/include/linux-2.4
ln -s /usr/src/linux/include/linux /usr/include


(note that my /usr/src/linux is itself a symlink to
linux-2.6.0).

After this, I could compile kdemultimedia successfully.
_________________
In Soviet Gentoo, portage emerges -u!
Back to top
View user's profile Send private message
thwint
n00b
n00b


Joined: 15 May 2003
Posts: 53
Location: Biel, Switzerland

PostPosted: Sun Jan 25, 2004 3:32 pm    Post subject: Reply with quote

I already created a link to the linux headers before i started emerging all the kde stuff.
so I think, that I already use the correct headers.
_________________
Cheers,
Tom
Back to top
View user's profile Send private message
jdally
n00b
n00b


Joined: 22 Jan 2004
Posts: 18

PostPosted: Tue Jan 27, 2004 8:05 pm    Post subject: Reply with quote

This does sound like the same problem I had - I too linked in the headers from the 2.6 kernel source into /usr/include. But these headers have the problem. I assume the headers from sys-kernel/linux-headers-2.6.0 have some changes to make them suitable for non-kernel code.

So I trashed my sym links and emerged sys-kernel/linux-headers-2.6.0.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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