[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Problem with compiling kdemultimedia
From:       Nicolas Goutte <nicolasg () snafu ! de>
Date:       2003-11-18 19:39:30
[Download RAW message or body]

On Tuesday 18 November 2003 19:58, Alan Chandler wrote:
> I have been trying to build me a new version of kde from cvs head, using
> the kde-build script in kdesdk.  I have set the script to cvs-clean and to
> remove the build directory before starting each run.
>
> I have compiled most of it, but kdemultimedia is continually failing with a
> problem in the linux header files - thus:-
>
> gcc -DHAVE_CONFIG_H -I. -I/usr/src/kde/kdemultimedia/kscd/libwm -I../.. -I/
> opt/kde-20031116/include -I/usr/share/qt3/includ
> e -I/usr/X11R6/include    -DQT_THREAD_SUPPORT  -D_REENTRANT  -ansi -W -Wall
> -Wchar-subscripts -Wshadow -Wpointer-arith -Wmi
> ssing-prototypes -Wwrite-strings -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -g -O2
> -Wformat-security -Wmissing-format-attribute -c
>  `test -f '/usr/src/kde/kdemultimedia/kscd/libwm/plat_linux_cdda.c' || echo
> '/ usr/src/kde/kdemultimedia/kscd/libwm/'`/usr/s
> rc/kde/kdemultimedia/kscd/libwm/plat_linux_cdda.c
> In file included from /usr/include/linux/cdrom.h:14,
>                  from /usr/src/kde/kdemultimedia/kscd/libwm/
> plat_linux_cdda.c:43:
> /usr/include/asm/byteorder.h: In function `___arch__swab64':
> /usr/include/asm/byteorder.h:56: error: parse error before ':' token
>
>
> I note in the cvs log for plat_linux_cdda.c that the last change was made
> around this exact area in the file to "get round a problem with SUSE".  I
> am running an up to date (as of Sunday) Debian Unstable.
>
> I've tried to get my head around why this should fail to compile, but am
> failing miserably.
>
> Since I don't see lots of other people complaining about this compile
> problem, I assume I am doing something wrong.
>
> Can someone explain to me
>
> a) What is causing this error

Linux >= 2.4.20

> b) What I am doing wrong

Nothing!

However you need either to go back to old Linux headers *or* you need to patch 
KDE.

This patch for KDE was given on kde-forum.de:
http://linuxfromscratch.org/pipermail/patches/2003-November/000578.html

>
> Thanks

Have a nice day!
 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic