[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Compilation module RTL8139



salut tout le monde,

j'ai une carte réseaux PCMCIA Peabird (RTL8139) et je n'arrive pas à
compiler le module sur ma Debian 2.4. A la base j'ai 2 fichiers :
rtl8139.c et kern_compat.h (dans le même rep. lors de la compilation).

je compile comme ca (d'après le readme):

gcc -DMODULE -Wall -Wstrict-prototypes -O6 -c rtl8139.c


j'obtiens les erreurs suivantes :
--------------------------------------------------------
gcc: 2: No such file or directory
In file included from rtl8139.c:128:
/usr/include/linux/malloc.h:4: warning: #warning linux/malloc.h is
deprecated, use linux/slab.h instead.
In file included from rtl8139.c:148:
kern_compat.h:463: warning: static declaration for
`pci_find_capability' follows non-static
rtl8139.c: In function `rtl8139cp_open':
rtl8139.c:890: structure has no member named `tbusy'
rtl8139.c:891: structure has no member named `interrupt'
rtl8139.c:892: structure has no member named `start'
rtl8139.c: In function `rtl8129_open':
rtl8139.c:993: structure has no member named `tbusy'
rtl8139.c:994: structure has no member named `interrupt'
rtl8139.c:995: structure has no member named `start'
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:1091: structure has no member named `interrupt'
rtl8139.c:1099: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:1239: structure has no member named `tbusy'
rtl8139.c: In function `rtl8139cp_start_xmit':
rtl8139.c:1296: structure has no member named `tbusy'
rtl8139.c:1316: structure has no member named `tbusy'
rtl8139.c:1320: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:1342: structure has no member named `tbusy'
rtl8139.c:1365: structure has no member named `tbusy'
rtl8139.c:1369: structure has no member named `tbusy'
rtl8139.c: In function `rtl8139CP_interrupt':
rtl8139.c:1395: structure has no member named `interrupt'
rtl8139.c:1398: structure has no member named `interrupt'
rtl8139.c:1459: structure has no member named `tbusy'
rtl8139.c:1460: `NET_BH' undeclared (first use in this function)
rtl8139.c:1460: (Each undeclared identifier is reported only once
rtl8139.c:1460: for each function it appears in.)
rtl8139.c:1534: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1554: structure has no member named `interrupt'
rtl8139.c:1557: structure has no member named `interrupt'
rtl8139.c:1654: structure has no member named `tbusy'
rtl8139.c:1655: `NET_BH' undeclared (first use in this function)
rtl8139.c:1730: structure has no member named `interrupt'
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1893: structure has no member named `start'
rtl8139.c:1894: structure has no member named `tbusy'
rtl8139.c: In function `rtl8129_get_stats':
rtl8139.c:1986: structure has no member named `start'

--------------------------------------------------------

J'ai vu pas mal de post sur la compilation de ce module, mais comme
j'ai pas l'habitude de compiler des modules, je ne sais pas trop quoi
faire. (ps : la premiere ligne d'erreur me dit que gcc n'est pas
trouvé, pourtant j'ai bien gcc)

Merci d'avance



Reply to: