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

Donald Becker <[email protected]>
Newsgroups gmane.linux.drivers.eepro100.devel
Message-ID <Pine.LNX.4.33.0206141840350.1042-100000@presario>
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				[email protected]
Scyld Computing Corporation		http://www.scyld.com
410 Severn Ave. Suite 210		Second Generation Beowulf Clusters
Annapolis MD 21403			410-990-9993
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.