[FoLUG] Installazione scheda di rete (lungo)
daniele_pelliconi@tin.it
daniele_pelliconi@tin.it
Mer 13 Ott 2004 19:44:35 CEST
Ciao,
ho provato ad installare la scheda di rete su una redhat 9, ma mi sono bloccato
subito. Premetto che quando ho avviato linux dopo aver già collegato fisicamente
la scheda e il router il sistema mi ha chiesto se volevo configurare la
scheda di rete, ho detto di configurarla ma non mi ha più detto niente,
a parte la configurazione di una lan, ma visto che non ho una lan ho annullato.
Nel cd allegato c'è il driver per linux, ho letto il file readme e quando
mi dice
step 2: compile:
The instruction for compiling the driver is include at the end
of
the driver file. (run this instruction at /usr/src/linux)
Or you can use the Makefile included in the driver diskette \Linux.
Ho provato con makefile ma mi dà comando inesistente.
Ho letto il file .c e dà tre comandi alternativi, li ho provati tutti ma
il risultato non cambia.
I comandi sono questi:
Local variables:
* compile-command: "gcc -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
-O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
* SMP-compile-command: "gcc -D__SMP__ -DMODULE -D__KERNEL__ -Wall -Wstrict-prototypes
-O6 -c rtl8139.c `[ -f /usr/include/linux/modversions.h ] && echo -DMODVERSIONS`"
* cardbus-compile-command: "gcc -DCARDBUS -DMODULE -D__KERNEL__ -Wall
-Wstrict-prototypes -O6 -c rtl8139.c -o realtek_cb.o -I/usr/src/linux/pcmcia-cs-3.0.9/include/"
* c-indent-level: 4
* c-basic-offset: 4
* tab-width: 4
* End:
Mi sono bloccato subito e al momento non ho idee su come superare questo
ostacolo, accetto qualsiasi suggerimento.
Il router lo installo dopo la scheda di rete.
Riporto qui sotto tutto l'output che ho avuto col primo comando:
In file included from rtl8139.c:70:
/usr/include/linux/modversions.h:1:2: #error Modules should never use kernel-headers
system headers,
/usr/include/linux/modversions.h:2:2: #error but rather headers from an
appropriate kernel-source package.
/usr/include/linux/modversions.h:3:2: #error Change -I/usr/src/linux/include
(or similar) to
/usr/include/linux/modversions.h:4:2: #error -I/lib/modules/$(uname -r)/build/include
/usr/include/linux/modversions.h:5:2: #error to build against the currently-running
kernel.
In file included from /usr/include/linux/fs.h:23,
from /usr/include/linux/capability.h:17,
from /usr/include/linux/binfmts.h:5,
from /usr/include/linux/sched.h:9,
from rtl8139.c:79:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in
userland!
In file included from /usr/include/linux/sched.h:14,
from rtl8139.c:79:
/usr/include/linux/timex.h:173: field `time' has incomplete type
In file included from /usr/include/linux/bitops.h:69,
from /usr/include/asm/system.h:7,
from /usr/include/linux/sched.h:16,
from rtl8139.c:79:
/usr/include/asm/bitops.h:327:2: warning: #warning This includefile is not
available on all architectures.
/usr/include/asm/bitops.h:328:2: warning: #warning Using kernel headers
in userspace: atomicity not guaranteed
In file included from /usr/include/linux/signal.h:4,
from /usr/include/linux/sched.h:25,
from rtl8139.c:79:
/usr/include/asm/signal.h:107: parse error before "sigset_t"
/usr/include/asm/signal.h:110: parse error before '}' token
In file included from /usr/include/linux/sched.h:81,
from rtl8139.c:79:
/usr/include/linux/timer.h:45: parse error before "spinlock_t"
/usr/include/linux/timer.h:53: parse error before '}' token
/usr/include/linux/timer.h:67: parse error before "tvec_base_t"
/usr/include/linux/timer.h:101: parse error before "tvec_bases"
/usr/include/linux/timer.h: In function `init_timer':
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:105: dereferencing pointer to incomplete type
/usr/include/linux/timer.h:106: dereferencing pointer to incomplete type
/usr/include/linux/timer.h: In function `timer_pending':
/usr/include/linux/timer.h:121: dereferencing pointer to incomplete type
In file included from rtl8139.c:84:
/usr/include/linux/malloc.h:3:2: warning: #warning The Use of linux/malloc.h
is deprecated, use linux/slab.h
In file included from rtl8139.c:85:
/usr/include/linux/interrupt.h:44:25: asm/hardirq.h: No such file or directory
/usr/include/linux/interrupt.h:45:25: asm/softirq.h: No such file or directory
In file included from rtl8139.c:85:
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:77: parse error before '(' token
/usr/include/linux/interrupt.h:78: parse error before '(' token
/usr/include/linux/interrupt.h:106: parse error before "atomic_t"
/usr/include/linux/interrupt.h:109: parse error before '}' token
/usr/include/linux/interrupt.h:127: `CONFIG_X86_L1_CACHE_SHIFT' undeclared
here (not in a function)
/usr/include/linux/interrupt.h:127: requested alignment is not a constant
/usr/include/linux/interrupt.h:154: parse error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_schedule':
/usr/include/linux/interrupt.h:158: dereferencing pointer to incomplete
type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:162: parse error before '(' token
/usr/include/linux/interrupt.h: In function `tasklet_hi_schedule':
/usr/include/linux/interrupt.h:166: dereferencing pointer to incomplete
type
/usr/include/linux/interrupt.h: In function `tasklet_disable_nosync':
/usr/include/linux/interrupt.h:173: dereferencing pointer to incomplete
type
/usr/include/linux/interrupt.h: In function `tasklet_enable':
/usr/include/linux/interrupt.h:187: dereferencing pointer to incomplete
type
/usr/include/linux/interrupt.h: In function `tasklet_hi_enable':
/usr/include/linux/interrupt.h:193: dereferencing pointer to incomplete
type
/usr/include/linux/interrupt.h: At top level:
/usr/include/linux/interrupt.h:224: parse error before "global_bh_lock"
/usr/include/linux/interrupt.h: In function `mark_bh':
/usr/include/linux/interrupt.h:228: invalid use of undefined type `struct
tasklet_struct'
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from rtl8139.c:89:
/usr/include/asm/pgalloc.h:6:24: asm/fixmap.h: No such file or directory
In file included from /usr/include/linux/highmem.h:5,
from /usr/include/linux/skbuff.h:26,
from rtl8139.c:89:
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:57: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_slow':
/usr/include/asm/pgalloc.h:59: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: (Each undeclared identifier is reported only
once
/usr/include/asm/pgalloc.h:59: for each function it appears in.)
/usr/include/asm/pgalloc.h:59: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:59: parse error before ')' token
/usr/include/asm/pgalloc.h:62: `USER_PTRS_PER_PGD' undeclared (first use
in this function)
/usr/include/asm/pgalloc.h:63: `swapper_pg_dir' undeclared (first use in
this function)
/usr/include/asm/pgalloc.h:63: `PTRS_PER_PGD' undeclared (first use in this
function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:70: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `get_pgd_fast':
/usr/include/asm/pgalloc.h:80: `pgd_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:80: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:83: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_fast':
/usr/include/asm/pgalloc.h:85: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:90: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `free_pgd_slow':
/usr/include/asm/pgalloc.h:99: `pgd' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:103: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one':
/usr/include/asm/pgalloc.h:105: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:105: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:109: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:118: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_alloc_one_fast':
/usr/include/asm/pgalloc.h:127: `pte_t' undeclared (first use in this function)
/usr/include/asm/pgalloc.h:127: parse error before ')' token
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:130: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_fast':
/usr/include/asm/pgalloc.h:132: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: At top level:
/usr/include/asm/pgalloc.h:137: parse error before '*' token
/usr/include/asm/pgalloc.h: In function `pte_free_slow':
/usr/include/asm/pgalloc.h:139: `pte' undeclared (first use in this function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_mm':
/usr/include/asm/pgalloc.h:183: `current' undeclared (first use in this
function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_page':
/usr/include/asm/pgalloc.h:190: dereferencing pointer to incomplete type
/usr/include/asm/pgalloc.h:190: `current' undeclared (first use in this
function)
/usr/include/asm/pgalloc.h: In function `flush_tlb_range':
/usr/include/asm/pgalloc.h:197: `current' undeclared (first use in this
function)
In file included from rtl8139.c:89:
/usr/include/linux/skbuff.h: At top level:
/usr/include/linux/skbuff.h:100: parse error before "spinlock_t"
/usr/include/linux/skbuff.h:120: parse error before "atomic_t"
/usr/include/linux/skbuff.h:124: parse error before '}' token
/usr/include/linux/skbuff.h:183: parse error before "atomic_t"
/usr/include/linux/skbuff.h:189: conflicting types for `data'
/usr/include/linux/interrupt.h:108: previous declaration of `data'
/usr/include/linux/skbuff.h:215: parse error before '}' token
rtl8139.c:322: field `timer' has incomplete type
rtl8139.c: In function `rtl8139_probe':
rtl8139.c:384: warning: implicit declaration of function `pcibios_present'
rtl8139.c:392: warning: implicit declaration of function `pcibios_find_class'
rtl8139.c:394: `PCIBIOS_SUCCESSFUL' undeclared (first use in this function)
rtl8139.c:396: warning: implicit declaration of function `pcibios_read_config_word'
rtl8139.c:411: warning: implicit declaration of function `pci_find_slot'
rtl8139.c:411: warning: initialization makes pointer from integer without
a cast
rtl8139.c:412: dereferencing pointer to incomplete type
rtl8139.c:413: dereferencing pointer to incomplete type
rtl8139.c:435: warning: implicit declaration of function `printk'
rtl8139.c:435: `KERN_INFO' undeclared (first use in this function)
rtl8139.c:435: parse error before string constant
rtl8139.c:438: warning: implicit declaration of function `pcibios_write_config_word'
rtl8139.c:447: warning: implicit declaration of function `pcibios_read_config_byte'
rtl8139.c:450: `KERN_NOTICE' undeclared (first use in this function)
rtl8139.c:450: parse error before string constant
rtl8139.c:453: warning: implicit declaration of function `pcibios_write_config_byte'
rtl8139.c: In function `rtl8129_probe1':
rtl8139.c:473: `KERN_INFO' undeclared (first use in this function)
rtl8139.c:473: parse error before string constant
rtl8139.c:473: warning: left-hand operand of comma expression has no effect
rtl8139.c:473: parse error before ')' token
rtl8139.c:475: warning: implicit declaration of function `init_etherdev'
rtl8139.c:475: warning: assignment makes pointer from integer without a
cast
rtl8139.c:477: parse error before string constant
rtl8139.c:486: dereferencing pointer to incomplete type
rtl8139.c:490: dereferencing pointer to incomplete type
rtl8139.c:491: dereferencing pointer to incomplete type
rtl8139.c:494: dereferencing pointer to incomplete type
rtl8139.c:496: dereferencing pointer to incomplete type
rtl8139.c:497: dereferencing pointer to incomplete type
rtl8139.c:500: warning: implicit declaration of function `kmalloc'
rtl8139.c:500: `GFP_KERNEL' undeclared (first use in this function)
rtl8139.c:500: `GFP_DMA' undeclared (first use in this function)
rtl8139.c:500: warning: assignment makes pointer from integer without a
cast
rtl8139.c:502: dereferencing pointer to incomplete type
rtl8139.c:521: parse error before string constant
rtl8139.c:526: parse error before string constant
rtl8139.c:551: parse error before string constant
rtl8139.c:557: dereferencing pointer to incomplete type
rtl8139.c:558: dereferencing pointer to incomplete type
rtl8139.c:559: dereferencing pointer to incomplete type
rtl8139.c:560: dereferencing pointer to incomplete type
rtl8139.c:561: dereferencing pointer to incomplete type
rtl8139.c:562: dereferencing pointer to incomplete type
rtl8139.c: In function `mdio_read':
rtl8139.c:656: dereferencing pointer to incomplete type
rtl8139.c:663: dereferencing pointer to incomplete type
rtl8139.c: In function `mdio_write':
rtl8139.c:689: dereferencing pointer to incomplete type
rtl8139.c:695: dereferencing pointer to incomplete type
rtl8139.c: In function `rtl8129_open':
rtl8139.c:722: dereferencing pointer to incomplete type
rtl8139.c:723: dereferencing pointer to incomplete type
rtl8139.c:729: warning: implicit declaration of function `request_irq'
rtl8139.c:729: dereferencing pointer to incomplete type
rtl8139.c:729: `SA_SHIRQ' undeclared (first use in this function)
rtl8139.c:729: dereferencing pointer to incomplete type
rtl8139.c:733: union has no member named `usecount'
rtl8139.c:735: `GFP_KERNEL' undeclared (first use in this function)
rtl8139.c:735: warning: assignment makes pointer from integer without a
cast
rtl8139.c:736: warning: assignment makes pointer from integer without a
cast
rtl8139.c:739: warning: implicit declaration of function `kfree'
rtl8139.c:741: `KERN_ERR' undeclared (first use in this function)
rtl8139.c:741: parse error before string constant
rtl8139.c:742: dereferencing pointer to incomplete type
rtl8139.c:742: warning: left-hand operand of comma expression has no effect
rtl8139.c:742: warning: left-hand operand of comma expression has no effect
rtl8139.c:742: parse error before ')' token
rtl8139.c:753: dereferencing pointer to incomplete type
rtl8139.c:771: `KERN_INFO' undeclared (first use in this function)
rtl8139.c:771: parse error before string constant
rtl8139.c:772: dereferencing pointer to incomplete type
rtl8139.c:775: warning: left-hand operand of comma expression has no effect
rtl8139.c:775: warning: left-hand operand of comma expression has no effect
rtl8139.c:775: warning: left-hand operand of comma expression has no effect
rtl8139.c:775: warning: left-hand operand of comma expression has no effect
rtl8139.c:775: parse error before ')' token
rtl8139.c:782: warning: implicit declaration of function `virt_to_bus'
rtl8139.c:790: dereferencing pointer to incomplete type
rtl8139.c:791: dereferencing pointer to incomplete type
rtl8139.c:792: dereferencing pointer to incomplete type
rtl8139.c:799: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:799: parse error before string constant
rtl8139.c:801: dereferencing pointer to incomplete type
rtl8139.c:801: dereferencing pointer to incomplete type
rtl8139.c:802: warning: left-hand operand of comma expression has no effect
rtl8139.c:802: warning: left-hand operand of comma expression has no effect
rtl8139.c:802: warning: left-hand operand of comma expression has no effect
rtl8139.c:802: warning: left-hand operand of comma expression has no effect
rtl8139.c:802: parse error before ')' token
rtl8139.c:807: `jiffies' undeclared (first use in this function)
rtl8139.c: In function `rtl8129_timer':
rtl8139.c:818: dereferencing pointer to incomplete type
rtl8139.c:819: dereferencing pointer to incomplete type
rtl8139.c:827: `KERN_INFO' undeclared (first use in this function)
rtl8139.c:827: parse error before string constant
rtl8139.c:839: `KERN_ERR' undeclared (first use in this function)
rtl8139.c:839: parse error before string constant
rtl8139.c:841: dereferencing pointer to incomplete type
rtl8139.c:844: dereferencing pointer to incomplete type
rtl8139.c:844: `jiffies' undeclared (first use in this function)
rtl8139.c:844: dereferencing pointer to incomplete type
rtl8139.c:896: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:896: parse error before string constant
rtl8139.c:897: dereferencing pointer to incomplete type
rtl8139.c:897: warning: left-hand operand of comma expression has no effect
rtl8139.c:897: warning: left-hand operand of comma expression has no effect
rtl8139.c:897: parse error before ')' token
rtl8139.c:901: parse error before string constant
rtl8139.c:905: parse error before string constant
rtl8139.c: In function `rtl8129_tx_timeout':
rtl8139.c:915: dereferencing pointer to incomplete type
rtl8139.c:916: dereferencing pointer to incomplete type
rtl8139.c:920: `KERN_WARNING' undeclared (first use in this function)
rtl8139.c:920: parse error before string constant
rtl8139.c:922: dereferencing pointer to incomplete type
rtl8139.c:923: warning: left-hand operand of comma expression has no effect
rtl8139.c:923: warning: left-hand operand of comma expression has no effect
rtl8139.c:923: parse error before ')' token
rtl8139.c:929: dereferencing pointer to incomplete type
rtl8139.c:931: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:931: parse error before string constant
rtl8139.c:934: parse error before string constant
rtl8139.c:946: dereferencing pointer to incomplete type
rtl8139.c:965: dereferencing pointer to incomplete type
rtl8139.c:966: dereferencing pointer to incomplete type
rtl8139.c:966: dereferencing pointer to incomplete type
rtl8139.c:969: dereferencing pointer to incomplete type
rtl8139.c:971: dereferencing pointer to incomplete type
rtl8139.c:971: dereferencing pointer to incomplete type
rtl8139.c:978: dereferencing pointer to incomplete type
rtl8139.c:985: dereferencing pointer to incomplete type
rtl8139.c:985: `jiffies' undeclared (first use in this function)
rtl8139.c: In function `rtl8129_init_ring':
rtl8139.c:998: dereferencing pointer to incomplete type
rtl8139.c: In function `rtl8129_start_xmit':
rtl8139.c:1014: dereferencing pointer to incomplete type
rtl8139.c:1015: dereferencing pointer to incomplete type
rtl8139.c:1020: dereferencing pointer to incomplete type
rtl8139.c:1021: `jiffies' undeclared (first use in this function)
rtl8139.c:1021: dereferencing pointer to incomplete type
rtl8139.c:1030: dereferencing pointer to incomplete type
rtl8139.c:1031: dereferencing pointer to incomplete type
rtl8139.c:1031: dereferencing pointer to incomplete type
rtl8139.c:1034: dereferencing pointer to incomplete type
rtl8139.c:1036: dereferencing pointer to incomplete type
rtl8139.c:1036: dereferencing pointer to incomplete type
rtl8139.c:1043: dereferencing pointer to incomplete type
rtl8139.c:1047: dereferencing pointer to incomplete type
rtl8139.c:1052: dereferencing pointer to incomplete type
rtl8139.c:1054: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:1054: parse error before string constant
rtl8139.c:1055: dereferencing pointer to incomplete type
rtl8139.c:1055: dereferencing pointer to incomplete type
rtl8139.c:1055: dereferencing pointer to incomplete type
rtl8139.c:1055: warning: left-hand operand of comma expression has no effect
rtl8139.c:1055: warning: left-hand operand of comma expression has no effect
rtl8139.c:1055: warning: left-hand operand of comma expression has no effect
rtl8139.c:1055: warning: left-hand operand of comma expression has no effect
rtl8139.c:1055: parse error before ')' token
rtl8139.c: In function `rtl8129_interrupt':
rtl8139.c:1065: dereferencing pointer to incomplete type
rtl8139.c:1068: dereferencing pointer to incomplete type
rtl8139.c:1072: dereferencing pointer to incomplete type
rtl8139.c:1073: `KERN_ERR' undeclared (first use in this function)
rtl8139.c:1073: parse error before string constant
rtl8139.c:1075: dereferencing pointer to incomplete type
rtl8139.c:1095: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:1095: parse error before string constant
rtl8139.c:1096: dereferencing pointer to incomplete type
rtl8139.c:1096: warning: left-hand operand of comma expression has no effect
rtl8139.c:1096: warning: left-hand operand of comma expression has no effect
rtl8139.c:1096: warning: left-hand operand of comma expression has no effect
rtl8139.c:1096: parse error before ')' token
rtl8139.c:1119: `KERN_NOTICE' undeclared (first use in this function)
rtl8139.c:1119: parse error before string constant
rtl8139.c:1120: dereferencing pointer to incomplete type
rtl8139.c:1120: warning: left-hand operand of comma expression has no effect
rtl8139.c:1120: warning: left-hand operand of comma expression has no effect
rtl8139.c:1120: parse error before ')' token
rtl8139.c:1147: warning: implicit declaration of function `dev_kfree_skb'
rtl8139.c:1152: dereferencing pointer to incomplete type
rtl8139.c:1153: `NET_BH' undeclared (first use in this function)
rtl8139.c:1160: parse error before string constant
rtl8139.c:1172: parse error before string constant
rtl8139.c:1173: dereferencing pointer to incomplete type
rtl8139.c:1173: warning: left-hand operand of comma expression has no effect
rtl8139.c:1173: warning: left-hand operand of comma expression has no effect
rtl8139.c:1173: parse error before ')' token
rtl8139.c:1206: warning: implicit declaration of function `pcibios_read_config_dword'
rtl8139.c:1209: parse error before string constant
rtl8139.c:1214: `KERN_WARNING' undeclared (first use in this function)
rtl8139.c:1214: parse error before string constant
rtl8139.c:1224: parse error before string constant
rtl8139.c:1225: dereferencing pointer to incomplete type
rtl8139.c:1225: warning: left-hand operand of comma expression has no effect
rtl8139.c:1225: warning: left-hand operand of comma expression has no effect
rtl8139.c:1225: parse error before ')' token
rtl8139.c:1228: dereferencing pointer to incomplete type
rtl8139.c: In function `rtl8129_rx':
rtl8139.c:1239: dereferencing pointer to incomplete type
rtl8139.c:1240: dereferencing pointer to incomplete type
rtl8139.c:1245: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:1245: parse error before string constant
rtl8139.c:1247: dereferencing pointer to incomplete type
rtl8139.c:1248: warning: left-hand operand of comma expression has no effect
rtl8139.c:1248: warning: left-hand operand of comma expression has no effect
rtl8139.c:1248: warning: left-hand operand of comma expression has no effect
rtl8139.c:1248: parse error before ')' token
rtl8139.c:1257: parse error before string constant
rtl8139.c:1260: parse error before string constant
rtl8139.c:1267: `KERN_NOTICE' undeclared (first use in this function)
rtl8139.c:1267: parse error before string constant
rtl8139.c:1268: dereferencing pointer to incomplete type
rtl8139.c:1268: warning: left-hand operand of comma expression has no effect
rtl8139.c:1268: warning: left-hand operand of comma expression has no effect
rtl8139.c:1268: parse error before ')' token
rtl8139.c:1274: parse error before string constant
rtl8139.c:1275: dereferencing pointer to incomplete type
rtl8139.c:1275: warning: left-hand operand of comma expression has no effect
rtl8139.c:1275: warning: left-hand operand of comma expression has no effect
rtl8139.c:1275: parse error before ')' token
rtl8139.c:1294: warning: implicit declaration of function `dev_alloc_skb'
rtl8139.c:1294: warning: assignment makes pointer from integer without a
cast
rtl8139.c:1296: `KERN_WARNING' undeclared (first use in this function)
rtl8139.c:1296: parse error before string constant
rtl8139.c:1303: dereferencing pointer to incomplete type
rtl8139.c:1304: warning: implicit declaration of function `skb_reserve'
rtl8139.c:1307: warning: implicit declaration of function `skb_put'
rtl8139.c:1308: warning: passing arg 1 of `memcpy' makes pointer from integer
without a cast
rtl8139.c:1310: warning: passing arg 1 of `memcpy' makes pointer from integer
without a cast
rtl8139.c:1313: parse error before string constant
rtl8139.c:1322: warning: implicit declaration of function `eth_copy_and_sum'
rtl8139.c:1330: dereferencing pointer to incomplete type
rtl8139.c:1330: warning: implicit declaration of function `eth_type_trans'
rtl8139.c:1331: warning: implicit declaration of function `netif_rx'
rtl8139.c:1342: parse error before string constant
rtl8139.c:1344: dereferencing pointer to incomplete type
rtl8139.c:1345: warning: left-hand operand of comma expression has no effect
rtl8139.c:1345: warning: left-hand operand of comma expression has no effect
rtl8139.c:1345: warning: left-hand operand of comma expression has no effect
rtl8139.c:1345: parse error before ')' token
rtl8139.c: In function `rtl8129_close':
rtl8139.c:1353: dereferencing pointer to incomplete type
rtl8139.c:1354: dereferencing pointer to incomplete type
rtl8139.c:1357: dereferencing pointer to incomplete type
rtl8139.c:1358: dereferencing pointer to incomplete type
rtl8139.c:1361: `KERN_DEBUG' undeclared (first use in this function)
rtl8139.c:1361: parse error before string constant
rtl8139.c:1362: dereferencing pointer to incomplete type
rtl8139.c:1362: warning: left-hand operand of comma expression has no effect
rtl8139.c:1362: warning: left-hand operand of comma expression has no effect
rtl8139.c:1362: parse error before ')' token
rtl8139.c:1376: warning: implicit declaration of function `free_irq'
rtl8139.c:1376: dereferencing pointer to incomplete type
rtl8139.c:1391: union has no member named `usecount'
rtl8139.c:1354: confused by earlier errors, bailing out
[root@localhost linux-2.4.20-8]#
Grazie
Daniele Pelliconi
Maggiori informazioni sulla lista
FoLUG