CVS or kernel problems?

Theo Schneider tooly at schneider-berlin.net
Wed Jun 11 18:17:17 BST 2003


Hi Boris,

i think its an kernel problem. kdemultimedia-3.1.2 build fail with gcc-3.3 and 
kernel-2.4.21-rc7 header but work with gcc-3.3 kernel-2.4.20 headers.

mfg
  Theo

Boris wrote:

> I am trying to compile the latest kde cvs and when I compile
> kdemultimedia, I get the following error.
> 
> 
> 
> make[5]: Leaving directory `/tmp/kdemultimedia/mpeglib/lib/util'
> make[4]: Leaving directory `/tmp/kdemultimedia/mpeglib/lib/util'
> Making all in input
> make[4]: Entering directory `/tmp/kdemultimedia/mpeglib/lib/input'
> if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++
> -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde/include
> -I/usr/lib/qt/include -I/usr/X11R6/include   -DQT_THREAD_SUPPORT 
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> -Wpointer-arith -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE
> -Wcast-align -Wconversion -Wchar-subscripts -DNDEBUG -DNO_DEBUG -O2
> -Wformat-security -Wmissing-format-attribute -fno-exceptions
> -fno-check-new -fno-common -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST
> -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION  -MT cdromAccess.lo -MD -MP
> -MF ".deps/cdromAccess.Tpo" \
>   -c -o cdromAccess.lo `test -f 'cdromAccess.cpp' || echo
>   './'`cdromAccess.cpp; \
> then mv -f ".deps/cdromAccess.Tpo" ".deps/cdromAccess.Plo"; \
> else rm -f ".deps/cdromAccess.Tpo"; exit 1; \
> fi
> In file included from /usr/include/linux/cdrom.h:14,
>                  from cdromAccess_Linux.cpp:17,
>                  from cdromAccess.cpp:30:
> /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
> In file included from /usr/include/linux/byteorder/little_endian.h:11,
>                  from /usr/include/asm/byteorder.h:65,
>                  from /usr/include/linux/cdrom.h:14,
>                  from cdromAccess_Linux.cpp:17,
>                  from cdromAccess.cpp:30:
> /usr/include/linux/byteorder/swab.h:199: error: syntax error before `('
> token /usr/include/linux/byteorder/swab.h:209: error: syntax error before
> `(' token /usr/include/linux/byteorder/swab.h:213: error: `__u64' was not
> declared in
>    this scope
> /usr/include/linux/byteorder/swab.h:213: error: `addr' was not declared in
> this
>    scope
> /usr/include/linux/byteorder/swab.h:214: error: variable or field
> `__swab64s'
>    declared void
> /usr/include/linux/byteorder/swab.h:214: error: `__swab64s' declared as an
>    `inline' variable
> /usr/include/linux/byteorder/swab.h:214: error: syntax error before `{'
> token make[4]: *** [cdromAccess.lo] Error 1
> make[4]: Leaving directory `/tmp/kdemultimedia/mpeglib/lib/input'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/tmp/kdemultimedia/mpeglib/lib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/tmp/kdemultimedia/mpeglib'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tmp/kdemultimedia'
> make: *** [all] Error 2
> 
> 
> I am using the linux v2.4.21rc7 kernel source to compile. Anyone else
> having this problem? (or a way to fix it?)



More information about the kde-multimedia mailing list