Mailing List Archive

cannot compile ivtv-utils
Hello,

I just downloaded the ivtv-utils 1.3
(http://dl.ivtvdriver.org/ivtv/archive/1.3.x/ivtv-utils-1.3.0.tar.gz) and
tried to compile it. On my system I have kernel 2.6.29.2 installed. When I
try to compile, I get a bunch of errors, starting with:
make -C utils all
make[1]: Entering directory `/home/marc/dl2/ivtv-utils-1.3.0/utils'
g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
/usr/include/linux/videodev2.h:127: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:128: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:129: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:130: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:134: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:135: error: '__u32' does not name a type
/usr/include/linux/videodev2.h:143: error: '__u8' does not name a type

I also tried the bleeding edge driver, resulting in the same error message.

seems that ivtv is not working with this kernel, or am I doing something
wrong?

thanks for your help,
Marc

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel
Re: cannot compile ivtv-utils [ In reply to ]
On Thursday 14 May 2009 21:37:06 Marc Kessels wrote:
> Hello,
>
> I just downloaded the ivtv-utils 1.3
> (http://dl.ivtvdriver.org/ivtv/archive/1.3.x/ivtv-utils-1.3.0.tar.gz) and
> tried to compile it. On my system I have kernel 2.6.29.2 installed. When
> I try to compile, I get a bunch of errors, starting with:
> make -C utils all
> make[1]: Entering directory `/home/marc/dl2/ivtv-utils-1.3.0/utils'
> g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
> /usr/include/linux/videodev2.h:127: error: '__s32' does not name a type
> /usr/include/linux/videodev2.h:128: error: '__s32' does not name a type
> /usr/include/linux/videodev2.h:129: error: '__s32' does not name a type
> /usr/include/linux/videodev2.h:130: error: '__s32' does not name a type
> /usr/include/linux/videodev2.h:134: error: '__u32' does not name a type
> /usr/include/linux/videodev2.h:135: error: '__u32' does not name a type
> /usr/include/linux/videodev2.h:143: error: '__u8' does not name a type
>
> I also tried the bleeding edge driver, resulting in the same error
> message.
>
> seems that ivtv is not working with this kernel, or am I doing something
> wrong?

No, I still need to make a new ivtv-utils release. For the time being use
the trunk ivtv-utils version here:
http://ivtvdriver.org/viewcvs/ivtv/trunk.tar.gz?view=tar

My apologies, I will make a new release in the next week.

Regards,

Hans

--
Hans Verkuil - video4linux developer - sponsored by TANDBERG Telecom

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel
Re: cannot compile ivtv-utils [ In reply to ]
Hi Hans,

thanks for helping, but the error messages stay the same:
[marc@pcprive trunk]$ make
make -C utils all
make[1]: Entering directory `/home/marc/dl2/trunk/utils'
g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
/usr/include/linux/videodev2.h:127: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:128: error: '__s32' does not name a type
/usr/include/linux/videodev2.h:129: error: '__s32' does not name a type


something new in the 2.6.29.2 kernel?

yours,
Marc


On Friday 15 May 2009 08:11, Hans Verkuil wrote:
> On Thursday 14 May 2009 21:37:06 Marc Kessels wrote:
> > Hello,
> >
> > I just downloaded the ivtv-utils 1.3
> > (http://dl.ivtvdriver.org/ivtv/archive/1.3.x/ivtv-utils-1.3.0.tar.gz) and
> > tried to compile it. On my system I have kernel 2.6.29.2 installed. When
> > I try to compile, I get a bunch of errors, starting with:
> > make -C utils all
> > make[1]: Entering directory `/home/marc/dl2/ivtv-utils-1.3.0/utils'
> > g++ -D_GNU_SOURCE -O2 -Wall -g -I. -c -o v4l2-ctl.o v4l2-ctl.cpp
> > /usr/include/linux/videodev2.h:127: error: '__s32' does not name a type
> > /usr/include/linux/videodev2.h:128: error: '__s32' does not name a type
> > /usr/include/linux/videodev2.h:129: error: '__s32' does not name a type
> > /usr/include/linux/videodev2.h:130: error: '__s32' does not name a type
> > /usr/include/linux/videodev2.h:134: error: '__u32' does not name a type
> > /usr/include/linux/videodev2.h:135: error: '__u32' does not name a type
> > /usr/include/linux/videodev2.h:143: error: '__u8' does not name a type
> >
> > I also tried the bleeding edge driver, resulting in the same error
> > message.
> >
> > seems that ivtv is not working with this kernel, or am I doing something
> > wrong?
>
> No, I still need to make a new ivtv-utils release. For the time being use
> the trunk ivtv-utils version here:
> http://ivtvdriver.org/viewcvs/ivtv/trunk.tar.gz?view=tar
>
> My apologies, I will make a new release in the next week.
>
> Regards,
>
> Hans

_______________________________________________
ivtv-devel mailing list
ivtv-devel@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-devel