[vortex] Compiling kernel without modules-support

Steinar Kaaro Steinar.Kaaro@ub.ntnu.no
Tue, 8 Aug 2000 16:01:22 +0200


Hello all!
I'm trying to update the 3c59x.c driver in a 2.2.14 kernel
(RedHat 6.2). The driver must be compiled-in (not a module),
because the kernel is used on a diskless machine (100 X-
terminals actually). I've copied the driver and the other
files to ...drivers/net:

3c59x.c
kern_compat.h
pci-scan.c
pci-scan.h
pci-skeleton.c

When I try to compile the kernel I get these messages:

drivers/net/net.a(3c59x.o): In function `tc59x_probe':
3c59x.o(.text+0x12): undefined reference to `pci_drv_register'
drivers/net/net.a(3c59x.o): In function `vortex_open':
3c59x.o(.text+0xa40): undefined reference to `acpi_wake'
drivers/net/net.a(3c59x.o): In function `pwr_event':
3c59x.o(.text+0x329b): undefined reference to `acpi_set_pwr_state'
make: *** [vmlinux] Error 1 

I'm no compiling guru, so if someone could give me some hints
I would be grateful.

Regards,
Steinar Kaarų
Norwegian University of Science and Technology