Hi,
I have sucessfully compiled the usb scanner module in 2.4.2 but when I
patched the vanilla sources from kernel.org up to 2.4.4 the module fails to
compile with the following output:
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2
-march=i686 -DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h -c -o scanner.o scanner.c
scanner.c:267: redefinition of `scanner_device_ids'
scanner.h:62: `scanner_device_ids' previously defined here
scanner.c:335: warning: excess elements in array initializer
scanner.c:335: warning: (near initialization for `scanner_device_ids')
scanner.c:336: warning: excess elements in array initializer
scanner.c:336: warning: (near initialization for `scanner_device_ids')
scanner.c:337: warning: excess elements in array initializer
scanner.c:337: warning: (near initialization for `scanner_device_ids')
scanner.c:340: redefinition of `__module_usb_device_size'
scanner.h:140: `__module_usb_device_size' previously defined here
scanner.c:340: redefinition of `__module_usb_device_table'
scanner.h:140: `__module_usb_device_table' previously defined here
make[2]: *** [scanner.o] Error 1
make[2]: Leaving directory `/usr/src/linux/drivers/usb'
make[1]: *** [_modsubdir_usb] Error 2
make[1]: Leaving directory `/usr/src/linux/drivers'
make: *** [_mod_drivers] Error 2
I again patched to 2.4.5 and recompiled with similar results.
I am using a Epson Perfection 640U scanner. Perhaps instead of adding an
entry I should edit an exitsting entry in scanner.c and/or scanner.h to match
{ USB_DEVICE(0x04b8, 0x010c) }.
Any help would be appreciated.
Thank You,
Stephen Hughes
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-users