2003-01-03 20:10:01

by Meelis Roos

[permalink] [raw]
Subject: 2.4.21-pre2+bk: matroxfb compile broken

matroxfb_base.c: In function `matroxfb_ioctl':
matroxfb_base.c:1231: `MATROXFB_TVOQUERYCTRL' undeclared (first use in this function)
matroxfb_base.c:1231: (Each undeclared identifier is reported only once
matroxfb_base.c:1231: for each function it appears in.)
matroxfb_base.c:1233: storage size of `qctrl' isn't known
matroxfb_base.c:1233: warning: unused variable `qctrl'
matroxfb_base.c:1253: `MATROXFB_G_TVOCTRL' undeclared (first use in this function)
matroxfb_base.c:1255: storage size of `ctrl' isn't known
matroxfb_base.c:1255: warning: unused variable `ctrl'
matroxfb_base.c:1275: `MATROXFB_S_TVOCTRL' undeclared (first use in this function)
matroxfb_base.c:1277: storage size of `ctrl' isn't known
matroxfb_base.c:1277: warning: unused variable `ctrl'

This is current BK on x86, matroxfb as module.

--
Meelis Roos ([email protected])


2003-01-03 20:36:44

by Petr Vandrovec

[permalink] [raw]
Subject: Re: 2.4.21-pre2+bk: matroxfb compile broken

On 3 Jan 03 at 22:18, Meelis Roos wrote:
> matroxfb_base.c: In function `matroxfb_ioctl':
> matroxfb_base.c:1231: `MATROXFB_TVOQUERYCTRL' undeclared (first use in this function)
> matroxfb_base.c:1231: (Each undeclared identifier is reported only once
> matroxfb_base.c:1231: for each function it appears in.)
> matroxfb_base.c:1233: storage size of `qctrl' isn't known
> matroxfb_base.c:1233: warning: unused variable `qctrl'
> matroxfb_base.c:1253: `MATROXFB_G_TVOCTRL' undeclared (first use in this function)
> matroxfb_base.c:1255: storage size of `ctrl' isn't known
> matroxfb_base.c:1255: warning: unused variable `ctrl'
> matroxfb_base.c:1275: `MATROXFB_S_TVOCTRL' undeclared (first use in this function)
> matroxfb_base.c:1277: storage size of `ctrl' isn't known
> matroxfb_base.c:1277: warning: unused variable `ctrl'
>
> This is current BK on x86, matroxfb as module.

Probably patch to include/linux/matroxfb.h was missed by Marcelo
(or Alan). Try using include/linux/matroxfb.h from 2.4.20-ac2.
Best regards,
Petr Vandrovec
[email protected]