Messages in this thread | | | Date | Thu, 29 Apr 1999 15:08:54 +0200 | From | Lenart Gabor <> | Subject | 2.2.7 UP joystick modules does not compile |
| |
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 joystick.c:81: parse error before `js_get_time' joystick.c:81: warning: type defaults to `int' in declaration of `js_get_time' joystick.c:81: warning: data definition has no type or storage class joystick.c:82: parse error before `js_delta' joystick.c:82: warning: type defaults to `int' in declaration of `js_delta' joystick.c:82: warning: data definition has no type or storage class joystick.c:85: parse error before `js_get_time_a' joystick.c:85: warning: type defaults to `int' in declaration of `js_get_time_a'joystick.c:85: warning: data definition has no type or storage class joystick.c:86: parse error before `js_delta_a' joystick.c:86: warning: type defaults to `int' in declaration of `js_delta_a' joystick.c:86: warning: data definition has no type or storage class joystick.c:170: parse error before `js_calibrate_time' joystick.c:170: parse error before `get_time' joystick.c:171: warning: return-type defaults to `int' joystick.c:171: warning: function declaration isn't a prototype joystick.c: In function `js_calibrate_time': joystick.c:177: warning: implicit declaration of function `get_time' joystick.c:183: warning: implicit declaration of function `delta' joystick.c: At top level: joystick.c:193: parse error before `js_calibrate_time_counter' joystick.c:194: warning: return-type defaults to `int' joystick.c:226: parse error before `js_setup_time' joystick.c:227: warning: return-type defaults to `int' joystick.c: In function `js_setup_time': joystick.c:245: `JS_HAS_RDTSC' undeclared (first use in this function) joystick.c:245: (Each undeclared identifier is reported only once [...] joystick.c:245: for each function it appears in.) joystick.c:304: `JS_VERSION' undeclared (first use in this function) joystick.c: At top level: joystick.c:337: warning: `struct js_corr' declared inside parameter list joystick.c:337: warning: its scope is only this definition or declaration, joystick.c:337: warning: which is probably not what you want. joystick.c: In function `js_correct': joystick.c:339: dereferencing pointer to incomplete type joystick.c:340: `JS_CORR_NONE' undeclared (first use in this function) joystick.c:342: `JS_CORR_BROKEN' undeclared (first use in this function) [...] joystick.c:341: warning: unreachable code at beginning of switch statement joystick.c: In function `js_add_event': [...] joystick.c:379: dereferencing pointer to incomplete type joystick.c:379: `JS_BUFF_SIZE' undeclared (first use in this function) joystick.c:379: dereferencing pointer to incomplete type joystick.c: In function `js_flush_data': [...] joystick.c: In function `js_process_data': joystick.c:406: dereferencing pointer to incomplete type joystick.c:407: dereferencing pointer to incomplete type joystick.c:407: dereferencing pointer to incomplete type joystick.c:408: `JS_EVENT_BUTTON' undeclared (first use in this function) joystick.c:409: dereferencing pointer to incomplete type [...] joystick.c:416: dereferencing pointer to incomplete type joystick.c:416: dereferencing pointer to incomplete type joystick.c:417: `JS_EVENT_AXIS' undeclared (first use in this function) joystick.c:418: dereferencing pointer to incomplete type joystick.c:418: dereferencing pointer to incomplete type joystick.c: In function `js_sync_buff': joystick.c:431: dereferencing pointer to incomplete type
root@oxygene:/usr/src/linux# gcc --version egcs-2.91.66
# # Joystick support # CONFIG_JOYSTICK=m CONFIG_JOY_ANALOG=m CONFIG_JOY_ASSASIN=m CONFIG_JOY_GRAVIS=m CONFIG_JOY_LOGITECH=m CONFIG_JOY_SIDEWINDER=m CONFIG_JOY_THRUSTMASTER=m CONFIG_JOY_LIGHTNING=m CONFIG_JOY_CONSOLE=m CONFIG_JOY_DB9=m CONFIG_JOY_TURBOGRAFX=m # CONFIG_DTLK is not set
Thanx, Gabor,
-- ---[ LGB/DC ]------------[ University Of Veszprém ]------[ Lénárt Gábor ]--- "The truth is out there" "We're l{ea,i}ving together" "The future is dark." ---[ 88/422022(4602) ]---[ http://lgb.hal.vein.hu ]---------[ 87/477074 ]--- finger lgb@hal2000.hal.vein.hu for more information including my PGP&GEEK code
- 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/
| |