Bonjour à tous / Hello all,

############
PROBLEM
############
I can't compile the Speedtouch driver on SuSE9, Speedtouch compiled fine
on SuSE8.2. Why?

Je n'arrive pas à compiler le speedtouch driver avec la commande "make"
sous SuSE9

###############################
# kernel
# uname -a
Linux linux 2.4.21-99-athlon
1 Wed Sep 24 13:34:32 UTC 2003 i686 athlon i386 GNU/Linux

###############################
J'ai essayé deux versions de" Speedtouch driver" differentes :
1) speedtouch-1.1rc2 <= qui a fonctionné sans ***aucun*** problème
depuis SuSE8
2) speedtouch-1.2-beta2

# Erreur avec speedtouch-1.1rc2
###############################
cd src && make
make[1]: Entering directory `/usr/local/sbin/speedtouch-1.1rc2/src'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2
-DVERSION=\"1.1rc2\" -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c
pusb-linux.c
pusb-linux.c:66: error: redefinition of `struct usb_device_descriptor'
pusb-linux.c: In function `pusb_control_msg':
pusb-linux.c:164: error: structure has no member named `requesttype'
pusb-linux.c:165: error: structure has no member named `request'
pusb-linux.c:166: error: structure has no member named `value'
pusb-linux.c:167: error: structure has no member named `index'
pusb-linux.c:168: error: structure has no member named `length'
make[1]: *** [pusb.o] Error 1
make[1]: Leaving directory `/usr/local/sbin/speedtouch-1.1rc2/src'
make: *** [modem] Error 2
cd src && make
make[1]: Entering directory `/usr/local/sbin/speedtouch-1.1rc2/src'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2
-DVERSION=\"1.1rc2\" -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c
pusb-linux.c
pusb-linux.c:66: error: redefinition of `struct usb_device_descriptor'
pusb-linux.c: In function `pusb_control_msg':
pusb-linux.c:164: error: structure has no member named `requesttype'
pusb-linux.c:165: error: structure has no member named `request'
pusb-linux.c:166: error: structure has no member named `value'
pusb-linux.c:167: error: structure has no member named `index'
pusb-linux.c:168: error: structure has no member named `length'
make[1]: *** [pusb.o] Error 1
make[1]: Leaving directory `/usr/local/sbin/speedtouch-1.1rc2/src'
make: *** [modem] Error 2



# Erreur avec speedtouch-1.2-beta2
###############################
linux:/usr/local/sbin/speedtouch-1.2-beta2 # make
cd src && make
make[1]: Entering directory `/usr/local/sbin/speedtouch-1.2-beta2/src'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2
-DVERSION=\"1.2-beta2\" -D_REENTRANT -D_THREAD_SAFE -o pusb.o -c
pusb-linux.c
pusb-linux.c:66: error: redefinition of `struct usb_device_descriptor'
pusb-linux.c: In function `pusb_control_msg':
pusb-linux.c:164: error: structure has no member named `requesttype'
pusb-linux.c:165: error: structure has no member named `request'
pusb-linux.c:166: error: structure has no member named `value'
pusb-linux.c:167: error: structure has no member named `index'
pusb-linux.c:168: error: structure has no member named `length'
make[1]: *** [pusb.o] Error 1
make[1]: Leaving directory `/usr/local/sbin/speedtouch-1.2-beta2/src'
make: *** [modem] Error 2


Le script "speedtouch-doctor.sh" dit
HDLC support: failed to load
You should check your kernel config with: cd /usr/src/linux ; make
menuconfig
and look under Character devices for Non-standard serial port support
and HDLC line discipline support

La commande "make menuconfig" indique que les deux existent en tant que
"module"
  [*] Support for console on serial port
  [*] Non-standard serial port support


Merci de me dire pourquoi je ne peux compiler le driver "Speedtouch"
sous le kernel linux 2.4.21-99-athlon de SuSE9 ?


James





Liste de diffusion modem ALCATEL SpeedTouch USB
Pour se désinscrire : mailto:[EMAIL PROTECTED]

        

Reply via email to