|
hi,
i�m having problem to install the DT3500 driver,
may be i�m doing something wrong?!
LOG: (after tar -zxvf xxx.tar.gz)
/linux/infDT3500# make cc -D_USB_ -g -fpic -w -c ifdhandler.c -I. -I/usr/local/include/include mv ifdhandler.o ifdhandler_usb.o ld -g -shared ifdhandler_usb.o -o libDT3500.so [EMAIL PROTECTED]:/bruno/linux/infDT3500# [EMAIL PROTECTED]:/bruno/linux/infDT3500# ls LICENSE Makefile README ifdhandler.c ifdhandler.h ifdhandler_usb.o infineer.h kernel/ libDT3500.so* pcscdefines.h [EMAIL PROTECTED]:/bruno/linux/infDT3500# cd kernel [EMAIL PROTECTED]:/bruno/linux/infDT3500/kernel# make cc -c -O3 -D__KERNEL__ -DMODULE -Wall -I/usr/src/linux/include -I/usr/src/linux/drivers/usb DT3500.c In file included from DT3500.c:3: DT3500.h:13: syntax error before "devrequest" DT3500.h:13: warning: no semicolon at end of struct or union DT3500.h:16: syntax error before '}' token In file included from DT3500.c:4: /usr/src/linux/include/linux/malloc.h:4:2: warning: #warning linux/malloc.h is deprecated, use linux/slab.h instead. DT3500.c: In function `DT3500_irq': DT3500.c:17: dereferencing pointer to incomplete type DT3500.c:17: dereferencing pointer to incomplete type DT3500.c:18: dereferencing pointer to incomplete type DT3500.c:18: dereferencing pointer to incomplete type DT3500.c:11: warning: unused variable `minor' DT3500.c: In function `DT3500_open': DT3500.c:37: invalid use of undefined type `struct DT3500_t' DT3500.c:41: invalid use of undefined type `struct DT3500_t' DT3500.c:43: invalid use of undefined type `struct DT3500_t' DT3500.c:44: invalid use of undefined type `struct DT3500_t' DT3500.c:45: invalid use of undefined type `struct DT3500_t' DT3500.c:45: invalid use of undefined type `struct DT3500_t' DT3500.c:46: invalid use of undefined type `struct DT3500_t' DT3500.c:46: invalid use of undefined type `struct DT3500_t' DT3500.c:47: invalid use of undefined type `struct DT3500_t' DT3500.c:48: invalid use of undefined type `struct DT3500_t' DT3500.c:48: invalid use of undefined type `struct DT3500_t' DT3500.c:49: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:51: invalid use of undefined type `struct DT3500_t' DT3500.c:52: invalid use of undefined type `struct DT3500_t' DT3500.c: In function `DT3500_close': DT3500.c:62: invalid use of undefined type `struct DT3500_t' DT3500.c:63: invalid use of undefined type `struct DT3500_t' DT3500.c:64: invalid use of undefined type `struct DT3500_t' DT3500.c:65: invalid use of undefined type `struct DT3500_t' DT3500.c:66: invalid use of undefined type `struct DT3500_t' DT3500.c:67: invalid use of undefined type `struct DT3500_t' DT3500.c: In function `DT3500_read': DT3500.c: In function `DT3500_read': DT3500.c:83: invalid use of undefined type `struct DT3500_t' DT3500.c:83: invalid use of undefined type `struct DT3500_t' DT3500.c:84: invalid use of undefined type `struct DT3500_t' DT3500.c:84: invalid use of undefined type `struct DT3500_t' DT3500.c:85: invalid use of undefined type `struct DT3500_t' DT3500.c:85: invalid use of undefined type `struct DT3500_t' DT3500.c:85: invalid use of undefined type `struct DT3500_t' DT3500.c:85: invalid use of undefined type `struct DT3500_t' DT3500.c:86: invalid use of undefined type `struct DT3500_t' DT3500.c:86: invalid use of undefined type `struct DT3500_t' DT3500.c:77: warning: unused variable `i' DT3500.c:78: warning: unused variable `flags' DT3500.c: In function `DT3500_write': DT3500.c:123: invalid use of undefined type `struct DT3500_t' DT3500.c:123: invalid use of undefined type `struct DT3500_t' DT3500.c:130: invalid use of undefined type `struct DT3500_t' DT3500.c:130: invalid use of undefined type `struct DT3500_t' DT3500.c:131: invalid use of undefined type `struct DT3500_t' DT3500.c:131: invalid use of undefined type `struct DT3500_t' DT3500.c:112: warning: unused variable `i' DT3500.c:115: warning: unused variable `timeout' DT3500.c: In function `DT3500_probe': DT3500.c:162: invalid use of undefined type `struct DT3500_t' DT3500.c:164: invalid use of undefined type `struct DT3500_t' DT3500.c:165: invalid use of undefined type `struct DT3500_t' DT3500.c:178: invalid use of undefined type `struct DT3500_t' DT3500.c:179: invalid use of undefined type `struct DT3500_t' DT3500.c:149: warning: unused variable `ret' DT3500.c:150: warning: unused variable `pipe' DT3500.c:150: warning: unused variable `maxp' DT3500.c: At top level: DT3500.c:188: warning: initialization from incompatible pointer type DT3500.c:7: storage size of `udevice' isn't known make: *** [DT3500.o] Error 1 [EMAIL PROTECTED]:/bruno/linux/infDT3500/kernel#
i�m tryng it on slackware 9.1 with kernel 2.4.22.
[]�s
bruno ricci |
