ov511 driver doesn't compile

David Gómez (davidge@jazzfree.com)
Sat, 26 May 2001 12:52:48 +0200 (CEST)


On kernel 2.4.5, the ov511 usb driver shows a failure at compile
time. const version is not defined.

gcc -D__KERNEL__ -I/usr/src/linux-2.4.5/include -Wall -Wstrict-prototypes
-O2 -fomit-frame-pointer -fno-strict-aliasing -pipe
-mpreferred-stack-boundary=2 -march=i686 -DMODULE -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 `/usr/src/linux-2.4.5/drivers/usb'
make[1]: *** [_modsubdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.5/drivers'
make: *** [_mod_drivers] Error 2

David Gómez

"The question of whether computers can think is just like the question of
whether submarines can swim." -- Edsger W. Dijkstra

-
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/