[mythtv-users] CVS compile errors on Suse 9.2
Gayle
gayle at anothercrap.com
Sun Jan 30 12:42:02 EST 2005
I have been watching the rapid development of DVB in MythTV and decided to
give the latest CVS a try but ran into a brick wall when I tried to compile
it with DVB support. I get a series of syntax errors
from /usr/src/linux-2.6.8-24/include/asm/byteorder.h when compiling
mythcdrom-linux.cpp (see below) and have no idea why.
Now, I have a history of falling out with Suse over some of the silly games
they occasionally play with kernel sources and wondered if this was another
of those occasions or did I do something silly? I should note the installed
kernel sources are as shipped, nothing has been touched.
I also changed the architecture in settings.pro as below (Athlon XP).
QMAKE_CXXFLAGS_RELEASE = -O3 -march=pentiumpro -mmmx -fomit-frame-pointr
Any help gratefully received.
Regards,
Gayle
g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -Wall -W -O3
-march=pentiumpro -mmmx -fomit-frame-pointer -D_REENTRANT -fPIC
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
-DUSING_IVTV -DUSING_DVB -DUSING_DVB_EIT -DUSING_OSS -DUSE_JOYSTICK_MENU
-DUSE_LIRC -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED -DQT_TABLET_SUPPORT
-I/usr/lib/qt3/mkspecs/default -I. -I/usr/local/include
-I/usr/src/linux-2.6.8-24/include -I../libmythsamplerate
-I../libmythsoundtouch -I../.. -I/usr/include -I/usr/lib/qt3/include -o
mythcdrom-linux.o mythcdrom-linux.cpp
In file included from /usr/src/linux-2.6.8-24/include/asm/byteorder.h:57,
from /usr/src/linux-2.6.8-24/include/linux/cdrom.h:14,
from mythcdrom-linux.cpp:3:
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:43: error:
syntax error before `(' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:47: error:
syntax error before `*' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h: In function
`__u64 __le64_to_cpup(...)':
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:49: error: `p'
undeclared (first use this function)
/usr/src/linux-2.6.8-24/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.8-24/include/linux/byteorder/little_endian.h: At global
scope:
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:51: error:
syntax error before `(' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:55: error:
syntax error before `*' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:59: error:
syntax error before `(' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:63: error:
syntax error before `*' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:67: error:
syntax error before `(' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:71: error:
syntax error before `*' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:75: error:
syntax error before `(' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:79: error:
syntax error before `*' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:83: error:
syntax error before `(' token
/usr/src/linux-2.6.8-24/include/linux/byteorder/little_endian.h:87: error:
syntax error before `*' token
make[2]: *** [mythcdrom-linux.o] Error 1
make[2]: Leaving directory `/home/gayle/mythtv/mythtv/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/home/gayle/mythtv/mythtv/libs'
make: *** [sub-libs] Error 2
More information about the mythtv-users
mailing list