Posted: Thu Jan 29, 2009 10:15 am
I'm glad to hear all shoud still work ok. I was using 8.04 ubuntu and the install appears ok minus the control settings thing in another post I mentioned. Thanks for all your help.
ZoneMinder Forums
https://forums.zoneminder.com/
I've confirmed this compile error is occurring with *Ubuntu 8.04.1 (LTS). Commenting out the lines fixed the problems.zoneminder wrote:I have been talking a complete load of b*ll*x it appears, my excuse was that it was late.
The problem files are not ffmpeg but the Video 4 Linux 2 headers. There seems to be more than one version out there, which differ in what they contain. For now commenting out the offending lines is probably the right course of action, it won't affect functionality as those defines are included only for the sake of completeness and are not directly supported anyway.
If you have hit this issue it would be useful to know what distro and version you are running on.
I get similar errors for my uvc cams, I believe the below note from a different topic sums up the problem. uvcvideo cams being V4L2 typically?This built supports uvcvideo driven cams right?tiggy@gecko:~$ sudo zmu -d /dev/video0 -q -v
Error, failed to get channel 0 attributes: Invalid argument
tiggy@gecko:~$
zoneminder wrote:The zmu query function currently only functions on V4L1. I plan to add V4L2 queries when I get time. In the meantime I recommend using v4l-info as it does pretty much the same thing for V4L2 devices anyway.
My dev system has just gone up to Fedora 10 but my laptop is Ubuntu 8.10 so I guess the new definitions must have been added quite recently, ie since 8.04.curtishall wrote:I've confirmed this compile error is occurring with *Ubuntu 8.04.1 (LTS). Commenting out the lines fixed the problems.zoneminder wrote:I have been talking a complete load of b*ll*x it appears, my excuse was that it was late.
The problem files are not ffmpeg but the Video 4 Linux 2 headers. There seems to be more than one version out there, which differ in what they contain. For now commenting out the offending lines is probably the right course of action, it won't affect functionality as those defines are included only for the sake of completeness and are not directly supported anyway.
If you have hit this issue it would be useful to know what distro and version you are running on.
All ubuntu packages are up to date so I'm not sure where to begin on that.
Code: Select all
# Multimedia devices
#
CONFIG_VIDEO_DEV=m
CONFIG_VIDEO_V4L1=y
CONFIG_VIDEO_V4L1_COMPAT=y
CONFIG_VIDEO_V4L2=y
Code: Select all
zm_local_camera.cpp:173: error: ‘V4L2_PIX_FMT_YUV565’ was not declared in this scope
zm_local_camera.cpp:174: error: ‘V4L2_PIX_FMT_YUV32’ was not declared in this scope
zm_local_camera.cpp:181: error: ‘V4L2_PIX_FMT_SGBRG8’ was not declared in this scope
zm_local_camera.cpp:182: error: ‘V4L2_PIX_FMT_SBGGR16’ was not declared in this scope
zm_local_camera.cpp:191: error: ‘V4L2_PIX_FMT_SPCA501’ was not declared in this scope
zm_local_camera.cpp:192: error: ‘V4L2_PIX_FMT_SPCA505’ was not declared in this scope
zm_local_camera.cpp:193: error: ‘V4L2_PIX_FMT_SPCA508’ was not declared in this scope
zm_local_camera.cpp:194: error: ‘V4L2_PIX_FMT_SPCA561’ was not declared in this scope
zm_local_camera.cpp:195: error: ‘V4L2_PIX_FMT_PAC207’ was not declared in this scope
zm_local_camera.cpp:196: error: ‘V4L2_PIX_FMT_PJPG’ was not declared in this scope
zm_local_camera.cpp:197: error: ‘V4L2_PIX_FMT_YVYU’ was not declared in this scope
zm_local_camera.cpp:116: error: ‘V4L2_PIX_FMT_RGB444’ was not declared in this scope
zm_local_camera.cpp:149: error: ‘V4L2_PIX_FMT_YUV444’ was not declared in this scope
zm_local_camera.cpp:167: error: ‘V4L2_PIX_FMT_Y16’ was not declared in this scope
zm_local_camera.cpp:168: error: ‘V4L2_PIX_FMT_PAL8’ was not declared in this scope
zm_local_camera.cpp:172: error: ‘V4L2_PIX_FMT_YUV555’ was not declared in this scope