[probleme ./configure, make et make install]

Fermé
steven - 13 déc. 2006 à 14:21
 steven - 13 déc. 2006 à 22:25
Bonjour à tous.

J’ai plusieurs questions à vous poser en espérant que quelqu’un me répondra SVP.

Qu’elles sont les programmes à installer pour que ./configure make et make install fonctionnent sur linux Suse 10?

J’essaye d’installer le speedtouch330 USB pour pouvoir naviguer sur le web donc j’ai téléchargé le pilote ou le driver de celui ci et je tape :

tar zxvf speedtouch-1.3.1.tar.gz
cd speedtouch-1.3.1
./configure
make

Mais j’ai l’impression que la commande make ne fonctionne pas.
J’ai installer le gcc,autoconf,automake,libstdc++-devel,glib2-devel,glade(gtk2+), y a-t-il d’autres programmes à installer? Ou peut être que ca ne fonctionne pas parcequ’il manque autre chose?

Pour plus d’informations sur le terminal ca donne ca :

linux:~ # tar zxvf speedtouch-1.3.1.tar.gz
speedtouch-1.3.1/
speedtouch-1.3.1/AUTHORS
speedtouch-1.3.1/COPYING
speedtouch-1.3.1/TODO
speedtouch-1.3.1/VERSION.in
speedtouch-1.3.1/VERSION
speedtouch-1.3.1/INSTALL
speedtouch-1.3.1/INSTALL.txt.fr
speedtouch-1.3.1/configure.in
speedtouch-1.3.1/configure
speedtouch-1.3.1/config.guess
speedtouch-1.3.1/config.sub
speedtouch-1.3.1/ChangeLog
speedtouch-1.3.1/Makefile.in
speedtouch-1.3.1/speedtouch.spec.in
speedtouch-1.3.1/install-sh
speedtouch-1.3.1/speedtouch.spec
speedtouch-1.3.1/missing
speedtouch-1.3.1/debian/
speedtouch-1.3.1/debian/changelog
speedtouch-1.3.1/debian/copyright
speedtouch-1.3.1/debian/docs
speedtouch-1.3.1/debian/manpages
speedtouch-1.3.1/debian/config
speedtouch-1.3.1/debian/examples
speedtouch-1.3.1/debian/README.Debian
speedtouch-1.3.1/debian/control
speedtouch-1.3.1/debian/dirs
speedtouch-1.3.1/debian/rules
speedtouch-1.3.1/debian/templates
speedtouch-1.3.1/src/
speedtouch-1.3.1/src/atm.c
speedtouch-1.3.1/src/Makefile.in
speedtouch-1.3.1/src/pppoa2.c
speedtouch-1.3.1/src/pusb.h
speedtouch-1.3.1/src/atm.h
speedtouch-1.3.1/src/firmware.c
speedtouch-1.3.1/src/modem.h
speedtouch-1.3.1/src/pppoa3.c
speedtouch-1.3.1/src/pusb-linux.c
speedtouch-1.3.1/src/crc.c
speedtouch-1.3.1/src/firmware.h
speedtouch-1.3.1/src/modem_run.c
speedtouch-1.3.1/src/pppoa3.h
speedtouch-1.3.1/src/smallsem.c
speedtouch-1.3.1/src/crc.h
speedtouch-1.3.1/src/n_hdlc.c.diff
speedtouch-1.3.1/src/pusb-bsd.c
speedtouch-1.3.1/src/smallsem.h
speedtouch-1.3.1/src/pusb-linux.h
speedtouch-1.3.1/src/boot.v123.S
speedtouch-1.3.1/src/boot.v123.bin
speedtouch-1.3.1/src/speedtouch-setup.in
speedtouch-1.3.1/src/speedtouch-start.in
speedtouch-1.3.1/src/speedtouch-stop.in
speedtouch-1.3.1/src/mutex.h
speedtouch-1.3.1/src/mutex.c
speedtouch-1.3.1/hotplug/
speedtouch-1.3.1/hotplug/Makefile.in
speedtouch-1.3.1/hotplug/speedtouch.in
speedtouch-1.3.1/hotplug/speedtouch.usermap
speedtouch-1.3.1/doc-linux/
speedtouch-1.3.1/doc-linux/doctor/
speedtouch-1.3.1/doc-linux/doctor/check-hdlc-bug.c
speedtouch-1.3.1/doc-linux/doctor/check-hdlc.c
speedtouch-1.3.1/doc-linux/doctor/Makefile
speedtouch-1.3.1/doc-linux/doctor/speedtouch-doctor.sh
speedtouch-1.3.1/doc-linux/howto/
speedtouch-1.3.1/doc-linux/howto/SpeedTouch-HOWTO-en.html
speedtouch-1.3.1/doc-linux/howto/SpeedTouch-HOWTO-fr.html
speedtouch-1.3.1/doc-linux/howto/SpeedTouch-HOWTO-de.html
speedtouch-1.3.1/doc-linux/howto/SpeedTouch-HOWTO-it.html
speedtouch-1.3.1/doc-linux/howto/SpeedTouch-HOWTO-es.html
speedtouch-1.3.1/doc-linux/howto/SpeedTouch-HOWTO-nl.html
speedtouch-1.3.1/doc-linux/man/
speedtouch-1.3.1/doc-linux/man/modem_run.8
speedtouch-1.3.1/doc-linux/man/pppoa2.8
speedtouch-1.3.1/doc-linux/man/pppoa3.8
speedtouch-1.3.1/doc-linux/man/speedtouch-setup.1
speedtouch-1.3.1/doc-linux/man/speedtouch-start.1
speedtouch-1.3.1/doc-linux/man/speedtouch-stop.1
speedtouch-1.3.1/doc-linux/adsl-conf-pppd
speedtouch-1.3.1/doc-linux/FAQ
speedtouch-1.3.1/doc-linux/speedtouch.conf
speedtouch-1.3.1/doc-linux/adsl.ppp-peersample
speedtouch-1.3.1/doc-linux/HDLC_BUG
speedtouch-1.3.1/doc-linux/pppoax-doc-en.txt
speedtouch-1.3.1/doc-linux/speedtouch.sh
speedtouch-1.3.1/doc-linux/BUGS
speedtouch-1.3.1/doc-linux/pppoax-doc-es.txt
speedtouch-1.3.1/doc-linux/Makefile.in
speedtouch-1.3.1/doc-linux/results.txt
speedtouch-1.3.1/doc-linux/pppoax-doc-fr.txt
speedtouch-1.3.1/doc-bsd/
speedtouch-1.3.1/doc-bsd/adsl.sh.sample
speedtouch-1.3.1/doc-bsd/FAQ-es
speedtouch-1.3.1/doc-bsd/INSTALL-de
speedtouch-1.3.1/doc-bsd/INSTALL.in
speedtouch-1.3.1/doc-bsd/Makefile.in
speedtouch-1.3.1/doc-bsd/ppp.conf.sample
speedtouch-1.3.1/doc-bsd/FAQ-fr
speedtouch-1.3.1/doc-bsd/INSTALL-es
speedtouch-1.3.1/doc-bsd/INSTALL-it
speedtouch-1.3.1/doc-bsd/patch-usb
speedtouch-1.3.1/doc-bsd/vpivci
speedtouch-1.3.1/doc-bsd/FAQ
speedtouch-1.3.1/doc-bsd/INSTALL
speedtouch-1.3.1/doc-bsd/INSTALL-fr
speedtouch-1.3.1/doc-bsd/INSTALL-nl
speedtouch-1.3.1/doc-bsd/FAQ-nl
linux:~ # cd speedtouch-1.3.1
linux:~/speedtouch-1.3.1 # ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for stdlib.h... (cached) yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for string.h... (cached) yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for pid_t... yes
checking for size_t... yes
checking for an ANSI C-conforming const... yes
checking return type of signal handlers... void
checking for alarm... yes
checking for gettimeofday... yes
checking for memmove... yes
checking for memset... yes
checking for mkfifo... yes
checking for select... yes
checking for strdup... yes
checking for strerror... yes
checking for pthread_create in -lpthread... yes
checking for rpm... /usr/src/packages
configure: creating ./config.status
config.status: creating Makefile
config.status: creating VERSION
config.status: creating src/Makefile
config.status: creating hotplug/Makefile
config.status: creating doc-linux/Makefile
config.status: creating doc-bsd/Makefile
config.status: creating speedtouch.spec
linux:~/speedtouch-1.3.1 # make
cd src && make
make[1]: Entering directory `/root/speedtouch-1.3.1/src'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION="\"1.3.1\"" -c firmware.c
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DVERSION="\"1.3.1\"" -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.1\"" -c modem_run.c
modem_run.c:94: 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:788: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness
modem_run.c: In function ‘report’:
modem_run.c:1222: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness
modem_run.c: In function ‘dump’:
modem_run.c:1283: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1292: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1301: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
make[1]: *** [modem_run.o] Error 1
make[1]: Leaving directory `/root/speedtouch-1.3.1/src'
make: *** [modem] Error 2
linux:~/speedtouch-1.3.1 # make install
cd src && make
make[1]: Entering directory `/root/speedtouch-1.3.1/src'
gcc -Wall -I. -I/usr/local/include -I/usr/include -O2 -DUSE_SYSLOG -DVERSION="\"1.3.1\"" -c modem_run.c
modem_run.c:94: 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:788: warning: pointer targets in passing argument 6 of ‘pusb_control_msg’ differ in signedness
modem_run.c: In function ‘report’:
modem_run.c:1222: warning: pointer targets in passing argument 1 of ‘dump’ differ in signedness
modem_run.c: In function ‘dump’:
modem_run.c:1283: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1292: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
modem_run.c:1301: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
make[1]: *** [modem_run.o] Error 1
make[1]: Leaving directory `/root/speedtouch-1.3.1/src'
make: *** [modem] Error 2
linux:~/speedtouch-1.3.1 #
A voir également:

1 réponse

mamiemando Messages postés 33079 Date d'inscription jeudi 12 mai 2005 Statut Modérateur Dernière intervention 23 avril 2024 7 749
13 déc. 2006 à 18:42
C'est une erreur de compilation pure, ie la version de gcc utilisée n'est pas la bonne. Essaye de mettre à jour ton gcc ça marchera peut être mieux.

Sinon l'erreur a lieu ici :
modem_run.c:94: error: static declaration of ‘verbose’ follows non-static declaration 

Si tu t'y connais en C tu peux essayer de corriger toi même l'erreur dans le code source mais c'est pas forcément de la tarte.


Bonne chance
0
Ok je vais installer une autre version de gcc peut etre que ça marcheras.
0