Hello, i have problem to compile the v4l2-apps from http://linuxtv.org/hg/v4l-dvb. I have loaded source archive of v4l-dvb (v4l-dvb-e4429a1b736c.tar.gz)
I have unpacked archive in directory /home/u/pkgSources/v4l-dvb-e4429a1b736c, then have executed commands as root user:
cd /home/u/pkgSources/v4l-dvb-e4429a1b736c/v4l2-apps [root@host-15 v4l2-apps]# make .... make[1]: Entering directory `/home/u/pkgSourceDir/v4l-dvb-e4429a1b736c/v4l2-apps/util' g++ -I../include -D_GNU_SOURCE -lm v4l2-ctl.cpp -o v4l2-ctl v4l2-ctl.cpp: In function ‘void printjpegcomp(const v4l2_jpegcompression&)’: v4l2-ctl.cpp:920: warning: format ‘%08lx’ expects type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ g++ -I../include -D_GNU_SOURCE -c -o v4l2-dbg.o v4l2-dbg.cpp g++ v4l2-dbg.o v4l2-chipids.o -o v4l2-dbg g++ -I../include -D_GNU_SOURCE -lm v4l2-compliance.cpp -o v4l2-compliance CC ivtv-ctl ivtv-ctl.c: In function ‘dowrite’: ivtv-ctl.c:247: warning: format not a string literal and no format arguments In file included from /usr/include/stdio.h:912, from ivtv-ctl.c:25: In function ‘snprintf’, inlined from ‘pts_to_string’ at ivtv-ctl.c:184, inlined from ‘main’ at ivtv-ctl.c:512: /usr/include/bits/stdio2.h:65: error: call to __builtin___snprintf_chk will always overflow destination buffer make[1]: *** [ivtv-ctl] Error 1 make[1]: Leaving directory `/home/u/pkgSourceDir/v4l-dvb-e4429a1b736c/v4l2-apps/util' make: *** [all] Error 2
Compilation has stopped with error.
[root@host-15 v4l2-apps]# uname -r 2.6.30-std-def-alt15
I use ALT Linux 5.0, but on Ubuntu 9.10 v4l2-apps has compiled successful.
Somebody can prompt in what there can be a problem?