Skocz do zawartości

Problem Z Instalacja Libssh0.11


trucizna

Rekomendowane odpowiedzi

Witam wszystkich !

Mam tutaj mały problem z instalacją libssh

A o to logi:

checking build system type... x86_64-unknown-linux-gnu                                                   
checking host system type... x86_64-unknown-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 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 BN_init in -lcrypto... no                                                                   
checking for deflateInit_ in -lz... yes                                                                  
checking for gethostbyname in -lresolv... yes                                                            
checking for gethostbyname in -lnsl... yes                                                               
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 fcntl.h usability... yes                                                                        
checking fcntl.h presence... yes                                                                         
checking for fcntl.h... yes                                                                              
checking netdb.h usability... yes                                                                        
checking netdb.h presence... yes                                                                         
checking for netdb.h... yes                                                                              
checking netinet/in.h usability... yes                                                                   
checking netinet/in.h presence... yes                                                                    
checking for netinet/in.h... yes                                                                         
checking for stdlib.h... (cached) yes                                                                    
checking for string.h... (cached) yes                                                                    
checking sys/socket.h usability... yes                                                                   
checking sys/socket.h presence... yes                                                                    
checking for sys/socket.h... yes                                                                         
checking sys/time.h usability... yes                                                                     
checking sys/time.h presence... yes                                                                      
checking for sys/time.h... yes                                                                           
checking termios.h usability... yes                                                                      
checking termios.h presence... yes                                                                       
checking for termios.h... yes                                                                            
checking for unistd.h... (cached) yes                                                                    
checking openssl/aes.h usability... no                                                                   
checking openssl/aes.h presence... no                                                                    
checking for openssl/aes.h... no                                                                         
checking openssl/blowfish.h usability... no                                                              
checking openssl/blowfish.h presence... no                                                               
checking for openssl/blowfish.h... no                                                                    
checking zlib.h usability... yes                                                                         
checking zlib.h presence... yes                                                                          
checking for zlib.h... yes                                                                               
checking sys/poll.h usability... yes                                                                     
checking sys/poll.h presence... yes                                                                      
checking for sys/poll.h... yes                                                                           
checking for an ANSI C-conforming const... yes                                                           
checking whether time.h and sys/time.h may both be included... yes                                       
checking for stdlib.h... (cached) yes                                                                    
checking for GNU libc compatible malloc... yes                                                           
checking for working memcmp... yes                                                                       
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for sys/socket.h... (cached) yes
checking types of arguments for select... int,fd_set *,struct timeval *
checking return type of signal handlers... void
checking for vprintf... yes
checking for _doprnt... no
checking for endpwent... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for getpass... yes
checking for memmove... yes
checking for memset... yes
checking for select... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... yes
checking for strstr... yes
checking for poll... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libssh/Makefile
config.status: creating config.h
config.status: config.h is unchanged

i make 

gcc -g -O2 -Iinclude/ -Wall -g   -c -o sample.o sample.c                                                 
sample.c: In function ‘main’:                                                                            
sample.c:356: warning: pointer targets in passing argument 2 of ‘ssh_print_hexa’ differ in signedness    
sample.c:370: warning: pointer targets in passing argument 2 of ‘ssh_print_hexa’ differ in signedness    
gcc -g -O2 -Iinclude/ -Wall -g   -c -o samplesshd.o samplesshd.c                                         
make[1]: Wejście do katalogu `/home/user/pulpit/libssh-0.11/libssh'                                      
gcc -g -O2 -Wall -g -I../include/ -fPIC   -c -o client.o client.c                                        
In file included from /usr/include/openssl/e_os2.h:56,                                                   
                 from /usr/include/openssl/dsa.h:68,                                                     
                 from ../include/libssh/priv.h:58,                                                       
                 from client.c:27:                                                                       
/usr/include/openssl/opensslconf.h:29:32: error: opensslconf-x86_64.h: Nie ma takiego pliku ani katalogu 
In file included from /usr/include/openssl/dsa.h:81,                                                     
                 from ../include/libssh/priv.h:58,                                                       
                 from client.c:27:                                                                       
/usr/include/openssl/bn.h:290: error: expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:306: error: expected specifier-qualifier-list before ‘BN_ULONG’
/usr/include/openssl/bn.h:452: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_mod_word’
/usr/include/openssl/bn.h:453: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_div_word’
/usr/include/openssl/bn.h:454: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:455: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:456: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:457: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:458: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘BN_get_word’
/usr/include/openssl/bn.h:473: error: expected declaration specifiers or ‘...’ before ‘BN_ULONG’
/usr/include/openssl/bn.h:746: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_add_words’
/usr/include/openssl/bn.h:747: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_mul_words’
/usr/include/openssl/bn.h:748: error: expected ‘)’ before ‘*’ token
/usr/include/openssl/bn.h:749: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_div_words’
/usr/include/openssl/bn.h:750: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_add_words’
/usr/include/openssl/bn.h:751: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘bn_sub_words’
make[1]: *** [client.o] Błąd 1
make[1]: Opuszczenie katalogu `/home/user/pulpit/libssh-0.11/libssh'
make: *** [all] Błąd 1

 

Myślę, że tu chodzi coś o to:

 

checking openssl/aes.h usability... no                                                                   
checking openssl/aes.h presence... no                                                                    
checking for openssl/aes.h... no                                                                         
checking openssl/blowfish.h usability... no                                                              
checking openssl/blowfish.h presence... no                                                               
checking for openssl/blowfish.h... no

 

Tyle tylko nie wiem jak to rozwiązać. Mam oczywiście zainstalowany openssl

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...