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

Samer Yhya samer-yhya at yahoo.com
Thu Nov 7 16:46:45 EST 2002


Hi again,
I don’t understand why nobody gave a reaction to my
question. Is this the wrong mailing list for this sort
of questions? Is it impossible to answer? Do you need
more information? Should I buy another network card?

Please reply, anything you have to say will be much
appreciated.

Thanks


--- Samer Yhya <samer-yhya at yahoo.com> wrote:
> I'm trying to install a driver for my ethernet card
> on
> my Linux PC. I have RedHat8.0 kernel 2.4
> 
> I have the driver files provided by the card
> manufacturer "www.sweex.com". It's a tar.gz file
> containg five files (kern_compat.h , Makefile ,
> mtd80x.c , pci-scan.c , pci-scan.h). I followed the
> instructions to the letter but when I type in the
> "make" command it returns an error message: "make:
> ***
> [pci-scan.o] Error 1" (the full make output is given
> at the bottom).
> 
> I can see that Linux detected the network card in
> controll center (in KDE) ubder: information->PCI
> 00:0b.0 Ethernet controller: MYSON Technology Inc
> SURECOM EP-320x-s 100/10M Ethernet PCI Adapter....
> 
> Does that mean that I don't nead to indtall the
> driver
> or is it still nesessary? Can you see from the make
> output what the problem is?
> It's a shame to have the right driver and still not
> be
> abel to install the card  :(
> Please help
> 
> PS. On windows 98&2000 it was recognized with no
> problems. I'm actually using it now to get on the
> internet.
> 
> My system:
> Celeron 400 MHZ
> 128+64 MB RAM
> 
> 
> 
> 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 Yahoo!?
U2 on LAUNCH - Exclusive greatest hits videos
http://launch.yahoo.com/u2



More information about the Techtalk mailing list