Try to use the modflag  _LOOSE_KERNEL_NAMES  .. so it will
be -D_LOOSE_KERNEL_NAMES ....
regards
Norbert
----- Original Message -----
From: "shino korah" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Wednesday, February 12, 2003 7:11 AM
Subject: [linux-usb-devel] usb-skelton.c and 2.5 kernel


> 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.
> Please help
>
> Shino
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Shopping - Send Flowers for Valentine's Day
> http://shopping.yahoo.com
>
>
> -------------------------------------------------------
> 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



-------------------------------------------------------
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