[eepro100] Compile errors

John Jones johnj@ActiveState.com
Mon Sep 16 18:31:00 2002


In following the instructions on the website for updating the drivers, I
have hit a snag on 'make bzImage'.  Error dump follows:


--------------------------------------------------------------------
make[2]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib'
make[1]: Leaving directory `/usr/src/linux-2.2.16/arch/i386/lib'
gcc -D__KERNEL__ -I/usr/src/linux-2.2.16/include -E -C -P -I/usr/src/linux-2
.2.16/include -imacros
/usr/src/linux-2.2.16/include/asm-i386/page_offset.h -Ui386
arch/i386/vmlinux.lds.S >arch/i386/vmlinux.lds
ld -m elf_i386 -T /usr/src/linux-2.2.16/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
        fs/filesystems.a \
        net/network.a \
        drivers/block/block.a drivers/char/char.a drivers/misc/misc.a
drivers/net/net.a drivers/scsi/scsi.a drivers/cdrom/cdrom.a
drivers/pci/pci.a drivers/pnp/pnp.a drivers/video/video.a drivers/i2o/i2o.a
drivers/i2o/i2o.a \
        /usr/src/linux-2.2.16/arch/i386/lib/lib.a
/usr/src/linux-2.2.16/lib/lib.a /usr/src/linux-2.2.16/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/net/net.a(eepro100.o): In function `speedo_found1':
eepro100.o(.text+0x63): undefined reference to `acpi_set_pwr_state'
eepro100.o(.text+0x57e): undefined reference to `acpi_set_pwr_state'
drivers/net/net.a(eepro100.o): In function `speedo_open':
eepro100.o(.text+0x977): undefined reference to `acpi_set_pwr_state'
drivers/net/net.a(eepro100.o): In function `speedo_close':
eepro100.o(.text+0x1dbf): undefined reference to `acpi_set_pwr_state'
drivers/net/net.a(eepro100.o): In function `speedo_ioctl':
eepro100.o(.text+0x1f69): undefined reference to `acpi_set_pwr_state'
drivers/net/net.a(eepro100.o)(.text+0x1f8f): more undefined references to
`acpi_set_pwr_state' follow
drivers/net/net.a(eepro100.o): In function `eepro100_probe':
eepro100.o(.text+0x2858): undefined reference to `pci_drv_register'
make: *** [vmlinux] Error 1
-------------------------------------------------------------------

Redhat 6.2, custom 2.2.16 kernel with ip_masq_gre VPN compiled in.

I have ensured that the pci-scan.* and kern-compat.h files are ftp'ed down
and built.  Any help appreciated.  We are having all kinds of 'eth0: card
reports no resources' errors.


John Jones
System Administrator
ActiveState.com