
krausedammann at web
May 7, 2009, 12:24 PM
Post #1 of 1
(805 views)
Permalink
|
|
Compile-Error for ivtv-1.2.0
|
|
Dear list, I have problems to compile the ivtv-driver 1.2.0. I work under Mythbuntu 9.0.4. I downloaded the ivtv-sources from the download page. The command "make install" failed. I attached the console-outputs under this text: Does anybody have a hint for me to locate the error? I am confused now and have no idea. For me it seems to correlate with the file "videodev2.h". Greetings Jan Christian [CUT] root [at] MULTIMEDIA-P:/home/jansan/Desktop/ivtv-1.2.0# make install make -C i2c-drivers install make[1]: Entering directory `/home/jansan/Desktop/ivtv-1.2.0/i2c-drivers' make -C /lib/modules/2.6.28-11-generic/build M=/home/jansan/Desktop/ivtv-1.2.0/i2c-drivers modules make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic' Building modules, stage 2. MODPOST 1 modules make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' make INSTALL_MOD_PATH= INSTALL_MOD_DIR=kernel/drivers/media/video \ -C /lib/modules/2.6.28-11-generic/build M=/home/jansan/Desktop/ivtv-1.2.0/i2c-drivers modules_install make[2]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic' INSTALL /home/jansan/Desktop/ivtv-1.2.0/i2c-drivers/saa717x.ko DEPMOD 2.6.28-11-generic make[2]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' /sbin/depmod -a make[1]: Leaving directory `/home/jansan/Desktop/ivtv-1.2.0/i2c-drivers' make -C utils install make[1]: Entering directory `/home/jansan/Desktop/ivtv-1.2.0/utils' g++ -D_GNU_SOURCE -O2 -Wall -g -c -o v4l2-dbg.o v4l2-dbg.cpp v4l2-dbg.cpp:36:23: error: : No such file or directory v4l2-dbg.cpp: In function ‘unsigned int parse_type(const std::string&)’: v4l2-dbg.cpp:132: error: ‘V4L2_CHIP_MATCH_HOST’ was not declared in this scope v4l2-dbg.cpp:133: error: ‘V4L2_CHIP_MATCH_I2C_ADDR’ was not declared in this scope v4l2-dbg.cpp:134: error: ‘V4L2_CHIP_MATCH_I2C_DRIVER’ was not declared in this scope v4l2-dbg.cpp: In function ‘unsigned int parse_chip(int, const std::string&)’: v4l2-dbg.cpp:139: error: ‘V4L2_CHIP_MATCH_HOST’ was not declared in this scope v4l2-dbg.cpp:139: error: ‘V4L2_CHIP_MATCH_I2C_ADDR’ was not declared in this scope v4l2-dbg.cpp: In function ‘std::string cap2s(unsigned int)’: v4l2-dbg.cpp:151: error: ‘V4L2_CAP_VIDEO_CAPTURE’ was not declared in this scope v4l2-dbg.cpp:153: error: ‘V4L2_CAP_VIDEO_OUTPUT’ was not declared in this scope v4l2-dbg.cpp:155: error: ‘V4L2_CAP_VIDEO_OVERLAY’ was not declared in this scope v4l2-dbg.cpp:157: error: ‘V4L2_CAP_VIDEO_OUTPUT_OVERLAY’ was not declared in this scope v4l2-dbg.cpp:159: error: ‘V4L2_CAP_VBI_CAPTURE’ was not declared in this scope v4l2-dbg.cpp:161: error: ‘V4L2_CAP_VBI_OUTPUT’ was not declared in this scope v4l2-dbg.cpp:163: error: ‘V4L2_CAP_SLICED_VBI_CAPTURE’ was not declared in this scope v4l2-dbg.cpp:165: error: ‘V4L2_CAP_SLICED_VBI_OUTPUT’ was not declared in this scope v4l2-dbg.cpp:167: error: ‘V4L2_CAP_RDS_CAPTURE’ was not declared in this scope v4l2-dbg.cpp:169: error: ‘V4L2_CAP_TUNER’ was not declared in this scope v4l2-dbg.cpp:171: error: ‘V4L2_CAP_AUDIO’ was not declared in this scope v4l2-dbg.cpp:173: error: ‘V4L2_CAP_RADIO’ was not declared in this scope v4l2-dbg.cpp:175: error: ‘V4L2_CAP_READWRITE’ was not declared in this scope v4l2-dbg.cpp:177: error: ‘V4L2_CAP_ASYNCIO’ was not declared in this scope v4l2-dbg.cpp:179: error: ‘V4L2_CAP_STREAMING’ was not declared in this scope v4l2-dbg.cpp: In function ‘void print_regs(int, v4l2_register*, long unsigned int, long unsigned int, int)’: v4l2-dbg.cpp:206: error: invalid use of incomplete type ‘struct v4l2_register’ v4l2-dbg.cpp:184: error: forward declaration of ‘struct v4l2_register’ v4l2-dbg.cpp:207: error: ‘VIDIOC_DBG_G_REGISTER’ was not declared in this scope v4l2-dbg.cpp:209: error: invalid use of incomplete type ‘struct v4l2_register’ v4l2-dbg.cpp:184: error: forward declaration of ‘struct v4l2_register’ v4l2-dbg.cpp:211: error: invalid use of incomplete type ‘struct v4l2_register’ v4l2-dbg.cpp:184: error: forward declaration of ‘struct v4l2_register’ v4l2-dbg.cpp: In function ‘void print_chip(v4l2_chip_ident*)’: v4l2-dbg.cpp:223: error: invalid use of incomplete type ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:218: error: forward declaration of ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:229: error: invalid use of incomplete type ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:218: error: forward declaration of ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:231: error: invalid use of incomplete type ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:218: error: forward declaration of ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:231: error: invalid use of incomplete type ‘struct v4l2_chip_ident’ v4l2-dbg.cpp:218: error: forward declaration of ‘struct v4l2_chip_ident’ v4l2-dbg.cpp: In function ‘int main(int, char**)’: v4l2-dbg.cpp:277: error: aggregate ‘v4l2_capability vcap’ has incomplete type and cannot be defined v4l2-dbg.cpp:278: error: aggregate ‘v4l2_register set_reg’ has incomplete type and cannot be defined v4l2-dbg.cpp:279: error: aggregate ‘v4l2_register get_reg’ has incomplete type and cannot be defined v4l2-dbg.cpp:280: error: aggregate ‘v4l2_chip_ident chip_id’ has incomplete type and cannot be defined v4l2-dbg.cpp:324: error: ‘V4L2_CHIP_MATCH_I2C_DRIVER’ was not declared in this scope v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:332: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:360: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:386: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:386: warning: deprecated conversion from string constant to ‘char*’ v4l2-dbg.cpp:426: error: ‘VIDIOC_QUERYCAP’ was not declared in this scope v4l2-dbg.cpp:444: error: ‘VIDIOC_DBG_S_REGISTER’ was not declared in this scope v4l2-dbg.cpp:450: error: ‘VIDIOC_G_CHIP_IDENT’ was not declared in this scope v4l2-dbg.cpp:457: error: ‘V4L2_CHIP_MATCH_HOST’ was not declared in this scope v4l2-dbg.cpp:460: error: ‘VIDIOC_G_CHIP_IDENT’ was not declared in this scope v4l2-dbg.cpp:466: error: ‘V4L2_CHIP_MATCH_I2C_ADDR’ was not declared in this scope v4l2-dbg.cpp:469: error: ‘VIDIOC_G_CHIP_IDENT’ was not declared in this scope v4l2-dbg.cpp:479: error: ‘V4L2_CHIP_MATCH_HOST’ was not declared in this scope v4l2-dbg.cpp:514: error: ‘VIDIOC_LOG_STATUS’ was not declared in this scope make[1]: *** [v4l2-dbg.o] Error 1 make[1]: Leaving directory `/home/jansan/Desktop/ivtv-1.2.0/utils' make: *** [install] Error 2 [/CUT] _______________________________________________ ivtv-users mailing list ivtv-users [at] ivtvdriver http://ivtvdriver.org/mailman/listinfo/ivtv-users
|