From: Rainer L. <La...@in...> - 2003-11-30 19:45:46
|
> Rainer Lay wrote: > > Hi, > > > > I tried to compile the driver an a SuSE 9.0 machine: > > > > cd ../testtool > > ./patch-sane.sh ../sane-backends-1.0.13 > > Adding new files to the SANE source tree... DONE > > Modifying doc/Makefile.in... DONE > > Modifying backend/Makefile.in... DONE > > Relocating files... DONE > > Modifying backend/dll.conf... DONE > > SANE patched with success! > > + make clean > > rm -f *.o testtool *~ > > + make > > gcc -Wall -g -DLINUX_USB_SUPPORT -DLIBUSB_SUPPORT -c -o main.o main.c > > In file included from hp3300c_libusb.c:33, > > from main.c:36: > > /usr/include/usb.h:55: error: redefinition of `struct > > usb_descriptor_header' > > /usr/include/usb.h:61: error: redefinition of `struct > > usb_string_descriptor' > > /usr/include/usb.h:78: error: redefinition of `struct > > usb_endpoint_descriptor' > > /usr/include/usb.h:103: error: redefinition of `struct > > usb_interface_descriptor' > > /usr/include/usb.h:129: error: redefinition of `struct > > usb_config_descriptor' > > /usr/include/usb.h:146: error: redefinition of `struct > > usb_device_descriptor' > > make: *** [main.o] Fehler 1 > > > > I am using SuSEs libusb-0.1.8beta-39 version of libusb. > > Any hints? > > It looks like there are multiple header files that define some > usb structs. Where does /usr/include/usb.h come from? from libusb-0.1.8beta-39 package Rainer |