From: Bruce S. <bru...@ce...> - 2003-09-04 22:24:17
|
Ping Cheng <pi...@wa...> writes: > Jimmy is working on kernel 2.6 as well. He is trying to test the new > code with test4. OK, may as well discuss it on the mailing list then. > From your previous message, I think your change was for mousedev.c > instead of wacom.c. Oops, you're right. With the new mousedev.c (the one in the tarball, as opposed to the one you sent me by email previously), firstly it can't find linux/modversions.h, so I changed that to config/modversions.h, but then more goes wrong: ---------------------------------------------------------------------- make[1]: Entering directory `/var/src/linux-2.6.0-test4' CHK include/linux/version.h make[2]: `arch/i386/kernel/asm-offsets.s' is up to date. CC [M] drivers/input/mousedev.o drivers/input/mousedev.c:75: error: syntax error before "devfs_handle_t" drivers/input/mousedev.c:75: warning: no semicolon at end of struct or union drivers/input/mousedev.c: In function `mousedev_event': drivers/input/mousedev.c:112: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:172: error: dereferencing pointer to incomplete type drivers/input/mousedev.c: In function `mousedev_release': drivers/input/mousedev.c:191: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:198: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:199: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:200: error: structure has no member named `handle' drivers/input/mousedev.c:203: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:204: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:205: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:207: warning: implicit declaration of function `input_unregister_minor' drivers/input/mousedev.c:207: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:208: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:212: error: structure has no member named `hnext' drivers/input/mousedev.c:215: error: invalid use of undefined type `struct mousedev' drivers/input/mousedev.c:216: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:217: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:219: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:220: error: dereferencing pointer to incomplete type drivers/input/mousedev.c: In function `mousedev_open': drivers/input/mousedev.c:236: error: invalid operands to binary & drivers/input/mousedev.c:246: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:247: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:250: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:251: error: dereferencing pointer to incomplete type drivers/input/mousedev.c:252: error: structure has no member named `handle' drivers/input/mousedev.c:255: error: dereferencing pointer to incomplete type ---------------------------------------------------------------------- There's clearly some mismatch. The build stops there, so I don't know whether wacom.c builds. Everything built fine (after changing linux/modversions.h to config/modversions.h) in the linuxwacom-dev directory (outside the kernel, that is). I'm just not sure what to do with the resulting kernel modules, since they don't exactly match modules in the 2.6.0-test4 kernel (hid-core no longer seems to exist; instead there seems to be a hid.ko which may include files other than hid-core.o from that directory). And copying over wacom_drv.o (without messing with the kernel modules at all) does kind of work---it's just that the tablet movement seems really sticky. So far I haven't got to a situation where the tablet fails to work altogether---I'm not sure whether that's a good or bad thing. [...] |