Précédent   Forum des professionnels en informatique > Systèmes > Linux > Matériel
Matériel Vos questions relatives à la configuration optimale et au support matériel
Partagez cette discussion sur d'autres réseaux sociaux : Viadeo Twitter Google Facebook Digg Delicious MySpace Yahoo
Réponse Proposer ce sujet en actualité
 
Outils de la discussion
Publicité
'
Vieux 07/01/2008, 11h26   #1
Membre du Club
 
Inscription : juillet 2007
Messages : 174
Détails du profil
Informations forums :
Inscription : juillet 2007
Messages : 174
Points : 41
Points : 41
Par défaut probleme compilation driver Bewan

Bonjour,
j'ai un probleme de compilation d'un driver pour une carte Bewan PCIst mais je ne comprend pas d'où sa vient. Voici l'erreur:

Citation:
serveur:/home/ser/Desktop/unicorn/unicorn_pci# make
make CC=gcc -C /usr/src/linux SUBDIRS=/home/ser/Desktop/unicorn/unicorn_pci modules
make[1]: entrant dans le répertoire « /usr/src/linux-source-2.6.18 »
CC [M] /home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.o
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2160: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2162: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2163: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2165: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2166: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2168: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2170: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2171: error: expected ‘)’ before string constant

/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2172: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2173: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2174: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2175: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2176: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2177: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2178: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2181: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2186: error: expected ‘)’ before string constant
/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.c:2191: error: expected ‘)’ before string constant
make[2]: *** [/home/ser/Desktop/unicorn/unicorn_pci/unicorn_pcidrv.o] Erreur 1
make[1]: *** [_module_/home/ser/Desktop/unicorn/unicorn_pci] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-source-2.6.18 »
make: *** [modules] Erreur 2
serveur:/home/ser/Desktop/unicorn/unicorn_pci#
Je suis sous une debian.
Pouvez vous m'aider à resoudre ce probleme?

merci d'avance
sebatlante est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/01/2008, 15h54   #2
En attente de confirmation mail
 
Avatar de gandalfar
 
Inscription : novembre 2004
Messages : 145
Détails du profil
Informations forums :
Inscription : novembre 2004
Messages : 145
Points : 116
Points : 116
Envoyer un message via MSN à gandalfar
quel est ta version de gcc ?
gandalfar est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 07/01/2008, 17h34   #3
Membre du Club
 
Inscription : juillet 2007
Messages : 174
Détails du profil
Informations forums :
Inscription : juillet 2007
Messages : 174
Points : 41
Points : 41
ma version de gcc est 4.1.2
sebatlante est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 09h54   #4
En attente de confirmation mail
 
Avatar de gandalfar
 
Inscription : novembre 2004
Messages : 145
Détails du profil
Informations forums :
Inscription : novembre 2004
Messages : 145
Points : 116
Points : 116
Envoyer un message via MSN à gandalfar
tu a essayer de changer le Makefile pour utiliser une version plus permissive de gcc comme la 3.3?
gandalfar est déconnecté   Envoyer un message privé Réponse avec citation 00
Vieux 08/01/2008, 21h24   #5
Membre du Club
 
Inscription : juillet 2007
Messages : 174
Détails du profil
Informations forums :
Inscription : juillet 2007
Messages : 174
Points : 41
Points : 41
Aparement il semblerait que ce soit un probleme dans la source.
J'ai alors modifier quelque ligne et le probleme precedent ne se pose plus.
Mais un nouveau probleme est aparut:
Citation:
serveur:/home/ser/Desktop/unicorn/unicorn_pci# make
make CC=gcc -C /usr/src/linux SUBDIRS=/home/ser/Desktop/unicorn/unicorn_pci modules
make[1]: entrant dans le répertoire « /usr/src/linux-source-2.6.18 »
make[2]: *** Pas de règle pour fabriquer la cible « /home/ser/Desktop/unicorn/unicorn_pci/../msw/msw.o », nécessaire pour « /home/ser/Desktop/unicorn/unicorn_pci/unicorn_pci_atm.o ». Arrêt.
make[1]: *** [_module_/home/ser/Desktop/unicorn/unicorn_pci] Erreur 2
make[1]: quittant le répertoire « /usr/src/linux-source-2.6.18 »
make: *** [modules] Erreur 2
Et comment changer le Makefile pour utiliser une version plus permissive de gcc comme la 3.3?
sebatlante est déconnecté   Envoyer un message privé Réponse avec citation 00
Réponse Proposer ce sujet en actualité
Outils de la discussion



Fuseau horaire GMT +2. Il est actuellement 14h03.


 
 
 
 
Partenaires

Hébergement Web