On Sun, 2002-11-17 at 17:55, Simon Bryan wrote:
> Hi all,
> I am trying to get a second NIC running in my RH7.2 server. It is Rtl8139. I
> have now exhausted my pool of knowledge and turn to the collective wisdom of
> SLUG.

Have you tried the 8139too driver instead of the rtl8139?

> 
> I am following the instructions on www.scyld.com (or at least I think I am)
> 
> If I try to compile the module from the rtl8139.c file using:
> 
> gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
> 
try:
 gcc -DMODULE -I/lib/modules/`uname -r`/build/include -Wall 
-Wstrict-prototypes -O6 -c rtl8139.c 

To fix this properly requires editing the Makefiles for the package, and
I'm guessing it is related to changes to glibc since the src.rpms were
released.

> Then:
> cd /usr/src/{redhat,TurboLinux,packages}/
> rpm -bb SPECS/netdriver*.spec
> 
> 
> Gives these errors:
> 
> pci-skeleton.c:140: parse error before string constant
> pci-skeleton.c:140: warning: type defaults to `int' in declaration of
> `MODULE_LICENSE'
> pci-skeleton.c:140: warning: function declaration isn't a prototype
> pci-skeleton.c:140: warning: data definition has no type or storage class
> make: *** [pci-skeleton.o] Error 1
> error: Bad exit status from /var/tmp/rpm-tmp.36936 (%build)

No real idea here.

Cheers,
Malcolm V.


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to