Re: 2.2.7 UP joystick modules does not compile

Vojtech Pavlik (vojtech@twilight.ucw.cz)
Mon, 3 May 1999 11:21:47 +0200


On Thu, Apr 29, 1999 at 03:08:54PM +0200, Lenart Gabor wrote:
> Hi !
>
> ${SUBJECT}
>
> only a few lines from the output of make modules command :
>
>
> make[3]: Entering directory `/var/src/linux-2.2.7/drivers/char/joystick'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -pipe -fno-strength-reduce -m486 -malign-loops=2 -malign-jumps=2 -malign-functions=2 -DCPU=586 -DMODULE -DMODVERSIONS -include /usr/src/linux/include/linux/modversions.h -c -o joystick.o joystick.c
> In file included from joystick.c:39:
> /usr/src/linux/include/linux/joystick.h:48: warning: `LATCH' redefined
> /usr/src/linux/include/linux/timex.h:141: warning: this is the location of the previous definition

I think you've messed up your kernel sources - joystick.h on line 48 doesn't
define LATCH.

Perhaps you've copied an older joystick.h file (say from
joystick-0.8.0.tar.gz) into the kernel tree?

Vojtech

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/