[ubuntu-fr] Modem USB Olitec V3

Franck GIBERT frgib at tiscali.fr
Ven 7 Jan 23:22:38 UTC 2005


Merci pour vos réponses, voici le message d'erreur

ln: `/lib/modules/2.6.8.1-3-386/build': fichier existant.
gcc -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe 
-fno-strength-reduce -DCPU=686 -march=i686  -DMODULE -D__KERNEL__ 
-DLINUX  -I/lib/modules/`uname -r`/build/include -c usbsndcm.c -o usbsndcm.o
Dans le fichier inclus à partir de /usr/include/asm/smp.h:18,
           Ã  partir de /usr/include/linux/smp.h:17,
           Ã  partir de /usr/include/linux/topology.h:33,
           Ã  partir de /usr/include/linux/mmzone.h:296,
           Ã  partir de /usr/include/linux/gfp.h:4,
           Ã  partir de /usr/include/linux/slab.h:15,
           Ã  partir de hasbani.h:28,
           Ã  partir de usbsndcm.c:20:
/usr/include/asm/mpspec.h:6:25: mach_mpspec.h : Aucun fichier ou 
répertoire de ce type
In file included from /usr/include/asm/smp.h:18,
                  from /usr/include/linux/smp.h:17,
                  from /usr/include/linux/topology.h:33,
                  from /usr/include/linux/mmzone.h:296,
                  from /usr/include/linux/gfp.h:4,
                  from /usr/include/linux/slab.h:15,
                  from hasbani.h:28,
                  from usbsndcm.c:20:
/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)
In file included from /usr/include/asm/smp.h:20,
                  from /usr/include/linux/smp.h:17,
                  from /usr/include/linux/topology.h:33,
                  from /usr/include/linux/mmzone.h:296,
                  from /usr/include/linux/gfp.h:4,
                  from /usr/include/linux/slab.h:15,
                  from hasbani.h:28,
                  from usbsndcm.c:20:
/usr/include/asm/io_apic.h:120: error: `MAX_IRQ_SOURCES' undeclared here 
(not in a function)
/usr/include/asm/io_apic.h:120: error: conflicting types for `mp_irqs'
/usr/include/asm/mpspec.h:22: error: previous declaration of `mp_irqs'
Dans le fichier inclus à partir de /usr/include/linux/smp.h:17,
           Ã  partir de /usr/include/linux/topology.h:33,
           Ã  partir de /usr/include/linux/mmzone.h:296,
           Ã  partir de /usr/include/linux/gfp.h:4,
           Ã  partir de /usr/include/linux/slab.h:15,
           Ã  partir de hasbani.h:28,
           Ã  partir de usbsndcm.c:20:
/usr/include/asm/smp.h:73:26: mach_apicdef.h : Aucun fichier ou 
répertoire de ce type
Dans le fichier inclus à partir de /usr/include/linux/irq.h:20,
           Ã  partir de /usr/include/asm/hardirq.h:6,
           Ã  partir de /usr/include/linux/interrupt.h:11,
           Ã  partir de /usr/include/linux/usb.h:14,
           Ã  partir de hasbani.h:29,
           Ã  partir de usbsndcm.c:20:
/usr/include/asm/irq.h:16:25: irq_vectors.h : Aucun fichier ou 
répertoire de ce type
In file included from /usr/include/asm/hardirq.h:6,
                  from /usr/include/linux/interrupt.h:11,
                  from /usr/include/linux/usb.h:14,
                  from hasbani.h:29,
                  from usbsndcm.c:20:
/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 /usr/include/linux/usb.h:14,
                  from hasbani.h:29,
                  from usbsndcm.c:20:
/usr/include/asm/hw_irq.h:28: error: `NR_IRQS' undeclared here (not in a 
function)
/usr/include/asm/hw_irq.h:31: error: `NR_IRQS' undeclared here (not in a 
function)
make: *** [usbsndcm.o] Erreur 1


Globule a écrit :
> Bonjour !
> 
> Des pistes ? Peut être :) Tu as un message d'erreurs à nous soumettre ?  
> 
> 
> On Fri,  7 Jan 2005 17:23:21 +0100, frgib at tiscali.fr <frgib at tiscali.fr> wrote:
> 
>>Bonjour,
>>
>>Je n'arrive pas à compiler le driver OLitec pour mon modem USB.
>>Le make me renvoi des erreurs, j'ai pourtant installé
>>kernel-source, gcc, et make (avec apt)
>>
>>Avez vous des pistes ?
>>
>>Merci
>>Franck
>>
>>Ps : Sinon c'est génial, installé depuis 3 jours je suis
>>super emballé
>>************************ ADSL JUSQU'A 16 MEGA + TELEPHONE GRATUIT ************************
>>L'ultra haut débit à 30EUR/mois seulement ! Et vous téléphonez gratuitement en France vers les postes fixes, hors numéros spéciaux.
>>Pour profiter de cette offre exceptionnelle, cliquez ici : http://register.tiscali.fr/adsl/  (voir conditions sur le site)
>>
>>--
>>ubuntu-fr mailing list
>>ubuntu-fr at lists.ubuntu.com
>>http://lists.ubuntu.com/mailman/listinfo/ubuntu-fr
>>
> 
> 




Plus d'informations sur la liste de diffusion ubuntu-fr