[mythtv] cvs compile problem: mythcdrom-linux.cpp & DVB related
martin north
martin at chipsandpeas.com
Mon Jan 17 10:34:32 EST 2005
i'm trying to compile the latest CVS. I'm running Gentoo with kernel 2.6.9
(with epia patches), with a Nova-T DVB card.
The compile bombs out when compiling mythcdrom-linux.cpp with the errors
shown below.
A few people on the mailing list have had similar problems, and suggested
removing the $INCLUDE from the DVB settings - which I had set to
/usr/src/linux/include since i'm using the stock 2.6.9 DVB drivers.
I tried this and it successfully compile mythcdrom-linux.cpp. Not
surprisingly it bombs out further down as it can't find the DVB files
frontend.h
Anyone got any suggestions???
g++ -c -pipe -Wall -W -O3 -march=c3 -fomit-frame-pointer -D_REENTRANT -fPIC
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREF
IX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_DVB -DUSING_XVMC
-DUSING_XVMC_VLD -DUSE_ALSA -DUSE_JOYSTICK_MENU -D
USE_LIRC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I.
-I/usr/local/include -I../../../../../src/l
inux-2.6.9-epia/include -I../libmythsamplerate -I../libmythsoundtouch
-I/usr/qt/3/include -o mythcdrom-linux.o mythcdrom
-linux.cpp
In file included from
../../../../../src/linux-2.6.9-epia/include/asm/byteorder.h:57,
from
../../../../../src/linux-2.6.9-epia/include/linux/cdrom.h:14,
from mythcdrom-linux.cpp:3:
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
43: error: syntax
error before `(' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
47: error: parse
error before `*' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
In
function `__u64 __le64_to_cpup(...)':
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
49: error: `
p' undeclared (first use this function)
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
49: error: (Each
undeclared identifier is reported only once for each function it appears
in.)
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
At
global scope:
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
51: error: syntax
error before `(' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
55: error: parse
error before `*' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
59: error: syntax
error before `(' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
63: error: parse
error before `*' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
67: error: syntax
error before `(' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
71: error: parse
error before `*' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
75: error: syntax
error before `(' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
79: error: parse
error before `*' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
83: error: syntax
error before `(' token
../../../../../src/linux-2.6.9-epia/include/linux/byteorder/little_endian.h:
87: error: parse
error before `*' token
More information about the mythtv-dev
mailing list