[patch] Re: [mythtv] cannot compile current CVS

Marc Kessels kessels at rijnh.nl
Tue Oct 26 21:34:23 UTC 2004


Hi all,

My settings.pro is from cvs. I downloaded a fresh snapshot of cvs today, 
and just tried to compile it. same error. So I started to try things 
myself. putting a #include <sys/statfs.h> in some files in 
./programs/mythbackend made everything compile. Attached is a patch which 
solved the problems for me.

greetz,
Marc


At 16:05 26-10-2004, you wrote:
>Two thoughts.  First, what does your settings.pro look like?  Second, have 
>you tried checking out a fresh snapshot of cvs?
>
>Marc Kessels wrote:
>>I just updated my system to CVS.
>>this is what I did:
>>make distclean
>>./configure
>>qmake mythtv.pro
>>make
>>
>>and then I got this error:
>>
>><<snip>>
>>make[2]: Entering directory 
>>`/home/kessels/PVR/2cvsmyth/mythtv/programs/mythbackend'
>>g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer 
>>-D_REENTRANT  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 
>>-DPREFIX=\"/usr/local\" -DMMX -DCONFIG_VIDEO4LINUX -DUSING_IVTV 
>>-DUSING_OSS -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED 
>>-I/usr/lib/qt3/mkspecs/default -I. -I../../libs/libmythtv 
>>-I../../libs/libmyth -I../../libs -I/usr/local/include 
>>-I/usr/lib/qt3//include -o autoexpire.o autoexpire.cpp
>>autoexpire.cpp: In member function `void AutoExpire::RunExpirer()':
>>autoexpire.cpp:58: error: aggregate `statfs statbuf' has incomplete type 
>>and cannot be defined
>>autoexpire.cpp:60: error: invalid use of undefined type `struct statfs'
>>autoexpire.cpp:58: error: forward declaration of `struct statfs'
>>autoexpire.cpp:98: error: invalid use of undefined type `struct statfs'
>>autoexpire.cpp:58: error: forward declaration of `struct statfs'
>>make[2]: *** [autoexpire.o] Error 1
>>make[2]: Leaving directory 
>>`/home/kessels/PVR/2cvsmyth/mythtv/programs/mythbackend'
>>make[1]: *** [sub-mythbackend] Error 2
>>make[1]: Leaving directory `/home/kessels/PVR/2cvsmyth/mythtv/programs'
>>make: *** [sub-programs] Error 2
>>
>>
>>any help would be appreciated!
>>
>>Marc
>>
>>
>>
>>
>>
>>
>>_______________________________________________
>>mythtv-dev mailing list
>><mailto:mythtv-dev at mythtv.org>mythtv-dev at mythtv.org
>>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
>>
>_______________________________________________
>mythtv-dev mailing list
>mythtv-dev at mythtv.org
>http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: statfserror.diff
Type: application/octet-stream
Size: 1559 bytes
Desc: not available
Url : http://mythtv.org/pipermail/mythtv-dev/attachments/20041026/5dd7bfbe/statfserror.obj
-------------- next part --------------



More information about the mythtv-dev mailing list