On Thursday 21 May 2009 22:22:22 Marc Kessels wrote:
> On Thursday 21 May 2009 16:36, Hans Verkuil wrote:
> > On Friday 15 May 2009 17:48:06 Andy Walls wrote:
> > > Hans,
> > >
> > > Since you're going to release a new ivtv-utils soon: could you
> > > include the functionality in the attached patches?
> > >
> > > The *patch2 file is just a stripped down and renamed videodev2.h
> > > header file for the ivtv VBI private packet payload definitions.  If
> > > you're fixing up the types so videodev2.h can be included without the
> > > compile errors, then this custom header may not be needed.
> >
> > Thanks! I've applied this.
> >
> > Can you verify that the ivtv-utils trunk is compiling fine?
> >
> > See http://www.ivtvdriver.org/index.php/Svn_checkout for checkout
> > instructions.
> >
> > If all works fine for you, then I'll make a new 1.4.0 release.
> >
> > Regards,
> >
> >     Hans
>
> I just downloaded the svn trunk version, and tried to compile. This is my
> unsuccessful result on Linux 2.6.29.2 x86_64:
>
>
> [m...@pcprive ivtv]$ make
> make -C utils all
> make[1]: Entering directory `/home/marc/dl2/ivtv-trunk/ivtv/utils'
> g++ -D_GNU_SOURCE -O2 -Wall -g -I.   -c -o v4l2-ctl.o v4l2-ctl.cpp
> v4l2-ctl.cpp: In function 'void print_qctrl(int, v4l2_queryctrl*,
> v4l2_ext_control*, int)':
> v4l2-ctl.cpp:573: warning: format '%lld' expects type 'long long int',
> but argument 3 has type '__s64'
> v4l2-ctl.cpp: In function 'void printjpegcomp(const
> v4l2_jpegcompression&)': v4l2-ctl.cpp:793: warning: format '%08lx'
> expects type 'long unsigned int', but argument 2 has type 'unsigned int'
> v4l2-ctl.cpp: In function 'void list_devices()':
> v4l2-ctl.cpp:1152: warning: suggest parentheses around assignment used as
> truth value
> v4l2-ctl.cpp: In function 'int main(int, char**)':
> v4l2-ctl.cpp:1780: warning: comparison between signed and unsigned
> integer expressions
> v4l2-ctl.cpp:1790: warning: comparison between signed and unsigned
> integer expressions
> v4l2-ctl.cpp:1393: warning: 'overlay_fmt_ptr' may be used uninitialized
> in this function
> v4l2-ctl.cpp:1392: warning: 'set_overlay_fmt_ptr' may be used
> uninitialized in this function
> v4l2-ctl.cpp: At global scope:
> v4l2-ctl.cpp:896: warning: 'char* pts_to_string(char*, long unsigned
> int)' defined but not used
> g++ -lm -o v4l2-ctl v4l2-ctl.o
> cc -D_GNU_SOURCE -O2 -Wall -g -I.   -c -o ivtv-ctl.o ivtv-ctl.c
> ivtv-ctl.c: In function 'main':
> ivtv-ctl.c:557: error: 'VIDEO_GET_PTS' undeclared (first use in this
> function) ivtv-ctl.c:557: error: (Each undeclared identifier is reported
> only once ivtv-ctl.c:557: error: for each function it appears in.)
> ivtv-ctl.c:558: error: 'VIDEO_GET_FRAME_COUNT' undeclared (first use in
> this function)

What on earth is in your /usr/include/linux/dvb/video.h header? It should be 
defined there.

Anyway, I've added copies of the audio.h and video.h headers as well in 
ivtv-utils. Can you get the latest ivtv trunk and try again?

Regards,

        Hans

> ivtv-ctl.c:575: warning: format '%04llx' expects type 'long long unsigned
> int', but argument 2 has type '__u64'
> ivtv-ctl.c:580: warning: format '%04llx' expects type 'long long unsigned
> int', but argument 2 has type '__u64'
> ivtv-ctl.c:590: warning: format '%04llx' expects type 'long long unsigned
> int', but argument 2 has type '__u64'
> ivtv-ctl.c:593: warning: format '%04llx' expects type 'long long unsigned
> int', but argument 2 has type '__u64'
> ivtv-ctl.c:596: warning: format '%04llx' expects type 'long long unsigned
> int', but argument 2 has type '__u64'
> ivtv-ctl.c:640: error: 'AUDIO_BILINGUAL_CHANNEL_SELECT' undeclared (first
> use in this function)
> make[1]: *** [ivtv-ctl.o] Error 1
> make[1]: Leaving directory `/home/marc/dl2/ivtv-trunk/ivtv/utils'
> make: *** [all] Error 2
>
> yours,
> Marc
>
> _______________________________________________
> ivtv-devel mailing list
> [email protected]
> http://ivtvdriver.org/mailman/listinfo/ivtv-devel



-- 
Hans Verkuil - video4linux developer - sponsored by TANDBERG

_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel

Reply via email to