[mythtv] Compile Error videosource.cpp with 7545

Kristian Kalweit kalweit at exorpro.de
Fri Oct 21 19:30:51 UTC 2005


Updated to 7545. Got:

make[2]: Entering directory `/root/myth/svn/mythtv/libs/libmythtv'
ccache distcc g++ -c -pipe -march=pentiumpro -Wall -W -O3 -Wall 
-Wno-switch -fomit-frame-pointer `freetype-config --cflags` -D_REENTRANT 
-DPIC -fPIC  -DMMX -Di386 -DUSING_DBOX2 -DHAVE_DVDNAV -D_GNU_SOURCE 
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -D_LARGEFILE_SOURCE 
-DUSING_OSS -DUSING_XV -DUSING_XVMC -DUSING_XVMCW -DUSING_XVMC_VLD 
-DUSING_FRONTEND -DUSING_DVB -DUSING_DVB_EIT -DUSING_BACKEND 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/qt/3/mkspecs/linux-g++ -I. 
-I/usr/local/include -I/usr/include -I/usr/include -I../.. -I../libmyth 
-I.. -Idvbdev -Impeg -I../libavcodec -I../libavutil -I../libmythmpeg2 
-I/usr/qt/3/include -o videosource.o videosource.cpp
videosource.cpp: In static member function `static bool 
CardUtil::hasV4L2(int)':
videosource.cpp:394: error: aggregate `v4l2_capability vcap' has 
incomplete type and cannot be defined
videosource.cpp:397: error: `VIDIOC_QUERYCAP' undeclared (first use this 
function)
videosource.cpp:397: error: (Each undeclared identifier is reported only 
once for each function it appears in.)
videosource.cpp:398: error: `V4L2_CAP_VIDEO_CAPTURE' undeclared (first 
use this function)
videosource.cpp: In static member function `static InputNames 
CardUtil::probeV4LInputs(int, bool&)':
videosource.cpp:459: error: missing template arguments before '[' token
videosource.cpp:461: error: missing template arguments before ';' token
videosource.cpp: At global scope:
videosource.cpp:402: warning: unused parameter 'videofd'
videosource.cpp:402: warning: unused parameter 'ok'
make[2]: *** [videosource.o] Error 1
make[2]: Leaving directory `/root/myth/svn/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/root/myth/svn/mythtv/libs'
make: *** [sub-libs] Error 2


Daniel commit in 7541 something about V4L2. I'm using only dvb and 
disabled v4l in my configure. Rerun configure doesn't help.

Kristian.


More information about the mythtv-dev mailing list