2002-04-06 23:56:48

by Richard Gooch

[permalink] [raw]
Subject: bttv compile failure in 2.5.8-pre2

Hi, all. Compiling 2.5.8-pre2, I got the following:

bttv-driver.c:2650: `video_generic_ioctl' undeclared here (not in a function)
bttv-driver.c:2650: initializer element is not constant
bttv-driver.c:2650: (near initialization for `bttv_fops.ioctl')
bttv-driver.c:2655: initializer element is not constant
bttv-driver.c:2655: (near initialization for `bttv_fops')
bttv-driver.c:2664: unknown field `kernel_ioctl' specified in initializer
bttv-driver.c:2771: `video_generic_ioctl' undeclared here (not in a function)
bttv-driver.c:2771: initializer element is not constant
bttv-driver.c:2771: (near initialization for `radio_fops.ioctl')
bttv-driver.c:2773: initializer element is not constant
bttv-driver.c:2773: (near initialization for `radio_fops')
bttv-driver.c:2781: unknown field `kernel_ioctl' specified in initializer
make[3]: *** [bttv-driver.o] Error 1

Regards,

Richard....
Permanent: [email protected]
Current: [email protected]


2002-04-07 09:15:08

by Gerd Knorr

[permalink] [raw]
Subject: Re: bttv compile failure in 2.5.8-pre2

Richard Gooch wrote:
> Hi, all. Compiling 2.5.8-pre2, I got the following:
>
> bttv-driver.c:2650: `video_generic_ioctl' undeclared here (not in a function)

The same is true for nearly all other v4l drivers. Dave picked up my
videodev patch from the list and feeded it to Linus, but all the related
driver fixes are not in the kernel yet ...

2.4.7 patches are at http://bytesex.org/patches/2.5/
I'll rediff against -pre2 and resend stuff next days ...

Gerd

--
#include </dev/tty>