[realtek] Compiling rtl8139.c and loading the pci-scan module
jj@stud.htc.dk
jj@stud.htc.dk
Tue, 13 Feb 2001 18:22:32 +0100
Hello.
I have succesfully compiled pci-scan.c, but when I insmod it i get 12
unresolved symbols, such as pci_* and printk.
Compiling rtl8139.c is not possible:
gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c
rtl8139.c: In function `rtl8129_open':
rtl8139.c:675: structure has no member named `tbusy'
rtl8139.c:676: structure has no member named `interrupt'
rtl8139.c:677: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:777: structure has no member named `interrupt'
rtl8139.c:783: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:910: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:940: structure has no member named `tbusy'
rtl8139.c:963: structure has no member named `tbusy'
rtl8139.c:967: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:992: structure has no member named `interrupt'
rtl8139.c:995: structure has no member named `interrupt'
rtl8139.c:1072: structure has no member named `tbusy'
rtl8139.c:1073: `NET_BH' undeclared (first use in this function)
rtl8139.c:1073: (Each undeclared identifier is reported only once
rtl8139.c:1073: for each function it appears in.)
rtl8139.c:1152: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1275: structure has no member named `start'
rtl8139.c:1276: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1354: structure has no member named `start'
The kernel version is 2.4.0 which I installed myself, /usr/include/linux and asm are links pointing to /usr/src/linux/include/linux and asm
--
Anyone who is capable of getting themselves made President should on no
account be allowed to do the job.
-- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"
This e-mail was written by Jack Jørgensen - jj@nospam.stud.htc.dk