Newsgroup: it.comp.os.linux.mandrake
Titolo: Problemi con Agere Systems AC'97 modem

Ciao
Ho apena instalato Mandrake 10.1 nel mio PC Acer Aspire 1355. Mandrake
mi ha riconusiciuto tutti i componenti nemeno un che il modem (Agere
System AC'97)
Ho cercato per internet per trovari i binari oppure i sorgenti per
potere compilare nel mio computer e soltanto ho trovato il Source RPM
package AgereSoftModemBeta-2.1.0-2.src.rpm in
http://www-3.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-52698
Ma quando ho cercato di compilarlo ho avuto dei problemi (in fondo
faccio vedere i errori che ho avuto)
Qualcuno mi riesci ad aiutare.
Grazie!!!!!
[root@localhost AgereSoftModem]# make install
make all
make[1]: Entering directory `/usr/src/RPM/SOURCES/AgereSoftModem'
Building Modem Controller Module for Agere Soft modem
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:80: error: syntax error before
"DECLARE_BITMAP"
/usr/include/linux/cpumask.h:81: error: syntax error before
"_unused_cpumask_arg
_"
/usr/include/linux/cpumask.h:84: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpu_set':
/usr/include/linux/cpumask.h:86: error: `cpu' undeclared (first use in
this func
tion)
/usr/include/linux/cpumask.h:86: error: (Each undeclared identifier is
reported
only once
/usr/include/linux/cpumask.h:86: error: for each function it appears
in.)
/usr/include/linux/cpumask.h:86: error: `dstp' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:90: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpu_clear':
/usr/include/linux/cpumask.h:92: error: `cpu' undeclared (first use in
this func
tion)
/usr/include/linux/cpumask.h:92: error: `dstp' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:96: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_setall':
/usr/include/linux/cpumask.h:98: error: `dstp' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h:98: error: `nbits' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:102: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_clear':
/usr/include/linux/cpumask.h:104: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:104: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:111: error: syntax error before
"cpumask_t"
/usr/include/linux/cpumask.h: In function `__cpu_test_and_set':
/usr/include/linux/cpumask.h:113: error: `cpu' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h:113: error: `addr' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:117: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_and':
/usr/include/linux/cpumask.h:120: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:120: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:120: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:120: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:124: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_or':
/usr/include/linux/cpumask.h:127: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:127: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:127: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:127: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:131: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_xor':
/usr/include/linux/cpumask.h:134: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:134: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:134: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:134: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:139: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_andnot':
/usr/include/linux/cpumask.h:142: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:142: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:142: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:142: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:146: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_complement':
/usr/include/linux/cpumask.h:149: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:149: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:149: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:153: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_equal':
/usr/include/linux/cpumask.h:156: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:156: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:156: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:160: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_intersects':
/usr/include/linux/cpumask.h:163: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:163: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:163: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:167: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_subset':
/usr/include/linux/cpumask.h:170: error: `src1p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:170: error: `src2p' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:170: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:174: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_empty':
/usr/include/linux/cpumask.h:176: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:176: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:180: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_full':
/usr/include/linux/cpumask.h:182: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:182: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:186: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_weight':
/usr/include/linux/cpumask.h:188: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:188: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:193: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_shift_right':
/usr/include/linux/cpumask.h:196: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:196: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:196: error: `n' undeclared (first use in
this funct
ion)
/usr/include/linux/cpumask.h:196: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:201: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpus_shift_left':
/usr/include/linux/cpumask.h:204: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:204: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:204: error: `n' undeclared (first use in
this funct
ion)
/usr/include/linux/cpumask.h:204: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:208: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__first_cpu':
/usr/include/linux/cpumask.h:210: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:210: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:214: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__next_cpu':
/usr/include/linux/cpumask.h:216: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:216: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:216: error: `n' undeclared (first use in
this funct
ion)
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:233:5: missing binary operator before
token "("
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:265: error: syntax error before '*' token
/usr/include/linux/cpumask.h: In function `__cpumask_scnprintf':
/usr/include/linux/cpumask.h:267: error: `buf' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h:267: error: `len' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h:267: error: `srcp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:267: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:273: error: syntax error before
"cpumask_t"
/usr/include/linux/cpumask.h: In function `__cpumask_parse':
/usr/include/linux/cpumask.h:275: error: `buf' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h:275: error: `len' undeclared (first use in
this fun
ction)
/usr/include/linux/cpumask.h:275: error: `dstp' undeclared (first use
in this fu
nction)
/usr/include/linux/cpumask.h:275: error: `nbits' undeclared (first use
in this f
unction)
/usr/include/linux/cpumask.h:278:5: missing binary operator before
token "("
/usr/include/linux/cpumask.h: At top level:
/usr/include/linux/cpumask.h:343: error: syntax error before
"cpu_possible_map"
/usr/include/linux/cpumask.h:344: error: syntax error before
"cpu_online_map"
/usr/include/linux/cpumask.h:345: error: syntax error before
"cpu_present_map"
/usr/include/linux/cpumask.h:347: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:8: error: `MAX_MP_BUSSES' undeclared here
(not in a fu
nction)
/usr/include/asm/mpspec.h:22: error: `MAX_IRQ_SOURCES' undeclared here
(not in a
function)
/usr/include/asm/mpspec.h:43: error: variable-size type declared
outside of any
function
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:58: error: size of array `_pad' is
too large
In file included from /usr/include/linux/mmzone.h:372,
                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/topology.h: In function `__next_node_with_cpus':
/usr/include/linux/topology.h:50: error: syntax error before "__tmp__"
/usr/include/linux/topology.h:50: error: `__tmp__' undeclared (first
use in this
function)
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: At top level:
/usr/include/linux/mmzone.h:414: error: syntax error before '(' token
In file included from /usr/include/linux/module.h:9,
                from agrmodem.c:29:
/usr/include/linux/sched.h:152: error: syntax error before
"nohz_cpu_mask"
In file included from /usr/include/linux/module.h:9,
                from agrmodem.c:29:
/usr/include/linux/sched.h:217: error: syntax error before "cpumask_t"
/usr/include/linux/sched.h:231: error: syntax error before '}' token
/usr/include/linux/sched.h:408: error: syntax error before "cpumask_t"
/usr/include/linux/sched.h:423: error: syntax error before ':' token
/usr/include/linux/sched.h:459: error: syntax error before ':' token
/usr/include/linux/sched.h:521: error: syntax error before '}' token
/usr/include/linux/sched.h: In function `process_group':
/usr/include/linux/sched.h:525: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:673: error: syntax error before "cpumask_t"
In file included from /usr/include/linux/module.h:9,
                from agrmodem.c:29:
/usr/include/linux/sched.h: In function `dequeue_signal_lock':
/usr/include/linux/sched.h:770: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h:772: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `on_sig_stack':
/usr/include/linux/sched.h:813: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h:813: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `sas_ss_flags':
/usr/include/linux/sched.h:818: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `capable':
/usr/include/linux/sched.h:829: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h:830: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `mmdrop':
/usr/include/linux/sched.h:846: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: At top level:
/usr/include/linux/sched.h:863: error: 'exit_signal' redeclared as
different kin
d of symbol
/usr/include/linux/sched.h:419: error: previous declaration of
'exit_signal' was
here
/usr/include/linux/sched.h: In function `thread_group_empty':
/usr/include/linux/sched.h:924: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `task_lock':
/usr/include/linux/sched.h:944: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `task_unlock':
/usr/include/linux/sched.h:949: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `get_task_mm':
/usr/include/linux/sched.h:963: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `set_tsk_thread_flag':
/usr/include/linux/sched.h:977: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `clear_tsk_thread_flag':
/usr/include/linux/sched.h:982: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `test_and_set_tsk_thread_flag':
/usr/include/linux/sched.h:987: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function
`test_and_clear_tsk_thread_flag':
/usr/include/linux/sched.h:992: error: dereferencing pointer to
incomplete type
/usr/include/linux/sched.h: In function `test_tsk_thread_flag':
/usr/include/linux/sched.h:997: error: dereferencing pointer to
incomplete type
In file included from /usr/include/linux/module.h:22,
                from agrmodem.c:29:
/usr/include/asm/module.h:56:2: #error unknown processor family
In file included from /usr/include/linux/irq.h:20,
                from /usr/include/asm/hardirq.h:6,
                from /usr/include/linux/interrupt.h:12,
                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:12,
                from agrmodem.c:40:
/usr/include/linux/irq.h: At top level:
/usr/include/linux/irq.h:48: error: syntax error before "cpumask_t"
/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:12,
                from agrmodem.c:40:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQ_VECTORS' undeclared here
(not in a
function)
In file included from agrmodem.c:40:
/usr/include/linux/interrupt.h:39: error: syntax error before
"cpumask_t"
/usr/include/linux/interrupt.h:43: error: syntax error before '}' token
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:121)
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_b
yte'
agrmodem.c: In function `x_pcibios_read_config_word':
agrmodem.c:269: warning: implicit declaration of function
`pcibios_read_config_w
ord'
agrmodem.c: In function `x_pcibios_read_config_dword':
agrmodem.c:273: warning: implicit declaration of function
`pcibios_read_config_d
word'
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/inc
lude/linux/module.h:554)
agrmodem.c: In function `x_MOD_DEC_USE_COUNT':
agrmodem.c:296: warning: `MOD_DEC_USE_COUNT' is deprecated (declared at
/usr/inc
lude/linux/module.h:566)
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-ali                                             asing rules
agrmodem.c: In function `x_atomic_set':
agrmodem.c:312: warning: dereferencing type-punned pointer will break
strict-ali                                             asing rules
agrmodem.c: In function `x_atomic_inc':
agrmodem.c:313: warning: dereferencing type-punned pointer will break
strict-ali                                             asing rules
agrmodem.c: In function `x_atomic_dec':
agrmodem.c:314: warning: dereferencing type-punned pointer will break
strict-ali                                             asing rules
agrmodem.c: In function `x_atomic_dec_and_test':
agrmodem.c:315: warning: dereferencing type-punned pointer will break
strict-ali                                             asing rules
make[1]: *** [agrmodem.a] Error 1
make[1]: Leaving directory `/usr/src/RPM/SOURCES/AgereSoftModem'
make: *** [install] Error 2

 ha scritto nel messaggio 
news:1109757424....@g14g2000cwa.googlegroups.com...


Ho appena instalato il modem nel mio Acer ...
Ma ho usato un'altro driver diverso il slmodem-2.9.10.tar.gz che ho
scaricato da 
http://www.smlink.com/content.aspx?id=53
Ho usato questo link per la configurazione
http://spiff1281.altervista.org/linux/configurazione_acertm803lmi.html