[eepro100] Unresolved symbols, pci-scan.c/eepro100.c and 2.2.19-6.2.16enterprise redhat 6.2

Donald Becker becker@scyld.com
Fri Jun 14 18:44:01 2002


On Thu, 13 Jun 2002, G-man wrote:

> This is a redhat 6.2 box running 2.2.19-6.2.16enterprise. Box is completely
> up todate with its rpms..
>
> kernel-enterprise-2.2.19-6.2.16
...
> I download the eepro100.c and pci-scan.c yesterday..
> I compiled modules like this:
> gcc -I/usr/src/linux/include -I/usr/src/linux/include/linux/modversions.h -D
> MODULE  -D__KERNEL__ -DEXPORT_SYMTAB -O6 -c pci-scan.c

Try using this Makefile
      ftp://www.scyld.com/pub/network/Makefile
which tries to find the correct header files, despite the myriad ways
that distributions try to misplace them.

It should find the proper kernel header files, likely someplace such as
  -I/lib/modules/2.2.19-6.2.16/kernel/include/

> Using /lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o
> /lib/modules/2.2.19-6.2.16enterprise/net/pci-scan.o: unresolved symbol
> __ioremap_R9eac042a

Yup, wrong header files for the kernel you are using, combined with
a module version implementation that's a little too picky.

-- 
Donald Becker				becker@scyld.com
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993