pwc
[Top] [All Lists]

[pwc] parse error before "__le16"

To:
Subject: [pwc] parse error before "__le16"
From: Timur Tabi <>
Date: Mon, 16 Jan 2006 15:13:48 -0600
I just downloaded and pwc 10.0.11 and tried to build it, but I got this:

:~/pwc-10.0.11> make
make -C /lib/modules/2.6.5-7.97-custom/source SUBDIRS=/root/pwc-10.0.11 modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.97'
  CC [M]  /root/pwc-10.0.11/pwc-if.o
In file included from /root/pwc-10.0.11/pwc-uncompress.h:35,
                 from /root/pwc-10.0.11/pwc.h:40,
                 from /root/pwc-10.0.11/pwc-if.c:69:
/root/pwc-10.0.11/pwc-ioctl.h:315: error: parse error before "__le16"
/root/pwc-10.0.11/pwc-ioctl.h:315: warning: no semicolon at end of struct or union /root/pwc-10.0.11/pwc-ioctl.h:316: warning: type defaults to `int' in declaration of `vbandlength' /root/pwc-10.0.11/pwc-ioctl.h:316: warning: data definition has no type or storage class
/root/pwc-10.0.11/pwc-ioctl.h:319: error: parse error before '}' token
/root/pwc-10.0.11/pwc-ioctl.h:319: warning: empty declaration
/root/pwc-10.0.11/pwc-if.c: In function `pwc_isoc_cleanup':
/root/pwc-10.0.11/pwc-if.c:926: warning: implicit declaration of function `usb_kill_urb'
/root/pwc-10.0.11/pwc-if.c: In function `pwc_video_read':
/root/pwc-10.0.11/pwc-if.c:1287: error: invalid application of `sizeof' to an incomplete type
make[2]: *** [/root/pwc-10.0.11/pwc-if.o] Error 1
make[1]: *** [_module_/root/pwc-10.0.11] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.97'
make: *** [all] Error 2

I'm running Suse Enterprise 9 (kernel 2.6.5-7.97).

I'm an experienced kernel developer, so I don't need help understanding the problem. I want to point out, however, that "__le16" is not defined anywhere in my kernel header files. Can someone tell me where it's supposed to be defined?
_______________________________________________
pwc mailing list

http://lists.saillard.org/mailman/listinfo/pwc

<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU