Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
Rainer Lay wrote:
>> 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
>> > In file included from hp3300c_libusb.c:33,
>> > from main.c:36:
>> > /usr/include/usb.h:55: error: redefinition of `struct >
>> > /usr/include/usb.h:61: error: redefinition of `struct >
>> > /usr/include/usb.h:78: error: redefinition of `struct >
>> > /usr/include/usb.h:103: error: redefinition of `struct >
>> > /usr/include/usb.h:129: error: redefinition of `struct >
>> > /usr/include/usb.h:146: error: redefinition of `struct >
>> > 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
I don't understand where the error is coming from.
On my system it worked fine, I tried the CVS version of libusb
It must some kind of other header file that I don't know about,
that is giving problems.