On Tue, 11 Feb 2003 22:11:42 -0800 (PST)
shino korah <[EMAIL PROTECTED]> wrote:

| Hi
| 
|    I tried compiling usb-skelton.c in 2.5 kernel and
| its giving compilation errors. I tried on 2.5.35 and
| 2.5.40.
| Is there anything I need to setup before I will get
| this compiled?
| Some of the errors on 2.5.35 are
| 
| gcc -DMODULE -D__KERNEL__
| -I/usr/src/linux-2.5.35/include  -O2 -Wall  -c -o
| usbdriver.o  usb-skeleton.c 
| usb-skeleton.c:120: field `tqueue' has incomplete type
| usb-skeleton.c:191: warning: initialization from
| incompatible pointer type
| usb-skeleton.c:192: warning: initialization from
| incompatible pointer type
| usb-skeleton.c: In function `skel_open':
| usb-skeleton.c:241: called object is not a function
| usb-skeleton.c:241: parse error before string constant
| usb-skeleton.c:243: invalid operands to binary &
| usb-skeleton.c:238: warning: `subminor' might be used
| uninitialized in this function
| usb-skeleton.c: In function `skel_release':
| usb-skeleton.c:294: called object is not a function
| usb-skeleton.c:294: parse error before string constant
| usb-skeleton.c:298: called object is not a function
| usb-skeleton.c:298: parse error before string constant
| usb-skeleton.c:298: warning: left-hand operand of
| comma expression has no effectusb-skeleton.c:298:
| parse error before `)'
| usb-skeleton.c:307: called object is not a function
| 
| 
| I took the usb-skelton from 2.5 kernel tree.

Did you take usb-skeleton.c from current or recent 2.5 kernel tree?
That won't be usable on 2.5.35 or 2.5.40 due to *many* kernel API
changes.

--
~Randy


-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to