[mythtv-users] 0.18.1 Compile errors

Robert Tsai rtsai1111 at comcast.net
Sat Jun 4 22:34:48 UTC 2005


Are you using an "oldish" kernel (2.6.9, 2.6.10)?

Simplest fix is to upgrade your kernel and be done with it.

Otherwise, there are some known patches you can apply to your
application code to work around the #include file bugs, floating
around in google somewhere.

On Sat, Jun 04, 2005 at 04:56:26PM -0400, Khanh Tran wrote:
> Anyone know how to resolve the following compile errors?  I'm trying on
> SuSE 9.2.  Thanks!
> 
> 
> 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=pentiumpro -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
> -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
> 

> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users


--Rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mythtv.org/pipermail/mythtv-users/attachments/20050604/014082c8/attachment.pgp


More information about the mythtv-users mailing list