[realtek] Compiling errors with rtl8129.c

dystopia@gmx.net dystopia@gmx.net
Wed, 5 Jul 2000 16:26:24 +0200 (MEST)

Hi, I tried to compile the rtl8129 module but have some probs.
pci-scan.c was succesfully compiled, but I can't get rtl8129.c compiled

Here is my log:
# gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
rtl8139.c: In function `mii_ioctl':
rtl8139.c:1337: `SIOCGMIIPHY' undeclared (first use in this function)
rtl8139.c:1337: (Each undeclared identifier is reported only once
rtl8139.c:1337: for each function it appears in.)
rtl8139.c:1340: `SIOCGMIIREG' undeclared (first use in this function)
rtl8139.c:1343: `SIOCSMIIREG' undeclared (first use in this function)
rtl8139.c:1338: warning: unreachable code at beginning of switch statement
# cat /etc/slackware-version
# cat /proc/version
Linux version 2.2.16 (root@local) (gcc version egcs-2.91.66 19990314/Linux
-1.1.2 release)) #1 Wed Jun 21 17:10:54 CEST 2000
# pwd
# ls *.c *.h *.o
kern_compat.h  pci-scan.c  pci-scan.h  pci-scan.o  rtl8139.c 

Note that I'm using my own compiled kernel, not Slackware's precompiled.
It isn't the standard one; I can't use the Slackware module since i have the
2.2.14 one and I'm not gonna run that kernel. I have my own, and for other
obvious reasons.

Thanks in advance,

Sent through Global Message Exchange - http://www.gmx.net