Ignore my last post, this is more to the point. The error before seems to be caused by the yuvstream patch linking to /usr/local/include/mjpegtools/yuv4mpeg.h & mpegconsts.h like I had mjpegtools-dev installed. I can't install it because of dependency issues. It would probably be the wrong version anyway. So I put links to the cinelerra-4.4/thirdparty/mjpegtools-1.9.0rc3/utils/ there and make went another 500 lines before v4l.c errors killed it.
libavdevice/v4l.c:266:39: error: request for member ‘offsets’ in something not a structure or union libavdevice/v4l.c:266:24: error: invalid operands to binary + (have ‘uint8_t *’ and ‘const struct <anonymous>’) libavdevice/v4l.c:266:9: warning: assignment from incompatible pointer type [enabled by default] libavdevice/v4l.c:270:14: error: request for member ‘frame’ in something not a structure or union libavdevice/v4l.c:270:5: warning: statement with no effect [-Wunused-value] libavdevice/v4l.c:271:22: error: ‘VIDIOCMCAPTURE’ undeclared (first use in this function) libavdevice/v4l.c:271:5: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default] In file included from libavdevice/v4l.c:29:0: /usr/include/x86_64-linux-gnu/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct <anonymous> *’ libavdevice/v4l.c:280:52: error: request for member ‘frames’ in something not a structure or union libavdevice/v4l.c:280:37: error: invalid operands to binary % (have ‘int’ and ‘const struct <anonymous> *’) libavdevice/v4l.c:280:17: warning: assignment makes integer from pointer without a cast [enabled by default] libavdevice/v4l.c: In function ‘grab_read_close’: libavdevice/v4l.c:330:43: error: request for member ‘size’ in something not a structure or union libavdevice/v4l.c:330:9: warning: passing argument 2 of ‘munmap’ makes integer from pointer without a cast [enabled by default] In file included from libavdevice/v4l.c:30:0: /usr/include/x86_64-linux-gnu/sys/mman.h:77:12: note: expected ‘size_t’ but argument is of type ‘const struct <anonymous> *’ libavdevice/v4l.c:334:19: error: request for member ‘flags’ in something not a structure or union libavdevice/v4l.c:334:29: error: ‘VIDEO_AUDIO_MUTE’ undeclared (first use in this function) libavdevice/v4l.c:334:5: warning: statement with no effect [-Wunused-value] libavdevice/v4l.c:335:18: error: ‘VIDIOCSAUDIO’ undeclared (first use in this function) libavdevice/v4l.c:335:5: warning: passing argument 2 of ‘ioctl’ makes integer from pointer without a cast [enabled by default] In file included from libavdevice/v4l.c:29:0: /usr/include/x86_64-linux-gnu/sys/ioctl.h:42:12: note: expected ‘long unsigned int’ but argument is of type ‘const struct <anonymous> *’ make[3]: *** [libavdevice/v4l.o] Error 1 make[3]: Leaving directory `/home/ned17/cinelerra-4.4/quicktime/thirdparty/ffmpeg-0.6.1' make[2]: *** [x86_64/ffmpeg] Error 2 make[2]: Leaving directory `/home/ned17/cinelerra-4.4/quicktime' make[1]: *** [all] Error 2 make[1]: Leaving directory `/home/ned17/cinelerra-4.4' make: *** [all] Error 2 ned17@videoathlon:~/cinelerra-4.4$ There is about 200 lines of this before it dies. Any clues? Do I really need v4l.c doesn't v4l2.c do a better job. Or does one rely on the other? I have all the cl output if any one has the time. Thanks in advance, Ned _______________________________________________ Cinelerra mailing list Cinelerra@skolelinux.no https://lists.skolelinux.org/listinfo/cinelerra