[mythtv-users] Re: myth cvs compile error xbox

Jason Spencer jspencer at crosslink.net
Sat Dec 20 21:39:48 EST 2003


Adding:

#include <sys/param.h>

to mythmedia.cpp fixed the compile problem.

----- Original Message ----- 
From: "Jason Spencer" <jspencer at crosslink.net>
To: <mythtv-users at mythtv.org>
Sent: Saturday, December 20, 2003 2:47 AM
Subject: myth cvs compile error xbox


> Hi all,
>
>   I checked out the latest cvs today to get the 13+ updates.  It compiles
> fine on my backend machine.  When I try to compile on my xbox I get the
> following errors:
>
> make[2]: Entering directory `/mnt/store/mythtv/libs/libmyth'
>
g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer -D_REENTRAN
>
T -fPIC -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX -
>
DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/share/qt3/mkspecs/default -I. -I/usr
> /local/include -I/usr/share/qt3/include -o mythmedia.o mythmedia.cpp
> mythmedia.cpp: In method `bool MythMediaDevice::isMounted(bool = false)':
> mythmedia.cpp:128: `PATH_MAX' undeclared (first use this function)
> mythmedia.cpp:128: (Each undeclared identifier is reported only once
> mythmedia.cpp:128: for each function it appears in.)
> mythmedia.cpp:149: `lpath' undeclared (first use this function)
> make[2]: *** [mythmedia.o] Error 1
> make[2]: Leaving directory `/mnt/store/mythtv/libs/libmyth'
> make[1]: *** [sub-libmyth] Error 2
> make[1]: Leaving directory `/mnt/store/mythtv/libs'
> make: *** [sub-libs] Error 2
>
> Anyone have any idea's?  Like I said it compiles on my backend machine
fine,
> it only fails on my xbox.
>
> Thanks for any help, if all else fails I can roll back a couple of days.
>
>



More information about the mythtv-users mailing list