Re: kernel/ksyms.c - v4l2 patch fails on 2.4.19-rc3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, Jul 25, 2002 at 01:38:17PM +0200, Bill Eldridge wrote:
> The chunk adding EXPORT_SYMBOL(do_select) fails
> on kernel/ksyms.c

i am also trying to build 2.4.19-rc3 with v4l2-01-add-api-2.4.19-pre8.diff.gz

i manually applied the failed chunk in kernel/ksyms.c.

When i try to compile, it blows up here:

make[4]: Entering directory `/usr/src/linux/drivers/media/video'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h  -nostdinc -I /usr/lib/gcc-lib/i386-linux/2.95.4/include -DKBUILD_BASENAME=videodev  -DEXPORT_SYMTAB -c videodev.c
In file included from videodev.c:35:
/usr/src/linux/include/linux/videodev.h:138: warning: `V4L2_PIX_FMT_YUV422P' redefined
/usr/src/linux/include/linux/videodev2.h:113: warning: this is the location of the previous definition
/usr/src/linux/include/linux/videodev.h:139: warning: `V4L2_PIX_FMT_YUV411P' redefined
/usr/src/linux/include/linux/videodev2.h:114: warning: this is the location of the previous definition
In file included from videodev.c:35:
/usr/src/linux/include/linux/videodev.h:68: redefinition of `struct v4l2_capability'
/usr/src/linux/include/linux/videodev.h:109: redefinition of `struct v4l2_pix_format'
/usr/src/linux/include/linux/videodev.h:175: redefinition of `struct v4l2_fmtdesc'
/usr/src/linux/include/linux/videodev.h:185: redefinition of `struct v4l2_cvtdesc'
/usr/src/linux/include/linux/videodev.h:197: redefinition of `struct v4l2_fxdesc'
/usr/src/linux/include/linux/videodev.h:211: redefinition of `struct v4l2_timecode'
/usr/src/linux/include/linux/videodev.h:241: redefinition of `struct v4l2_compression'
/usr/src/linux/include/linux/videodev.h:253: redefinition of `struct v4l2_requestbuffers'
/usr/src/linux/include/linux/videodev.h:259: redefinition of `struct v4l2_buffer'
/usr/src/linux/include/linux/videodev.h:311: redefinition of `struct v4l2_framebuffer'
...

i notice that there are two similar videodev.h headers which seem to be
conflicting:

remix:/usr/src/linux/include/linux# ls -l videodev*
-rw-r--r--    1 root     root        42570 Jul 27 20:09 videodev.h
-rw-r--r--    1 root     root        28125 Jul 27 20:04 videodev2.h

i tried renaming one or the other to $file.old, but that only produced
different compile errors.

Any clue how to resolve this?

-- 
Victory to the Divine Mother!!         after all,
  http://sahajayoga.org                  http://why-compete.org





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux