I've been unable to get Sampo Savolainen's patch to work. I used the version available here: http://www.mail-archive.com/[EMAIL PROTECTED]/msg20077.html by stripping the html out of the file. It doesn't apply to freshly downloaded 2.6.2 source (2 and 3 fail).

I've applied the patch by hand (and i was pretty careful) but on compile i get this list of errors:

CC drivers/usb/core/config.o
drivers/usb/core/config.c: In function `usb_parse_configuration':
drivers/usb/core/config.c:269: error: `lt' undeclared (first use in this function)
drivers/usb/core/config.c:269: error: (Each undeclared identifier is reported only once
drivers/usb/core/config.c:269: error: for each function it appears in.)
drivers/usb/core/config.c:269: error: parse error before ';' token
drivers/usb/core/config.c:270: error: `gt' undeclared (first use in this function)
drivers/usb/core/config.c:270: error: `num_altsetting' undeclared (first use in this function)
drivers/usb/core/config.c:270: error: `bAlternateSetting' undeclared (first use in this function)
drivers/usb/core/config.c:270: error: parse error before ')' token
drivers/usb/core/config.c:275: error: parse error before "else"
drivers/usb/core/config.c:205: warning: unused variable `k'
drivers/usb/core/config.c:207: warning: unused variable `altsetbuf'
drivers/usb/core/config.c:211: warning: unused variable `numskipped'
drivers/usb/core/config.c:211: warning: unused variable `len'
drivers/usb/core/config.c:212: warning: unused variable `begin'
drivers/usb/core/config.c:213: warning: unused variable `retval'
drivers/usb/core/config.c: At top level:
drivers/usb/core/config.c:281: warning: type defaults to `int' in declaration of `j'
drivers/usb/core/config.c:281: warning: data definition has no type or storage class
drivers/usb/core/config.c:282: error: parse error before '+=' token
drivers/usb/core/config.c:299: warning: type defaults to `int' in declaration of `len'
drivers/usb/core/config.c:299: error: `interface' undeclared here (not in a function)
drivers/usb/core/config.c:299: error: `interface' undeclared here (not in a function)
drivers/usb/core/config.c:299: warning: data definition has no type or storage class
drivers/usb/core/config.c:300: error: parse error before '->' token
drivers/usb/core/config.c:305: error: parse error before numeric constant
drivers/usb/core/config.c:312: warning: type defaults to `int' in declaration of `begin'
drivers/usb/core/config.c:312: error: `buffer' undeclared here (not in a function)


anyone have similar experience? is there a newer version of the patch?

thanks,
tony


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to