Compilando kdemultimedia-3.3 riscontro questo problema:
/bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/usr/kde/3.3/include -I/usr/qt//include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -march=athlon-xp -O3 -pipe -fomit-frame-pointer -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 -fpermissive -c -o cdromAccess.lo cdromAccess.cpp
In file included from /usr/include/linux/cdrom.h:14,
from cdromAccess_Linux.cpp:17,
from cdromAccess.cpp:33:
/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:33:
/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 `/root/kdemultimedia-3.3.0/mpeglib/lib/input'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/kdemultimedia-3.3.0/mpeglib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/kdemultimedia-3.3.0/mpeglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/kdemultimedia-3.3.0'
make: *** [all] Error 2
Gli headers del kernel non mi hanno mai dato problemi con altre compilazioni.
Suggerimenti?