Atteindre une page
Accueil des forums
Recherche
Aide
Portables
PC
Moniteurs
Photo / Vidéo
T.V.
Audio
GPS
Stockage
Téléphonie
autres catégories
Windows & logiciels
Bureautique
Développement
Internet
Jeux
Loisirs
Multimédia
Personnaliser son pc
Sécurité
Utilitaires
Logiciels Linux
logiciels Mac
jeux PC
Xbox
Playstation
Wii
PSP
DS
Action
Aventure
MMORPG
Sports
Simulation
Enfant
Soluces et astuces
Actu
Ciné-TV
Musique
Etudes
Divers
Sports
Réseaux et Internet
Programmation et développement
Logiciels d'entreprise
Systèmes d'exploitation en entreprise
Sécurité en entreprise
Entreprenariat
Emploi
Services PRO
Matériel PRO
Les actualités de 01net.
Avis sur les jeux vidéos
Avis sur les produits
Avis sur les logiciels
Avis sur le site
Problème de Téléchargement
fonctionnement du forum
benhamster
le 13 décembre 2006 à 18h53
Slt
j'ai une debian sarge
je vais donc telecharger la etch
voici le résultat de uname -a
Linux debian 2.4.27-2-386 #1 Mon May 16 16:47:51 JST 2005 i686 GNU/Linux
@+
benhamster
limax
le 13 décembre 2006 à 19h45
pour migrer vers etch tu édites ton fichers /etc/apt/sources et tu mets
puis # apt-get update
# apt-get dist-upgrade
rechercher et installer un noyau récent comme cité précédemment.
(prier et rebooter)
-------
gnu/debian lenny kernel 2.6.24
benhamster
le 16 décembre 2006 à 18h06
Slt j'ai enfin fini d'installer debian etch.
Je ne sais pas c'est le que le noyeau le plus récent mais pour l'instant j'ai celui ci :
uname -a
Linux debian 2.6.18-3-686 #1 SMP Mon Dec 4 16:41:14 UTC 2006 i686 GNU/Linux
et le ls -l /usr/bin/gcc =
lrwxrwxrwx 1 root root 7 2006-12-14 17:29 /usr/bin/gcc -> gcc-4.1
donc si j'ai bien compris je n'ai pas besoin à faire ces commandes :
# rm /usr/bin/gcc (pour effacer le lien)
# ln -s /usr/bin/gcc-4.1 /usr/bin/gcc (pour refaire le lien)
ps pour la debian etch je la trouve trop bien j'aimais bien la debian sarge mais la etch est bocoup mieux. Ma vieille carte son toute pourie à été même repérée!!!
benhamster
merci d'avance
benhamster
le 16 décembre 2006 à 18h49
C'est une distrib la SID??
C'est toujours dans le debian???
fat115
le 16 décembre 2006 à 19h05
SID = Still In Development, c'est la version la moins stable (mais aussi la plus à jour) de Debian =>
http://www.debian.org/releases/
-------
Forum inutilisable => je suis parti ailleurs !
benhamster
le 16 décembre 2006 à 20h25
Slt tout le monde
Dans les mêmes conditions que le message précédent. (toujours sur debian etch)
- gcc version 4.1
- noyau version 2.6
j'ai donc fait :
debian:/home/benoit/libssh2-0.14# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for gcc... /usr/bin/gcc-4.1
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 /usr/bin/gcc-4.1 accepts -g... yes
checking for /usr/bin/gcc-4.1 option to accept ANSI C... none needed
checking for socket in -lsocket... no
checking for ceil in -lm... yes
checking for gcc... (cached) /usr/bin/gcc-4.1
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/gcc-4.1 accepts -g... (cached) yes
checking for /usr/bin/gcc-4.1 option to accept ANSI C... (cached) none needed
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking whether byte ordering is bigendian... no
checking for pkg-config... no
checking for OpenSSL... -I/usr/include -L/usr/lib -lcrypto
checking for libz... Found in /usr/include /usr/lib
checking how to run the C preprocessor... /usr/bin/gcc-4.1 -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 errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for poll... yes
checking for gettimeofday... yes
checking for select... yes
checking for an ANSI C-conforming const... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating include/libssh2_config.h
Après j'ai fais un make:
/usr/bin/gcc-4.1 -o kex.o kex.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
kex.c: In function âlibssh2_kex_method_diffie_hellman_groupGP_sha1_key_exchangeâ:
kex.c:239: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:241: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:248: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:250: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c: In function âlibssh2_kexinitâ:
kex.c:777: warning: dereferencing type-punned pointer will break strict-aliasing rules
kex.c:806: warning: dereferencing type-punned pointer will break strict-aliasing rules
kex.c: In function âlibssh2_kex_agree_instrâ:
kex.c:879: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness
kex.c:879: warning: pointer targets in passing argument 2 of âstrncmpâ differ in signedness
kex.c:887: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
kex.c:887: warning: pointer targets in assignment differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness
kex.c:890: warning: pointer targets in passing argument 2 of âstrncmpâ differ in signedness
kex.c: In function âlibssh2_kex_agree_hostkeyâ:
kex.c:924: warning: pointer targets in assignment differ in signedness
kex.c:927: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
kex.c:927: warning: pointer targets in initialization differ in signedness
kex.c:928: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:930: warning: pointer targets in passing argument 1 of âlibssh2_get_method_by_nameâ differ in signedness
kex.c:956: warning: pointer targets in passing argument 3 of âlibssh2_kex_agree_instrâ differ in signedness
kex.c: In function âlibssh2_kex_agree_kex_hostkeyâ:
kex.c:987: warning: pointer targets in assignment differ in signedness
kex.c:990: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
kex.c:990: warning: pointer targets in initialization differ in signedness
kex.c:991: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:993: warning: pointer targets in passing argument 1 of âlibssh2_get_method_by_nameâ differ in signedness
kex.c:1021: warning: pointer targets in passing argument 3 of âlibssh2_kex_agree_instrâ differ in signedness
kex.c: In function âlibssh2_kex_agree_cryptâ:
kex.c:1052: warning: pointer targets in assignment differ in signedness
kex.c:1055: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
kex.c:1055: warning: pointer targets in initialization differ in signedness
kex.c:1056: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:1059: warning: pointer targets in passing argument 1 of âlibssh2_get_method_by_nameâ differ in signedness
kex.c:1076: warning: pointer targets in passing argument 3 of âlibssh2_kex_agree_instrâ differ in signedness
kex.c: In function âlibssh2_kex_agree_macâ:
kex.c:1097: warning: pointer targets in assignment differ in signedness
kex.c:1100: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
kex.c:1100: warning: pointer targets in initialization differ in signedness
kex.c:1101: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:1104: warning: pointer targets in passing argument 1 of âlibssh2_get_method_by_nameâ differ in signedness
kex.c:1121: warning: pointer targets in passing argument 3 of âlibssh2_kex_agree_instrâ differ in signedness
kex.c: In function âlibssh2_kex_agree_compâ:
kex.c:1142: warning: pointer targets in assignment differ in signedness
kex.c:1145: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
kex.c:1145: warning: pointer targets in initialization differ in signedness
kex.c:1146: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
kex.c:1149: warning: pointer targets in passing argument 1 of âlibssh2_get_method_by_nameâ differ in signedness
kex.c:1166: warning: pointer targets in passing argument 3 of âlibssh2_kex_agree_instrâ differ in signedness
kex.c: In function âlibssh2_session_method_prefâ:
kex.c:1353: warning: dereferencing type-punned pointer will break strict-aliasing rules
/usr/bin/gcc-4.1 -o mac.o mac.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
mac.c: In function âlibssh2_mac_method_hmac_sha1_96_hashâ:
mac.c:133: warning: pointer targets in passing argument 2 of âlibssh2_mac_method_hmac_sha1_hashâ differ in signedness
mac.c: In function âlibssh2_mac_method_hmac_md5_96_hashâ:
mac.c:192: warning: pointer targets in passing argument 2 of âlibssh2_mac_method_hmac_md5_hashâ differ in signedness
/usr/bin/gcc-4.1 -o misc.o misc.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
misc.c: In function âlibssh2_base64_decodeâ:
misc.c:136: warning: pointer targets in assignment differ in signedness
misc.c:141: warning: pointer targets in assignment differ in signedness
/usr/bin/gcc-4.1 -o packet.o packet.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
packet.c: In function âlibssh2_packet_x11_openâ:
packet.c:287: warning: pointer targets in passing argument 3 of âchannel->session->x11â differ in signedness
packet.c: In function âlibssh2_packet_addâ:
packet.c:324: warning: pointer targets in passing argument 2 of âsession->macerrorâ differ in signedness
packet.c:352: warning: pointer targets in assignment differ in signedness
packet.c:361: warning: pointer targets in assignment differ in signedness
packet.c:383: warning: pointer targets in passing argument 2 of âsession->ssh_msg_ignoreâ differ in signedness
packet.c:395: warning: pointer targets in assignment differ in signedness
packet.c:404: warning: pointer targets in assignment differ in signedness
packet.c: In function âlibssh2_packet_readâ:
packet.c:818: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness
packet.c:818: warning: pointer targets in passing argument 2 of âstrncmpâ differ in signedness
packet.c: In function âlibssh2_packet_askv_exâ:
packet.c:975: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
packet.c: In function âlibssh2_packet_burnâ:
packet.c:1032: warning: pointer targets in passing argument 2 of âlibssh2_packet_askv_exâ differ in signedness
packet.c: In function âlibssh2_packet_requirev_exâ:
packet.c:1084: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
/usr/bin/gcc-4.1 -o publickey.o publickey.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
publickey.c: In function âlibssh2_publickey_packet_receiveâ:
publickey.c:150: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
publickey.c:162: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
publickey.c: In function âlibssh2_publickey_response_idâ:
publickey.c:197: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
publickey.c:197: warning: pointer targets in passing argument 2 of âstrncmpâ differ in signedness
publickey.c: In function âlibssh2_publickey_initâ:
publickey.c:325: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
publickey.c: In function âlibssh2_publickey_add_exâ:
publickey.c:430: warning: pointer targets in assignment differ in signedness
publickey.c:485: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
publickey.c: In function âlibssh2_publickey_remove_exâ:
publickey.c:533: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
publickey.c: In function âlibssh2_publickey_list_fetchâ:
publickey.c:567: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
publickey.c:636: warning: pointer targets in assignment differ in signedness
publickey.c:664: warning: pointer targets in assignment differ in signedness
publickey.c:666: warning: pointer targets in assignment differ in signedness
/usr/bin/gcc-4.1 -o scp.o scp.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
scp.c: In function âlibssh2_scp_recvâ:
scp.c:85: warning: pointer targets in passing argument 4 of âlibssh2_channel_process_startupâ differ in signedness
scp.c:97: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
scp.c:107: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
scp.c:155: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
scp.c:155: warning: pointer targets in assignment differ in signedness
scp.c:166: warning: pointer targets in passing argument 1 of âstrtolâ differ in signedness
scp.c:172: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
scp.c:172: warning: pointer targets in assignment differ in signedness
scp.c:182: warning: pointer targets in passing argument 1 of â__builtin_strchrâ differ in signedness
scp.c:182: warning: pointer targets in assignment differ in signedness
scp.c:193: warning: pointer targets in passing argument 1 of âstrtolâ differ in signedness
scp.c:202: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
scp.c:218: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
scp.c:263: warning: pointer targets in assignment differ in signedness
scp.c:303: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
scp.c: In function âlibssh2_scp_send_exâ:
scp.c:373: warning: pointer targets in passing argument 4 of âlibssh2_channel_process_startupâ differ in signedness
scp.c:382: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
scp.c:390: warning: pointer targets in passing argument 1 of âsnprintfâ differ in signedness
scp.c:394: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
scp.c:400: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
scp.c:408: warning: pointer targets in assignment differ in signedness
scp.c:412: warning: pointer targets in assignment differ in signedness
scp.c:415: warning: pointer targets in passing argument 1 of âsnprintfâ differ in signedness
scp.c:419: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
scp.c:425: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
/usr/bin/gcc-4.1 -o session.o session.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
session.c: In function âlibssh2_banner_sendâ:
session.c:167: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
session.c:168: warning: pointer targets in assignment differ in signedness
session.c: In function âlibssh2_session_startupâ:
session.c:363: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
session.c:363: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
session.c:363: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
session.c:363: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
session.c:363: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
session.c:363: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
session.c:363: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
session.c:363: warning: pointer targets in passing argument 2 of âstrncmpâ differ in signedness
/usr/bin/gcc-4.1 -o sftp.o sftp.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
sftp.c: In function âlibssh2_sftp_packet_readâ:
sftp.c:169: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
sftp.c:175: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
sftp.c:180: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
sftp.c:202: warning: pointer targets in passing argument 3 of âlibssh2_channel_read_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_packet_askâ:
sftp.c:249: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of âstrlenâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 2 of â__builtin_strcmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 1 of âstrncmpâ differ in signedness
sftp.c:249: warning: pointer targets in passing argument 2 of âstrncmpâ differ in signedness
sftp.c: In function âlibssh2_sftp_initâ:
sftp.c:490: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c:526: warning: pointer targets in assignment differ in signedness
sftp.c:529: warning: pointer targets in assignment differ in signedness
sftp.c: In function âlibssh2_sftp_open_exâ:
sftp.c:592: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_readâ:
sftp.c:683: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_readdirâ:
sftp.c:735: warning: pointer targets in initialization differ in signedness
sftp.c:752: warning: pointer targets in assignment differ in signedness
sftp.c:778: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c:833: warning: pointer targets in assignment differ in signedness
sftp.c: In function âlibssh2_sftp_writeâ:
sftp.c:871: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_fstat_exâ:
sftp.c:930: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_close_handleâ:
sftp.c:1010: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_unlink_exâ:
sftp.c:1081: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_rename_exâ:
sftp.c:1148: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_mkdir_exâ:
sftp.c:1219: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_rmdir_exâ:
sftp.c:1271: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_stat_exâ:
sftp.c:1338: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
sftp.c: In function âlibssh2_sftp_symlink_exâ:
sftp.c:1422: warning: pointer targets in passing argument 3 of âlibssh2_channel_write_exâ differ in signedness
/usr/bin/gcc-4.1 -o userauth.o userauth.c -c -g -O2 -I/usr/include -I/usr/include -Wall -I../include/ -fPIC
userauth.c: In function âlibssh2_userauth_listâ:
userauth.c:102: warning: pointer targets in return differ in signedness
userauth.c: In function âlibssh2_file_read_publickeyâ:
userauth.c:291: warning: pointer targets in assignment differ in signedness
userauth.c:306: warning: pointer targets in assignment differ in signedness
userauth.c: In function âlibssh2_file_read_privatekeyâ:
userauth.c:340: warning: pointer targets in passing argument 2 of â(*hostkey_method)->initPEMâ differ in signedness
userauth.c:340: warning: pointer targets in passing argument 3 of â(*hostkey_method)->initPEMâ differ in signedness
userauth.c: In function âlibssh2_userauth_hostbased_fromfile_exâ:
userauth.c:400: warning: pointer targets in passing argument 4 of âlibssh2_file_read_privatekeyâ differ in signedness
userauth.c: In function âlibssh2_userauth_publickey_fromfile_exâ:
userauth.c:571: warning: pointer targets in passing argument 4 of âlibssh2_file_read_privatekeyâ differ in signedness
/usr/bin/gcc-4.1 -o libssh2.so -shared -lm channel.o comp.o crypt.o hostkey.o kex.o mac.o misc.o packet.o publickey.o scp.o session.o sftp.o userauth.o -L/usr/lib -lcrypto -L/usr/lib -lz
make[1]: quittant le répertoire « /home/benoit/libssh2-0.14/src »
Il y a plein de warning je ne sais pas si c'est grave.
après pour être sur que libssh2 était installé j'ai fais un locate libssh2
debian:~# locate libssh2
/home/benoit/libssh2-0.14
/home/benoit/libssh2-0.14/config.guess
/home/benoit/libssh2-0.14/config.log
/home/benoit/libssh2-0.14/config.status
/home/benoit/libssh2-0.14/config.sub
/home/benoit/libssh2-0.14/configure
/home/benoit/libssh2-0.14/include
/home/benoit/libssh2-0.14/include/libssh2_config.h
/home/benoit/libssh2-0.14/include/libssh2_config.h.in
/home/benoit/libssh2-0.14/include/libssh2.h
/home/benoit/libssh2-0.14/include/libssh2_priv.h
/home/benoit/libssh2-0.14/include/libssh2_publickey.h
/home/benoit/libssh2-0.14/include/libssh2_sftp.h
/home/benoit/libssh2-0.14/INSTALL
/home/benoit/libssh2-0.14/install-sh
/home/benoit/libssh2-0.14/LICENSE
/home/benoit/libssh2-0.14/Makefile
/home/benoit/libssh2-0.14/Makefile.in
/home/benoit/libssh2-0.14/mkinstalldirs
/home/benoit/libssh2-0.14/README
/home/benoit/libssh2-0.14/src
/home/benoit/libssh2-0.14/src/channel.c
/home/benoit/libssh2-0.14/src/channel.o
/home/benoit/libssh2-0.14/src/comp.c
/home/benoit/libssh2-0.14/src/comp.o
/home/benoit/libssh2-0.14/src/crypt.c
/home/benoit/libssh2-0.14/src/crypt.o
/home/benoit/libssh2-0.14/src/hostkey.c
/home/benoit/libssh2-0.14/src/hostkey.o
/home/benoit/libssh2-0.14/src/kex.c
/home/benoit/libssh2-0.14/src/kex.o
/home/benoit/libssh2-0.14/src/libssh2.so
/home/benoit/libssh2-0.14/src/mac.c
/home/benoit/libssh2-0.14/src/mac.o
/home/benoit/libssh2-0.14/src/Makefile
/home/benoit/libssh2-0.14/src/Makefile.in
/home/benoit/libssh2-0.14/src/misc.c
/home/benoit/libssh2-0.14/src/misc.o
/home/benoit/libssh2-0.14/src/packet.c
/home/benoit/libssh2-0.14/src/packet.o
/home/benoit/libssh2-0.14/src/publickey.c
/home/benoit/libssh2-0.14/src/publickey.o
/home/benoit/libssh2-0.14/src/scp.c
/home/benoit/libssh2-0.14/src/scp.o
/home/benoit/libssh2-0.14/src/session.c
/home/benoit/libssh2-0.14/src/session.o
/home/benoit/libssh2-0.14/src/sftp.c
/home/benoit/libssh2-0.14/src/sftp.o
/home/benoit/libssh2-0.14/src/userauth.c
/home/benoit/libssh2-0.14/src/userauth.o
/home/benoit/libssh2-0.14/ssh2_sample.c
/home/benoit/libssh2-0.14/win32
/home/benoit/libssh2-0.14/win32/config.mk
/home/benoit/libssh2-0.14/win32/libssh2_config.h
/home/benoit/libssh2-0.14/win32/libssh2.dsp
/home/benoit/libssh2-0.14/win32/libssh2.dsw
/home/benoit/libssh2-0.14/win32/rules.mk
/home/benoit/libssh2-0.14/win32/ssh2_sample.dsp
/root/Desktop/Téléchargements/libssh2-0.14
/root/Desktop/Téléchargements/libssh2-0.14/config.guess
/root/Desktop/Téléchargements/libssh2-0.14/config.sub
/root/Desktop/Téléchargements/libssh2-0.14/configure
/root/Desktop/Téléchargements/libssh2-0.14/include
/root/Desktop/Téléchargements/libssh2-0.14/include/libssh2_config.h.in
/root/Desktop/Téléchargements/libssh2-0.14/include/libssh2.h
/root/Desktop/Téléchargements/libssh2-0.14/include/libssh2_priv.h
/root/Desktop/Téléchargements/libssh2-0.14/include/libssh2_publickey.h
/root/Desktop/Téléchargements/libssh2-0.14/include/libssh2_sftp.h
/root/Desktop/Téléchargements/libssh2-0.14/INSTALL
/root/Desktop/Téléchargements/libssh2-0.14/install-sh
/root/Desktop/Téléchargements/libssh2-0.14/LICENSE
/root/Desktop/Téléchargements/libssh2-0.14/Makefile.in
/root/Desktop/Téléchargements/libssh2-0.14/mkinstalldirs
/root/Desktop/Téléchargements/libssh2-0.14/README
/root/Desktop/Téléchargements/libssh2-0.14/src
/root/Desktop/Téléchargements/libssh2-0.14/src/channel.c
/root/Desktop/Téléchargements/libssh2-0.14/src/comp.c
/root/Desktop/Téléchargements/libssh2-0.14/src/crypt.c
/root/Desktop/Téléchargements/libssh2-0.14/src/hostkey.c
/root/Desktop/Téléchargements/libssh2-0.14/src/kex.c
/root/Desktop/Téléchargements/libssh2-0.14/src/mac.c
/root/Desktop/Téléchargements/libssh2-0.14/src/Makefile.in
/root/Desktop/Téléchargements/libssh2-0.14/src/misc.c
/root/Desktop/Téléchargements/libssh2-0.14/src/packet.c
/root/Desktop/Téléchargements/libssh2-0.14/src/publickey.c
/root/Desktop/Téléchargements/libssh2-0.14/src/scp.c
/root/Desktop/Téléchargements/libssh2-0.14/src/session.c
/root/Desktop/Téléchargements/libssh2-0.14/src/sftp.c
/root/Desktop/Téléchargements/libssh2-0.14/src/userauth.c
/root/Desktop/Téléchargements/libssh2-0.14/ssh2_sample.c
/root/Desktop/Téléchargements/libssh2-0.14.tar.gz
/root/Desktop/Téléchargements/libssh2-0.14/win32
/root/Desktop/Téléchargements/libssh2-0.14/win32/config.mk
/root/Desktop/Téléchargements/libssh2-0.14/win32/libssh2_config.h
/root/Desktop/Téléchargements/libssh2-0.14/win32/libssh2.dsp
/root/Desktop/Téléchargements/libssh2-0.14/win32/libssh2.dsw
/root/Desktop/Téléchargements/libssh2-0.14/win32/rules.mk
/root/Desktop/Téléchargements/libssh2-0.14/win32/ssh2_sample.dsp
/root/downloading.php?groupname=libssh2
Croyez vous que libssh2 est installé??
Après j'ai fait un pear install ssh2-beta
No releases available for package "pear.php.net/ssh2" - package pecl/ssh2 can be installed with "pecl install ssh2"
Cannot initialize 'ssh2', invalid or missing package file
Package "ssh2" is not valid
install failed
Je préfererais résoudre d'abord le problème de ssh2-beta car si libssh2 n'est pas instalé, ssh2-beta me le signalera
benhamster
merci d'avance
limax
le 16 décembre 2006 à 20h27
le noyau de la etch est bien 2.6.18-3-686 normalement yu peux installer zlib1g-dev et compiler.
le etch est encore en testing mais plus pour longtent car elle va denir stable donc restera figé (comme la sarge)
personnellement je ne garde pas etch dans mes sources mais testing comme cela elle continura à évoluer lorsque etch sera figé, et je la met à jour toutes les semaines.
Le problème de la etch c'est que parfois il manque des paquets comme actuellement mozilla qui a disparu pour des raisons de code non libre alors j'ai du allez chercher dans sid le nouveau mozilla qui s'appelle iceape.
Le mélange de distribution s'appelle du pinning
http://www.andesi.org/index.php?node=130 ,mais c'est à faire juste avec qcq paquages sinon autant passer en sid. La etch est pour moi un bon compromis mais ayant utiliser la sid, ce n'est pas non plus l'enfer.
-------
gnu/debian lenny kernel 2.6.24
benhamster
le 16 décembre 2006 à 20h40
slt limax
j'ai oublié de dire que la debian etch a installé tous seul le libssl-dev et le zlib1g-deb.
@+
limax
le 16 décembre 2006 à 21h38
non iceape c'est pour mozilla, iceweasel c'est pour firefox et icedove pour thunderbird.
-------
gnu/debian lenny kernel 2.6.24
secwineman
le 17 décembre 2006 à 11h54
limax a écrit :
non iceape c'est pour mozilla, iceweasel c'est pour firefox et icedove pour thunderbird.
Abus de langage, je pensais qu'en disant mozilla tu disais firefox
benhamster
le 17 décembre 2006 à 16h40
comment je fais pour installer ssh2-beta avec ma debian sarge ca alait. Il faut que debian etch devienne en stable ???
limax
le 17 décembre 2006 à 17h26
Il n'y a pas de différence entre sarge et etch pour installer un paquet.
make sert à compiler et pour installer le module c'est
su ***pss root****
make install
update-modules pour mettre à jour les modules dans le noyau.
de mémoire il me semble que dans le fichier INSTALL de libssh2 il est dit de faire make all install ou qcq chose comme ca. Ton module tu l'as compilé mais pas installé.
les warning sont du à gcc4.
interessant de lire aussi sur leur site la recherche du mot debain
http://sourceforge.net/search/index.php?group_id=125852&form_submit=Searc(...)
-->Message édité par limax le 17/12/2006 17:28:51<--
-------
gnu/debian lenny kernel 2.6.24
Lord Winner
le 17 décembre 2006 à 18h52
Les warnings sur les différences de signes entre pointeurs ne sont pas graves, mais la warning sur l'aliasing est plus embêtante...
benhamster
le 17 décembre 2006 à 20h31
c'est quoi les aliasing ??? C'est des alias? mais de quoi???
benhamster
le 17 décembre 2006 à 22h04
avant tout pour comprendre mon message il faut lire ces deux liens :
http://fr.php.net/manual/en/ref.ssh2.php (en anglais)
http://www.manuelphp.com/php/ssh2.installation.php (pareil que le premier mais en français)
Il semblerait qu'on n'est pas obligé d'installer réellement libssh2 et openssl si on possède le fichier ssh2.so
Est-ce que quelqu'un le possède si oui sur quel distrib??
Je rapèle qu'il suffit de dire a apache l'endroit ou se trouve ce ssh2.so et le tour et joué.
Et donc l'installation de open ssl et de libssh2 ne sert simplement qu'à créer ce fichier .so
C'est cette adresse qui ma donné cette idée :
http://www.developpez.net/forums/archive/index.php/t-115426.html
(messages datant du 14/04/06)
Voilà j'éspère que si j'ai ce fichier tout ira bien
merci d'avance
benhamster
-->Message édité par benhamster le 17/12/2006 22:08:39<--
limax
le 18 décembre 2006 à 20h34
kex.c:777: warning: dereferencing type-punned pointer will break strict-aliasing rules
kex.c:806: warning: dereferencing type-punned pointer will break strict-aliasing rules
je regarderai ton site pendant les vacances.
-------
gnu/debian lenny kernel 2.6.24
limax
le 29 décembre 2006 à 21h59
même si tu as des warning tu l'as quand même compilé ( find ./ -name ssh2.so ) alors il te faut essayer la méthode proposé.
make all install
etc.....
et ensuite vérifier que cela fonctionne
-------
gnu/debian lenny kernel 2.6.24
PhunkyBob
le 14 mars 2007 à 14h26
Désolé de faire un retour sur le message initial
1. j'ai télécharger le fichier :
http://sourceforge.net/projects/libssh2/
2. j'ai décomprésser le fichier
3. j'ai fait cette commande : ./configure && make all install
mais j'ai un problème avec la commande make all install :
make[1]: Entering directory `/home/benoit/libssh2-0.14/src'
gcc -o channel.o channel.c -c -g -O2 /usr/include -Wall -I../include/ -fPIC
gcc: ne peut spécifier -o avec -c ou -S et de multiples compilations
make[1]: *** [channel.o] Erreur 1
make[1]: Leaving directory `/home/benoit/libssh2-0.14/src'
make: *** [all] Erreur 1
mais je viens d'avoir le meme probleme, et je suis tombé sur ce thread en faisant quelques recherches avec mon ami Google.
Comme ce thread ne m'a pas permis de résoudre mon probleme, j'ai continué à chercher...
Comme j'ai trouvé la solution, je me permets de la poster, au cas où quelqu'un se retrouve dans la meme situation.
Le fichier
src/Makefile contient la ligne suivante :
CFLAGS = -c -g -O2 /usr/include -I/usr/include -Wall -I../include/ -fPIC
Je l'ai remplacée par la ligne suivante :
CFLAGS = -c -g -O2 -I/usr/include -Wall -I../include/ -fPIC
(j'ai enlevé "
/usr/include ")
Retour à la racine du projet, puis
$> make clean
$> make all install
..and let's rocks !
limax
le 14 mars 2007 à 16h04
merci beaucoup
-------
gnu/debian lenny kernel 2.6.24
benhamster
le 24 mars 2007 à 01h09
Bonjour et merci beaucoup PunkyBob pour ta réponse...
Mais depuis que j'ai découvers la fonction exec et system de php, je ne vois plus l'intéret d'utiliser libssh2. C'est donc pour ça que j'ai abandonné libssh2 mais si il y a réellement un avantage j'aimerais bien savoir lequel?
Car si j'ai bien compris libssh2 est une libraire de comande ssh pour php mais dans exec ou system on execute aussi des commandes ssh.
je sais que c'est moi qui demandait de l'aide a propos de libssh2 pour absolument l'avoir et que finalement j'ai abandonné mais c'est parce que je ne voyais plus l'interet.
benhamster
le 05 avril 2007 à 13h36
up
Je me permet d'en faire un car là je ne sais vraiment pas a quoi celà pourait me servir