Hi,
I want to interface joystick to kernel 2.4.18-26.7.x, RH 7.3. While compiling the joystick-1.2.15.tar.gz, i am facing hell of compilation errors. A few lines are like this...
gcc -O2 -Wall -pipe -m486 -fomit-frame-pointer -I. -D__KERNEL__ -DMODULE -DMODVERSIONS -include /usr/src/linux-2.4/include/linux/modversions.h -DEXPORT_SYMTAB -c joystick.c -o joystick.o
In file included from joystick.c:1:
/usr/src/linux-2.4/include/linux/modversions.h:5:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:6:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:7:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:8:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:9:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:10:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:11:36: linux/modules/53c700.ver: No such file or directory
/usr/src/linux-2.4/include/linux/modversions.h:12:36: linux/modules/53c700.ver: No such file or directory
I have changed the /usr/src/linux to /usr/src/linux-2.4. It's like this in my machine. It's telling error in modversions.h. where is the problem? have anyone installed successfully? I have posted regarding this many times, but i am not getting any suggestions....