Opened 2 years ago

Closed 2 years ago

#287 closed defect (fixed)

videodev.h removed from 2.6.38 kernel

Reported by: nucleo Owned by: laurent
Priority: major Milestone: QuteCom 2.3
Component: Build System Version: 2.2
Keywords: Cc:

Description

There are #include <linux/videodev.h>in QuteCom libs:

libs/webcam/include/webcam/V4LWebcamDriver.h
libs/pixertool/src/v4l/v4l-pixertool.c

videodev.h removed from 2.6.38 kernel, so qutecom build will be failed with this kernel.

Attachments (1)

new-videodev.patch (1.7 KB) - added by cavedon 2 years ago.

Download all attachments as: .zip

Change History (7)

Changed 2 years ago by cavedon

comment:1 Changed 2 years ago by cavedon

  • Component changed from GUI to Build System
  • Milestone changed from QuteCom 2.2-RC4 to QuteCom 2.3

Attached the patch needed to compile 2.2 on the latest ubuntu (natty).

comment:2 Changed 2 years ago by cavedon

PS: I did not check if it break compilation with older kernel, but I think it does not, as long as you have libv4l-dev installed.

comment:3 Changed 2 years ago by dneary

I also came across this issue and documented it in HowToBuildFromSource#NotesforUbuntuNatty - I did things slightly differently, though, including libv4l1.h rather than libv4l1-videodev.h and defining a couple of macros. That said, I think this was just enough to get it compiled, and my webcaml still isn't working, so maybe I need this patch too.

Dave.

comment:4 follow-up: Changed 2 years ago by dneary

It appears that this bug manifests differently on the trunk and on the 2.3 branch.

Ludovico, do you think we should make a final release off the 2.3 branch for the round of distributions coming out this Spring (Natty, Fedora 15, etc)?

Dave.

comment:5 in reply to: ↑ 4 Changed 2 years ago by cavedon

Replying to dneary:

It appears that this bug manifests differently on the trunk and on the 2.3 branch.

Yes, for the 2.2 branch you need to patch also phapi files...

Ludovico, do you think we should make a final release off the 2.3 branch for the round of distributions coming out this Spring (Natty, Fedora 15, etc)?

I am replying on the mailing list to you email, about this

comment:6 Changed 2 years ago by dneary

  • Resolution set to fixed
  • Status changed from new to closed

This has been patched for 2.2.1, by Ludovico.

Thanks!
Dave.

Note: See TracTickets for help on using tickets.