kdemultimeda3 fails "WARNING: linux/cdrom.h: check for missing
prerequisite"
Bernd Kosmahl
spam at famkos.net
Sat Oct 9 12:21:07 UTC 2004
Hi,
I got this strange compile error. Comparing to this configure-warning I
have a problem with the linux header files but I don't get what the
problem is (and yes, I tried without any optimizations).
installed linux: 2.4.27
installed kernel-headers: Linux-2.4.27-i386
Configure Warning:
checking linux/cdrom.h usability... no
checking linux/cdrom.h presence... yes
configure: WARNING: linux/cdrom.h: present but cannot be compiled
configure: WARNING: linux/cdrom.h: check for missing prerequisite
headers?
configure: WARNING: linux/cdrom.h: see the Autoconf documentation
configure: WARNING: linux/cdrom.h: section "Present But Cannot Be
Compiled"
configure: WARNING: linux/cdrom.h: proceeding with the preprocessor's
result
configure: WARNING: linux/cdrom.h: in the future, the compiler will take
precedence
configure: WARNING: ## ------------------------------------------ ##
configure: WARNING: ## Report this to the AC_PACKAGE_NAME lists. ##
configure: WARNING: ## ------------------------------------------ ##
checking for linux/cdrom.h... yes
Compile Error:
In file included from /usr/include/linux/cdrom.h:14,
from cdromAccess_Linux.cpp:17,
from cdromAccess.cpp:33,
from libinput_la.all_cpp.cpp:10:
/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,
from libinput_la.all_cpp.cpp:10:
/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
inputDetector.cpp:21: warning: `const char*filestrglobal1' defined but
not used
inputDetector.cpp:22: warning: `const char*filestrglobal2' defined but
not used
make[4]: *** [libinput_la.all_cpp.lo] Error 1
make[4]: Leaving directory
`/usr/src/kdemultimedia-3.3.0/mpeglib/lib/input'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/src/kdemultimedia-3.3.0/mpeglib/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/kdemultimedia-3.3.0/mpeglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/kdemultimedia-3.3.0'
make: *** [all] Error 2
Creating /var/log/lunar/compile/kdemultimedia3-3.3.0.bz2
! Problem detected during BUILD
I hope somebody can give me a hint. I asked google and got several
similar errors but no solution to this problem :-/
Greetings
--
Bernd "beko" Kosmahl
http://duke.famkos.net
beko (a-nospam-t) duke.famkos.net
More information about the Lunar
mailing list