Re: Compile problem with ov511.c (Kernel 2.4.5)
Erik Mouw (J.A.K.Mouw@ITS.TUDelft.NL)
Sun, 3 Jun 2001 12:24:09 +0200
On Sun, Jun 03, 2001 at 12:18:40AM -0700, Ben Greear wrote:
> gcc -D__KERNEL__ -I/home/greear/kernel/2.4/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -march=i686
> -DMODULE -DMODVERSIONS -include /home/greear/kernel/2.4/linux/include/linux/modversions.h -c -o ov511.o ov511.c
> ov511.c: In function `ov511_read_proc':
> ov511.c:340: `version' undeclared (first use in this function)
> ov511.c:340: (Each undeclared identifier is reported only once
> ov511.c:340: for each function it appears in.)
> make[2]: *** [ov511.o] Error 1
> make[2]: Leaving directory `/home/greear/kernel/2.4/linux/drivers/usb'
> make[1]: *** [_modsubdir_usb] Error 2
> make[1]: Leaving directory `/home/greear/kernel/2.4/linux/drivers'
> make: *** [_mod_drivers] Error 2
Try this patch:
http://boudicca.tux.org/hypermail/linux-kernel/2001week21/1010.html
Or use 2.4.5-ac*.
Erik
--
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031, 2600 GA Delft, The Netherlands
Phone: +31-15-2783635 Fax: +31-15-2781843 Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/