After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 541081 - [v4l2src] Doesn't compile with on old kernel
[v4l2src] Doesn't compile with on old kernel
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
0.10.8
Other All
: Normal normal
: 0.10.9
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2008-07-01 13:43 UTC by Levente Farkas
Modified: 2008-07-08 08:24 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Levente Farkas 2008-07-01 13:43:55 UTC
Please describe the problem:
as i wrote in http://bugzilla.gnome.org/show_bug.cgi?id=536317 these changes is not working in older kernel eg. rhel/centos 5.x

Steps to reproduce:
1. 
2. 
3. 


Actual results:


Expected results:


Does this happen every time?


Other information:
Comment 1 Sebastian Dröge (slomo) 2008-07-07 21:30:41 UTC
What exactly is the compiler output when compiling on older kernels? V4L2_CID_TILT_RESET and the other one is only used if available.
Comment 2 Levente Farkas 2008-07-08 08:08:32 UTC
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -I../../gst-libs -I../../gst-libs -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2 -Wall -g -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tables -MT libgstvideo4linux2_la-gstv4l2vidorient.lo -MD -MP -MF .deps/libgstvideo4linux2_la-gstv4l2vidorient.Tpo -c gstv4l2vidorient.c -o libgstvideo4linux2_la-gstv4l2vidorient.o >/dev/null 2>&1
v4l2_calls.c: In function 'gst_v4l2_fill_lists':
v4l2_calls.c:278: error: 'V4L2_CID_PAN_RESET' undeclared (first use in this function)
v4l2_calls.c:278: error: (Each undeclared identifier is reported only once
v4l2_calls.c:278: error: for each function it appears in.)
v4l2_calls.c:279: error: 'V4L2_CID_TILT_RESET' undeclared (first use in this function)
make[3]: *** [libgstvideo4linux2_la-v4l2_calls.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
Comment 3 Sebastian Dröge (slomo) 2008-07-08 08:15:00 UTC
Is this with latest CVS?

The code currently is the following and can't fail this way

[...]
      case V4L2_CID_VCENTER:
#ifdef V4L2_CID_PAN_RESET
      case V4L2_CID_PAN_RESET:
#endif
#ifdef V4L2_CID_TILT_RESET
      case V4L2_CID_TILT_RESET:
#endif
[...]
Comment 4 Levente Farkas 2008-07-08 08:22:16 UTC
now it's high time for a new release.
Comment 5 Sebastian Dröge (slomo) 2008-07-08 08:24:46 UTC
Ok, so it's fixed in CVS... good. A new release of gst-plugins-good should be there in the next weeks I guess.