Hello,
I am using the aiptek-installer.pl (10-29-2004b.) The
kernel module build fails. Here's the output:
---
1°.
[OK] found major kernel version=2.4
[OK] aiptek.c exists for this kernel version
[OK] no need to gzip our module
2°.
[OK] using /usr/src/linux for kernel sources
[OK] no X source dir specified, I'll use prebuilt driver
3°.
md5sum: MD5 check failed for 'cert.c'
md5sum: MD5 check failed for 'hfc_pci.c'
aiptek.c: In function `aiptek_command':
aiptek.c:939: error: syntax error before "u8"
aiptek.c:941: error: `buf' undeclared (first use in
this function)
aiptek.c:941: error: (Each undeclared identifier is
reported only once
aiptek.c:941: error: for each function it appears in.)
aiptek.c:950: error: `ret' undeclared (first use in
this function)
make[1]: *** [aiptek.o] Error 1
make: *** [_mod_/usr/src/linux/drivers/usb] Error 2
cp: cannot stat `/usr/src/linux/drivers/usb/aiptek.o':
No such file or directory
[OK] aiptek.c copied in the kernel source tree
[OK] modules dependancies correctly generated
[OK] module successfully compiled
[OK] module copied
[OK] Your .config is in your kernel source tree
4°.
[OK] a prebuilt X driver exist for your running kernel
[OK] prebuilt driver copied in you X path
5°.6°.
---
HTH
Logged In: NO
line 939 is:
int ret u8 * buf;
Add a ";" after "ret"
int ret; u8 * buf;
then the module will be build