Errors compiling RTL8180 driver

Simon admin at thelight.org.uk
Tue Aug 24 13:22:52 UTC 2004


Martin Canovas wrote:

> Hi folks,
> 
> I'm trying to make my Netgear wireless pcmcia card to work under FC2.
> I downloaded the driver for it, RTL8180 version 1.5. However, when I
> try to compile I'm getting lots of errors. Yes, I have the Makefile
> pointing to the correct paths.
> 
> Some errors:
> 
> In file included from /usr/src/linux-2.6.8-1.521/include/linux/config.h:4,
>                  from /usr/src/linux-2.6.8-1.521/include/linux/module.h:9,
>                  from r8180_pci_init.c:21:
> /usr/include/linux/autoconf.h:1:2: #error Invalid kernel header
> included in userspace
> In file included from /usr/src/linux-2.6.8-1.521/include/linux/compiler.h:24,
>                  from /usr/src/linux-2.6.8-1.521/include/linux/capability.h:17,
>                  from /usr/src/linux-2.6.8-1.521/include/linux/sched.h:7,
>                  from /usr/src/linux-2.6.8-1.521/include/linux/module.h:10,
>                  from r8180_pci_init.c:21:
> /usr/src/linux-2.6.8-1.521/include/linux/compiler-gcc3.h:17:1:
> warning: "__attribute_used__" redefinedIn file included from
> /usr/include/features.h:295,
>                  from /usr/include/unistd.h:26,
>                  from /usr/include/asm/param.h:4,
>                  from /usr/src/linux-2.6.8-1.521/include/linux/sched.h:4,
>                  from /usr/src/linux-2.6.8-1.521/include/linux/module.h:10,
>                  from r8180_pci_init.c:21:
> 
> 
> Can someone explain to me how to successfuly compile this driver?
> 
> Thanks,
> 
> Martin
> 
> 

I dont think you can compile the closed source realtek driver with 
current fedora kernels. You can however use ndiswrapper ( 
http://ndiswrapper.sourceforge.net ) with a winxp realtek driver 
successfully on fedora core 2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3411 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040824/932e7855/attachment-0001.bin>


More information about the fedora-list mailing list