Sur le fond, le module standard pour la realtek 8139 est 8139too, pour le
reste, un module se compile plut�t avec les ent�tes du noyau, or ici, les
ent�tes utilis�s sont les ent�tes standard /usr/include/linux, ceci peut
expliquer cela...

Fran�ois Boisson

On 30 Oct 2003 04:26:12 -0800
[EMAIL PROTECTED] (DavenRave) wrote:

> 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
> 
> 
> -- 
> Pensez � lire la FAQ de la liste avant de poser une question :
> http://savannah.nongnu.org/download/debfr-faq/html/
> 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 

Répondre à