[mythtv-users] Problem compiling MythTV under 2.6.9
Andrew Ingram
adingram at clara.co.uk
Sat Oct 23 11:45:42 UTC 2004
Hi Folks.
Just upgraded my Debian 2.6.5 Myth box to 2.6.9 as I'm adding a DVB Nova-T
(909) card to my existing pvr-250 setup. I hadn't compiled DVB support into
0.16 previously since there was no need. So I changed the settings.pro with
the appropriate values to enable DVB support (after extracting the mythtv
code somewhere new and clean) and set it off compiling. However, the compile
bombed out with:
<snip>
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
-D_REENTRANT -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS
-DUSING_DVB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/src/linux-2.6.9/include -I/usr/share/qt3/include -o
mythmediamonitor.o mythmediamonitor.cpp
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
-D_REENTRANT -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV -DUSING_OSS
-DUSING_DVB -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
-I/usr/share/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/src/linux-2.6.9/include -I/usr/share/qt3/include -o mythcdrom-linux.o
mythcdrom-linux.cpp
In file included from /usr/src/linux-2.6.9/include/asm/byteorder.h:57,
from /usr/src/linux-2.6.9/include/linux/cdrom.h:14,
from mythcdrom-linux.cpp:3:
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:43: error:
syntax
error before `(' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:47: error:
syntax
error before `*' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h: In function `
__u64 __le64_to_cpup(...)':
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:49: error: `p'
undeclared (first use this function)
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:49: error:
(Each
undeclared identifier is reported only once for each function it appears
in.)
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h: At global
scope:
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:51: error:
syntax
error before `(' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:55: error:
syntax
error before `*' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:59: error:
syntax
error before `(' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:63: error:
syntax
error before `*' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:67: error:
syntax
error before `(' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:71: error:
syntax
error before `*' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:75: error:
syntax
error before `(' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:79: error:
syntax
error before `*' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:83: error:
syntax
error before `(' token
/usr/src/linux-2.6.9/include/linux/byteorder/little_endian.h:87: error:
syntax
error before `*' token
make[2]: *** [mythcdrom-linux.o] Error 1
make[2]: Leaving directory
`/var/mythtvsrc/mythtv/mythtv.20040917-v.16/mythtv-0.16/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory
`/var/mythtvsrc/mythtv/mythtv.20040917-v.16/mythtv-0.16/libs'
make: *** [sub-libs] Error 2
It's a P4 2.6HT machine, running Debian and the vanilla 2.6.9 kernel source
with the dvb patch for the new 909 nova-t card.
Does anyone know what is wrong here?
Thanks,
Andrew
More information about the mythtv-users
mailing list