Summary: | Missing symbol V4L2_PIX_FMT_RGB444 leads to compilation error | ||
---|---|---|---|
Product: | [Unmaintained] kopete | Reporter: | Sabourin Gilles <sabourin.gilles> |
Component: | general | Assignee: | Kopete Developers <kopete-bugs-null> |
Status: | RESOLVED NOT A BUG | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | ifdef the missing V4L2_PIX_FMT_RGB444 if it's not defined. |
Description
Sabourin Gilles
2008-01-17 19:52:26 UTC
I can confirm this problem. Solution is to upgrade your kernel headers. Then this is not a solution : kernel headers, source and binary have to be upgraded at the same time to keep them consistent. You set it in RESOLVED INVALID state because you don't want to handle both old crafted code and new one in kopete's source with an ugly hack. That is correct. I myself had to upgrade to SUSE 10.3 in order to continue developing. Any distro containing KDE 4 will have a new enough kernel, and if it doesn't, then that's their fault. It is not our responsibility to support old kernels when we could make use of good features in newer ones. We're trying to move forward here. As a software engineer myself, I totally agree with you: retro compatibility is very costly. So to be more technically correct I will say: Solution is to upgrade your kernel and all related paraphernalia. In fact if it wasn't for gspca suporting a bazzillion of webcameras, I would simply remove the already deprecated V4L code and stick with V4L2 (I'm the Kopete video device developer). Mr. Xhaard of gspca's fame, although a hero for a lot of users, is a Freddy Krueger -type vilain for developers, as its gspca driver is V4L-only, and it's a nightmare to develop and maintain two backends for such distinct interfaces using the same devices and having to maintain an already-years-ago-deprecated API because there are too many users to ignore, and Mr. Xhaard is simply unwilling or even unable (based on his coding style) to impelement a saner, newer API in his drivers. Please reopen this bug for the 3.5 branch, since it is a clear regression and breaks compilation for many people! The solution "upgrade your kernel and all related paraphernalia" is not a valid one for people, like me, who just want to do a minor upgrade of their 3.5 installation and appreciate the stability of the kde-3.5 branch. For them it simply breaks compilation of kdenetwork, which should not happen in a minor upgrade. Especially for people who want to follow the mature 3.5 branch, there can be a number of good reasons for not upgrading the kernel (which in many cases is not regression free). In my case, I do not even have root access at work, so upgrading the kernel is not an option for me. Even without root, installing kde-3.5 has never been a problem in the past. Created attachment 23562 [details]
ifdef the missing V4L2_PIX_FMT_RGB444 if it's not defined.
Older versions of V4L2 do not have V4L2_PIX_FMT_RGB444 defined. Specifically
this is encountered on OpenSUSE 10.2. This ifdef in 3 places allows
compilation to complete successfully for kdenetwork. This patch is against
TRUNK, so it may need applied in the appropriate place for the 3.5.x branch.
|