Léa-Linux & amis :   LinuxFR   GCU-Squad   GNU
driver pctel sur mandrake9.2
Envoyé par: doume1

bonjour, j'ai installé la mandrake 9.2 , tout fonctionne sauf évidemment mon kortex56k. en installant les drivers 0.9.6.1 en faisant make j'obtiens une erreur :
[root@viney pctel-0.9.6.1]# make
Making all in src
make[1]: Entering directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src'
Making all in module
make[2]: Entering directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src/module'
rm -f *~ \#* .*~ .\#*
rm -f ptmodule.o
rm -f ptmodule.o
rm -f ../../modules/pctel.o
gcc -D__KERNEL__ -Werror -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptmodule.o ptmodule.c
ld -r -o ../../modules/pctel.o ptmodule.o ../../lib/control.a ../../lib/vuart.o ../../lib/pct789/dsp.a ../../lib/pct789/pcthal.a
make[2]: Leaving directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src/module'
Making all in ptserial
make[2]: Entering directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src/ptserial'
rm -f *~ \#* .*~ .\#*
rm -f ptserial.o ptserial.c
rm -f ptserial.o
rm -f ../../modules/ptserial.o
ln -s -f ptserial-2.4.7.c ../../src/ptserial/ptserial.c
make ptserial.o
make[3]: Entering directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src/ptserial'
gcc -D__KERNEL__ -Wno-trigraphs -fno-common -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -fno-strict-aliasing -pipe -fno-strength-reduce -DMODULE -DMODVERSIONS -DEXPORT_SYMTAB -DHAL_PCT789 -DBUILD_SYSTEM=\""`uname -s -m -r -p`\"" -DGCC_VERSION=\""`gcc --version | head -1`\"" -I../../include -I/usr/src/linux/include -include /usr/src/linux/include/linux/modversions.h -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pctel\" -DVERSION=\"0.9.6.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -c -o ptserial.o ptserial.c
ptserial.c: In function `rs_close':
ptserial.c:2815: error: request for member `counter' in something not a structure or union
make[3]: *** [ptserial.o] Erreur 1
make[3]: Leaving directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src/ptserial'
make[2]: *** [all] Erreur 2
make[2]: Leaving directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src/ptserial'
make[1]: *** [all-recursive] Erreur 1
make[1]: Leaving directory `/root/pctel-0.9.6.1/pctel-0.9.6.1/src'
make: *** [all-recursive] Erreur 1
la version du kernel : 2.4.22.10
j'ai essayé aussi avec la modification du fichier makefile.in (retrait de -Werror) utilisé dans une des FAQs.
pour infos la version pctel0.9.6 permet la connection mais a tendance à bloquer le système (clavier clignotant) et m'obliger au reboot "sauvage"
merci

Poste le Saturday 22 November 2003 20:52:51
Répondre     Citer    

Veuillez vous authentifier auparavant pour commenter.

 

Ce forum !
driver pctel sur mandrake9.2
Vous voulez savoir si votre matériel est supporté par Linux, ou vous avez un problème pour installer un module ? Ce forum est pour vous !

Sauf mention contraire, les documentations publiées sont sous licence Creative-Commons