[mythtv-users] little_endian.h errors compiliing 0.18.1

Khanh Tran khanh at slc.edu
Tue Jun 14 21:03:37 UTC 2005


I've been trying to compile 0.18.1 on SuSE 9.2, however I keep getting
the following errors.  Anyone know what to do?

make[2]: Entering directory
`/home/mythtv/download/mythtv.18.1/mythtv-0.18.1/libs/libmyth'
g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall
-march=pentium4 -I/opt/kde3/include -pthread
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib/glib-2.0/include -Wall -W
-O3 -Wall -Wno-switch -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC
-DMMX -Di386 -DUSING_IVTV -DUSING_XRANDR -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DUSING_OSS -DUSE_ALSA
-DUSE_JOYSTICK_MENU -DUSE_LIRC -DUSE_ARTS -DQT_NO_DEBUG
-DQT_THREAD_SUPPORT -I/usr/lib/qt3/mkspecs/default -I.
-I/usr/local/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/include/asm/byteorder.h:59,
                 from /usr/include/linux/cdrom.h:14,
                 from mythcdrom-linux.cpp:3:
/usr/include/linux/byteorder/little_endian.h:43: error: syntax error
before `(' token
/usr/include/linux/byteorder/little_endian.h:47: error: syntax error
before `*' token
/usr/include/linux/byteorder/little_endian.h: In function `__u64
__le64_to_cpup(...)':
/usr/include/linux/byteorder/little_endian.h:49: error: `p' undeclared
(first use this function)
/usr/include/linux/byteorder/little_endian.h:49: error: (Each undeclared
identifier is reported only once for each function it appears in.)
/usr/include/linux/byteorder/little_endian.h: At global scope:
/usr/include/linux/byteorder/little_endian.h:51: error: syntax error
before `(' token
/usr/include/linux/byteorder/little_endian.h:55: error: syntax error
before `*' token
/usr/include/linux/byteorder/little_endian.h:59: error: syntax error
before `(' token
/usr/include/linux/byteorder/little_endian.h:63: error: syntax error
before `*' token
/usr/include/linux/byteorder/little_endian.h:67: error: syntax error
before `(' token
/usr/include/linux/byteorder/little_endian.h:71: error: syntax error
before `*' token
/usr/include/linux/byteorder/little_endian.h:75: error: syntax error
before `(' token
/usr/include/linux/byteorder/little_endian.h:79: error: syntax error
before `*' token
/usr/include/linux/byteorder/little_endian.h:83: error: syntax error
before `(' token
/usr/include/linux/byteorder/little_endian.h:87: error: syntax error
before `*' token
make[2]: *** [mythcdrom-linux.o] Error 1
make[2]: Leaving directory
`/home/mythtv/download/mythtv.18.1/mythtv-0.18.1/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory
`/home/mythtv/download/mythtv.18.1/mythtv-0.18.1/libs'
make: *** [sub-libs] Error 2




More information about the mythtv-users mailing list