On Sat, Dec 06, 2003 at 05:23:07PM +0200, Tzafrir Cohen wrote: > On Sat, Dec 06, 2003 at 05:02:46PM +0200, Shaul Karl wrote: > > On Sat, Dec 06, 2003 at 03:01:03PM +0200, Ivor Terret wrote: > > > >> > > > >>alfred:/usr/src/eciadsl-usermode-0.8 # make install > > > >>cc -ansi -pedantic -Wall -W -c -o pusb.o pusb.c > > > >>In file included from pusb.c:13: > > > >>pusb-linux.c:69: error: redefinition of `struct usb_device_descriptor' > > > >>pusb-linux.c: In function `pusb_control_msg': > > > >>pusb-linux.c:254: error: structure has no member named `requesttype' > > > >>pusb-linux.c:255: error: structure has no member named `request' > > > >>pusb-linux.c:256: error: structure has no member named `value' > > > >>pusb-linux.c:257: error: structure has no member named `index' > > > >>pusb-linux.c:258: error: structure has no member named `length' > > > >>pusb-linux.c: In function `pusb_device_get_urb': > > > >>pusb-linux.c:555: warning: unused variable `retry' > > > >>make: *** [pusb.o] Error 1 > > > >> > > But this is redifinition, not "undefined". >
It does make the compiler report errors, which are fatal in this case since the program fails to get compiled. I doubt if another compiler could have done a better job because there are missing members as well. It could be that a quick way to evaluate if other handers will solve the problem is to see whether those members are defined in the other source. Perhaps googling for some of those error messages will turn out something useful? -- "If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have an idea and we exchange these ideas, then each of us will have two ideas." -- George Bernard Shaw (sent by shaulk @ actcom . net . il) ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
