Errors compiling RTL8180 driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux