[netdrivers] pci-scan sundance 1.11, kernel 2.4.26

Dmitry Melekhov dm at belkam.com
Tue Jul 20 10:25:00 PDT 2004


Hello!

>modprobe sundance
>/lib/modules/2.4.26/kernel/drivers/net/sundance.o: unresolved symbol
>acpi_set_pwr_state

Ooops! I forgot to compile pci-scan.c.

But, unfortunately, I can't compile pci-scan.c available from
http://www.scyld.com/ethercard_drivers.html
against 2.4.26 :-(


# gcc -DMODULE -D__KERNEL__ -DEXPORT_SYMT
AB -Wall -Wstrict-prototypes -O6 -c pci-scan.c 2>&1 |more
In file included from pci-scan.c:52:
/usr/include/linux/version.h:2:2: #error
"======================================
================="
/usr/include/linux/version.h:3:2: #error "You should not include
/usr/include/{l
inux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation
of
kernel modules."


Could you help me?





More information about the netdrivers mailing list