[Techtalk] Error installing the driver of my 10/100MB Ethernet card

Jenn Vesperman jenn at anthill.echidna.id.au
Fri Nov 8 15:05:07 EST 2002


On Fri, 2002-11-08 at 10:46, Samer Yhya wrote:

Given this make output, I would assume that the driver is looking for a
library file that it isn't seeing. But I have no idea which file.


Jenn V.

> > make full output:
> > -----------------
> > 
> > [root at localhost linux-2.4.x]# touch *
> > [root at localhost linux-2.4.x]# make clean
> > rm -f *.o
> > [root at localhost linux-2.4.x]# make
> > gcc -DMODULE -D__KERNEL__  -I/usr/src/linux/include
> > -O
> > -Wall -Wstrict-prototypes   -c -o pci-scan.o
> > pci-scan.c
> > In file included from /usr/include/linux/fs.h:23,
> >                  from
> > /usr/include/linux/capability.h:17,
> >                  from
> > /usr/include/linux/binfmts.h:5,
> >                  from /usr/include/linux/sched.h:9,
> >                  from /usr/include/linux/mm.h:4,
> 
> .
> .
> .
> .
> 
> > pci-scan.c:259: warning: implicit declaration of
> > function `atomic_inc'
> > pci-scan.c:259: union has no member named `usecount'
> > pci-scan.c: In function `pci_drv_unregister':
> > pci-scan.c:422: warning: implicit declaration of
> > function `atomic_dec'
> > pci-scan.c:422: union has no member named `usecount'
> > pci-scan.c:429: warning: implicit declaration of
> > function `kfree'
> > pci-scan.c: In function `acpi_wake':
> > pci-scan.c:489: warning: implicit declaration of
> > function `pci_write_config_dword'
> > pci-scan.c: In function `cleanup_module':
> > pci-scan.c:522: `KERN_WARNING' undeclared (first use
> > in this function)
> > pci-scan.c:522: parse error before string constant
> > make: *** [pci-scan.o] Error 1
> > [root at localhost linux-2.4.x]#

-- 
    "Do you ever wonder if there's a whole section of geek culture 
        	you miss out on by being a geek?" - Dancer.

jenn at anthill.echidna.id.au     http://anthill.echidna.id.au/~jenn/





More information about the Techtalk mailing list