Hello hicham,

You need to apply this patch to the source :

------------8<------- cut here ------------8<-------------------
diff -ru speedtouch-1.3/src/modem_run.c speedtouch-1.3.new/src/modem_run.c
--- speedtouch-1.3/src/modem_run.c      2004-06-10 18:36:35.000000000 +0200
+++ speedtouch-1.3.new/src/modem_run.c  2005-06-13 23:26:38.000000000 +0200
@@ -91,7 +91,7 @@
 * Global variables
 ******************************************************************************/
                                                                                
                                                                             

-static int verbose = 0;
+int verbose = 0;
 FILE *flog = NULL;
                                                                                
                                                                             

 /*****************************************************************************
------------8<------- cut here ------------8<-------------------

hicham wrote:

>Hello
>I've tried the speedtouchconf script ( the 6 mars 05 version and the 
>betas versions as well ) in Fedora core 4
>I get the following error :
>cd src && make
>make[1]: Entering directory 
>`/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src'
>gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\"1.3\" 
>-c firmware.c
>gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION=\"1.3\" 
>-D_REENTRANT -D_THREAD_SAFE -o pusb.o -c pusb-linux.c
>gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG 
>-DVERSION=\"1.3\" -c modem_run.c
>modem_run.c:84: error: static declaration of ‘verbose’ follows 
>non-static declaration
>modem.h:42: error: previous declaration of ‘verbose’ was here
>modem_run.c: In function ‘get_reference’:
>modem_run.c:691: warning: pointer targets in passing argument 6 of 
>‘pusb_control_msg’ differ in signedness
>modem_run.c: In function ‘report’:
>modem_run.c:1119: warning: pointer targets in passing argument 1 of 
>‘dump’ differ in signedness
>modem_run.c: In function ‘dump’:
>modem_run.c:1180: warning: pointer targets in passing argument 1 of 
>‘sprintf’ differ in signedness
>modem_run.c:1189: warning: pointer targets in passing argument 1 of 
>‘sprintf’ differ in signedness
>modem_run.c:1198: warning: pointer targets in passing argument 1 of 
>‘sprintf’ differ in signedness
>modem_run.c:1207: warning: pointer targets in passing argument 2 of 
>‘syslog’ differ in signedness
>make[1]: *** [modem_run.o] Error 1
>make[1]: Leaving directory 
>`/root/speedtouch/speedtouchconf-25b-02-2005/speedtouch-1.3-sgp/src'
>make: *** [modem] Error 2
>
>Thanks for your help
>
>hicham
>
>Liste de diffusion modem ALCATEL SpeedTouch USB
>Pour se désinscrire : mailto:[EMAIL PROTECTED]
>
>       
>
>  
>


-- Binary/unsupported file stripped by Listar --
-- Type: text/x-vcard
-- File: ruaudel.vcf


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

        

Reply via email to