Sorry, I found the solution... this worked for me too.
-Peter

################################################
Werner Laub w.laub at t-online.de
Mon Jul 10 21:25:00 CEST 2006

    * Previous message: [pwc] Re: pwc Digest, Vol 19,
Issue 1
    * Next message: [pwc] PWC + FC5
    * Messages sorted by: [ date ] [ thread ] [
subject ] [ author ]

Hi,
I had the exactly same problem compiling
pwc-10.0.12-rc1 with kernel 2.6.8-24.
I did not spent much time to investigate this problem.
The error message
tells what to do..
...
/home/pete/pwc-10.0.12-rc1/pwc-ioctl.h:60: error:
redefinition of typedef
'__le16'
include/linux/types.h:149: error: previous declaration
of '__le16' was here
...
If it is previously defined I don“t need it in
pwc-ioctl.h,
I fixed it for me this way ;-) 
...
#if LINUX_VERSION_CODE <= KERNEL_VERSION(2, 6, 10)
/* Compatibility for older kernel 
typedef __u16 __le16;
*/
#endif
...
Hope this helps.
Werner
#######################################


--- Peter Baitz <[EMAIL PROTECTED]> wrote:

> Hello,
> 
> I just want to make the pwc module, not patch the
> kernel. But having trouble with 'make' in the
> ./pwc-10.0.12-rc1 directory, as follows: 
> 
> [EMAIL PROTECTED] pwc-10.0.12-rc1]# make
> 
> make -C /lib/modules/2.6.9-42.0.2.EL/source
> SUBDIRS=/opt/pwc-10.0.12-rc1 modules
> make[1]: Entering directory
> `/usr/src/kernels/2.6.9-42.0.2.EL-i686'
>   CC [M]  /opt/pwc-10.0.12-rc1/pwc-if.o
> In file included from
> /opt/pwc-10.0.12-rc1/pwc-uncompress.h:35,
>                  from /opt/pwc-10.0.12-rc1/pwc.h:40,
>                  from
> /opt/pwc-10.0.12-rc1/pwc-if.c:69:
> /opt/pwc-10.0.12-rc1/pwc-ioctl.h:60: error:
> redefinition of typedef '__le16'
> include/linux/types.h:149: error: previous
> declaration
> of '__le16' was here
> make[2]: *** [/opt/pwc-10.0.12-rc1/pwc-if.o] Error 1
> make[1]: *** [_module_/opt/pwc-10.0.12-rc1] Error 2
> make[1]: Leaving directory
> `/usr/src/kernels/2.6.9-42.0.2.EL-i686'
> make: *** [all] Error 2
> 
> 
> Here's the kernel I am running on RHELinux WS v4: 
> 
> [EMAIL PROTECTED] pwc-10.0.12-rc1]# uname -a
> Linux baitzphws0.jmu.edu 2.6.9-42.0.2.EL #1 Thu Aug
> 17
> 17:36:53 EDT 2006 i686 i686 i386 GNU/Linux
> 
> 
> Please advise? 
> 
> Thank you,
> Peter
> 
> 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> _______________________________________________
> pwc mailing list
> [email protected]
> http://lists.saillard.org/mailman/listinfo/pwc
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
pwc mailing list
[email protected]
http://lists.saillard.org/mailman/listinfo/pwc

Reply via email to