Newsgroup: it.comp.os.linux.iniziare
Titolo: Aiuto!!!

Un cordialle saluto a tutti...
Ho trovato sul sito di AGERE i driver per l'installazione del Winmodem 
del mio portatile IBM T30. E fin qui tutto bene. Utilizzo Mandrake 10 
(sono un pivellissimo di linux) ed ho seguito le istruzioni per 
l'installazione ma quando faccio "make install" mi escono una valanga di 
errori che riporto sotto. Cosa posso fare?
Grazie a tutti
Luca
[root@LB ageresoftmodembeta-2.1.0]# make install
make all
make[1]: Entering directory `/root/ageresoftmodembeta-2.1.0'
Building Modem Controller Module for Agere Soft modem
In file included from /usr/include/linux/cpumask.h:8,
                  from /usr/include/linux/sched.h:14,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/linux/bitmap.h: In function `bitmap_shift_right':
/usr/include/linux/bitmap.h:85: error: `__shr_tmp' undeclared (first use 
in this function)
/usr/include/linux/bitmap.h:85: error: (Each undeclared identifier is 
reported only once
/usr/include/linux/bitmap.h:85: error: for each function it appears in.)
/usr/include/linux/bitmap.h: In function `bitmap_shift_left':
/usr/include/linux/bitmap.h:98: error: `__shl_tmp' undeclared (first use 
in this function)
In file included from /usr/include/linux/sched.h:14,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/linux/cpumask.h:10:5: missing binary operator before token "("
/usr/include/linux/cpumask.h:34:5: missing binary operator before token "("
In file included from /usr/include/asm/smp.h:18,
                  from /usr/include/linux/smp.h:13,
                  from /usr/include/linux/sched.h:22,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h: No such file or directory
In file included from /usr/include/asm/smp.h:18,
                  from /usr/include/linux/smp.h:13,
                  from /usr/include/linux/sched.h:22,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/asm/mpspec.h: At top level:
/usr/include/asm/mpspec.h:8: error: `MAX_MP_BUSSES' undeclared here (not 
in a function)
/usr/include/asm/mpspec.h:9: error: `MAX_MP_BUSSES' undeclared here (not 
in a function)
/usr/include/asm/mpspec.h:10: error: `MAX_MP_BUSSES' undeclared here 
(not in a function)
/usr/include/asm/mpspec.h:12: error: `MAX_MP_BUSSES' undeclared here 
(not in a function)
/usr/include/asm/mpspec.h:19: error: `MAX_APICS' undeclared here (not in 
a function)
/usr/include/asm/mpspec.h:20: error: `MAX_MP_BUSSES' undeclared here 
(not in a function)
/usr/include/asm/mpspec.h:20: error: conflicting types for 
`mp_bus_id_to_type'
/usr/include/asm/mpspec.h:8: error: previous declaration of 
`mp_bus_id_to_type'
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here 
(not in a function)
/usr/include/asm/mpspec.h:24: error: `MAX_MP_BUSSES' undeclared here 
(not in a function)
/usr/include/asm/mpspec.h:24: error: conflicting types for 
`mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:12: error: previous declaration of 
`mp_bus_id_to_pci_bus'
/usr/include/asm/mpspec.h:54: error: `MAX_APICS' undeclared here (not in 
a function)
/usr/include/asm/mpspec.h:54: error: variable-size type declared outside 
of any function
In file included from /usr/include/asm/smp.h:20,
                  from /usr/include/linux/smp.h:13,
                  from /usr/include/linux/sched.h:22,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/asm/io_apic.h:160: error: `MAX_IRQ_SOURCES' undeclared here 
(not in a function)
/usr/include/asm/io_apic.h:160: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
In file included from /usr/include/asm/siginfo.h:4,
                  from /usr/include/linux/signal.h:7,
                  from /usr/include/linux/sched.h:24,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/asm-generic/siginfo.h:53: error: size of array `_pad' is 
too large
In file included from /usr/include/linux/gfp.h:4,
                  from /usr/include/linux/slab.h:15,
                  from /usr/include/linux/percpu.h:4,
                  from /usr/include/linux/sched.h:30,
                  from /usr/include/linux/module.h:9,
                  from agrmodem.c:29:
/usr/include/linux/mmzone.h:333: error: parse error before '(' token
/usr/include/linux/mmzone.h:334: error: parse error before numeric constant
In file included from /usr/include/linux/irq.h:20,
                  from /usr/include/asm/hardirq.h:6,
                  from /usr/include/linux/interrupt.h:11,
                  from agrmodem.c:40:
/usr/include/asm/irq.h:16:25: irq_vectors.h: No such file or directory
In file included from /usr/include/asm/hardirq.h:6,
                  from /usr/include/linux/interrupt.h:11,
                  from agrmodem.c:40:
/usr/include/linux/irq.h:70: error: `NR_IRQS' undeclared here (not in a 
function)
In file included from /usr/include/linux/irq.h:72,
                  from /usr/include/asm/hardirq.h:6,
                  from /usr/include/linux/interrupt.h:11,
                  from agrmodem.c:40:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here 
(not in a function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a 
function)
agrmodem.c:64:2: #error This driver compiles for Linux versions 2.4.0 
and later
agrmodem.c: In function `x_check_region':
agrmodem.c:187: warning: `check_region' is deprecated (declared at 
/usr/include/linux/ioport.h:119)
agrmodem.c: In function `x_pcibios_present':
agrmodem.c:262: warning: implicit declaration of function `pcibios_present'
agrmodem.c: In function `x_pcibios_read_config_byte':
agrmodem.c:265: warning: implicit declaration of function 
`pcibios_read_config_byte'
agrmodem.c: In function `x_pcibios_read_config_word':
agrmodem.c:269: warning: implicit declaration of function 
`pcibios_read_config_word'
agrmodem.c: In function `x_pcibios_read_config_dword':
agrmodem.c:273: warning: implicit declaration of function 
`pcibios_read_config_dword'
agrmodem.c: In function `x_pcibios_write_config_byte':
agrmodem.c:276: warning: implicit declaration of function 
`pcibios_write_config_byte'
agrmodem.c: In function `x_pcibios_write_config_word':
agrmodem.c:279: warning: implicit declaration of function 
`pcibios_write_config_word'
agrmodem.c: In function `x_pcibios_write_config_dword':
agrmodem.c:282: warning: implicit declaration of function 
`pcibios_write_config_dword'
agrmodem.c: In function `x_pcibios_find_class':
agrmodem.c:284: warning: implicit declaration of function 
`pcibios_find_class'
agrmodem.c: In function `x_pcibios_find_device':
agrmodem.c:288: warning: implicit declaration of function 
`pcibios_find_device'
agrmodem.c: In function `x_smp_num_cpus':
agrmodem.c:293: error: `smp_num_cpus' undeclared (first use in this 
function)
agrmodem.c: In function `x_MOD_INC_USE_COUNT':
agrmodem.c:295: warning: `MOD_INC_USE_COUNT' is deprecated (declared at 
/usr/include/linux/module.h:495)
agrmodem.c: In function `x_MOD_DEC_USE_COUNT':
agrmodem.c:296: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at 
/usr/include/linux/module.h:507)
agrmodem.c: In function `x_task_queue_init':
agrmodem.c:301: warning: implicit declaration of function `INIT_TQUEUE'
agrmodem.c: In function `x_queue_task':
agrmodem.c:306: warning: implicit declaration of function `queue_task'
agrmodem.c:306: error: `tq_immediate' undeclared (first use in this 
function)
agrmodem.c:307: warning: implicit declaration of function `mark_bh'
agrmodem.c:307: error: `IMMEDIATE_BH' undeclared (first use in this 
function)
agrmodem.c: In function `x_atomic_read':
agrmodem.c:311: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
agrmodem.c: In function `x_atomic_set':
agrmodem.c:312: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
agrmodem.c: In function `x_atomic_inc':
agrmodem.c:313: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
agrmodem.c: In function `x_atomic_dec':
agrmodem.c:314: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
agrmodem.c: In function `x_atomic_dec_and_test':
agrmodem.c:315: warning: dereferencing type-punned pointer will break 
strict-aliasing rules
make[1]: *** [agrmodem.a] Error 1
make[1]: Leaving directory `/root/ageresoftmodembeta-2.1.0'
make: *** [install] Error 2

 errori che riporto sotto. Cosa posso fare?
[cut]
Ho visto che Mdk 10 usa un kernel 2.6.x
Sei sicuro che i driver per il tuo modem supportino questa release?
bye
-- 
= active @ actisystem =
GIT d- s:+>: a-- C+++ UL++++ P++ L+++ E--- W+ N+ 
o? !K w-- O-- M- V? PS+(++) PE Y+>++ PGP++ !t 5? 
X++(+) R(+) tv+(++) b+>++ !DI D+ G e>++ h! r++ x*

 bye
non ne ho la più pallida idea