salut,
je n'arrive pas a compiler le module pour un modem pctel.
j'ai essaye avec le pilote pour kernel 2.6
http://br.geocities.com/ricardowongbr/pctel/
il me donne l'erreur suivante :
[root@P4-3Ghz src]# ./configure -exp
checking for running kernel version...** error
your kernel version is: 2.6.19
this package supports only 2.4.x kernels.
enable experimental 2.6 kernel support.
Please read the FAQ about kernel 2.6 experimental support
patching file ptserial-2.4.7.c
patching file Makefile.orig
patching file FAQ
2.6.19
checking for ptserial...ptserial-2.6.0.c
checking for gcc...4.1.2
searching for kernel includes...found at /usr/src/linux/include
checking for autoconf.h e irq_vectors.h .../usr/src/linux/include/linux/autoconf.h -I/usr/src/linux/include/asm/mach-default
checking for kernel_version...t.c: In function ‘main’:
t.c:4: erreur: ‘UTS_RELEASE’ undeclared (first use in this function)
t.c:4: erreur: (Each undeclared identifier is reported only once
t.c:4: erreur: for each function it appears in.)
./configure: line 379: ./t: Aucun fichier ou répertoire de ce type
rm: ne peut enlever `./t': Aucun fichier ou répertoire de ce type
** error
could not determine a proper UTS_RELEASE
a savoir que les option du ./configure sont les suivante :
[root@P4-3Ghz src]# ./configure
use -auto to try to guess your modem and install it automatically
use -manual to only generate the makefile
use -exp to force 2.6.0 experimental support
merci pour votre aide,
major_kusanagi.
pb compile module modem pctel
-
- newbie
- Messages : 2
- Inscription : ven. 23 févr. 2007, 18:01
- vincentxavier
- Elfe
- Messages : 778
- Inscription : ven. 11 août 2006, 18:17
- Localisation : Epinay sur Seine (93)
regarde donc le fichier t.c à la ligne 4
Amha, il faut patcher
Amha, il faut patcher
Warranty
THIS ADVICE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
En clair, je ne pourrais être tenu responsable des dégats causés par l'utilisation de mes conseils

THIS ADVICE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
En clair, je ne pourrais être tenu responsable des dégats causés par l'utilisation de mes conseils

-
- newbie
- Messages : 2
- Inscription : ven. 23 févr. 2007, 18:01