make[1]: Entering directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/common'
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -fPIC -c -o SS5OpenLdap.o SS5OpenLdap.c
SS5OpenLdap.c: In function ‘DirectoryQuery’:
SS5OpenLdap.c:202:14: warning: implicit declaration of function ‘ldap_bind_s’; did you mean ‘ldap_turn_s’? [-Wimplicit-function-declaration]
if (( rc = ldap_bind_s( ld, S5Ldap[dirid].Dn, S5Ldap[dirid].Pass, LDAP_AUTH_SIMPLE )) != LDAP_SUCCESS ) {
^~~~~~~~~~~
ldap_turn_s
SS5OpenLdap.c:205:5: warning: implicit declaration of function ‘ldap_unbind’; did you mean ‘ldap_unbind_ex’? [-Wimplicit-function-declaration]
ldap_unbind( ld );
^~~~~~~~~~~
ldap_unbind_ext
SS5OpenLdap.c:211:14: warning: implicit declaration of function ‘ldap_search_st’; did you mean ‘ldap_search_ext’? [-Wimplicit-function-declaration]
if (( rc = ldap_search_st( ld, baseDn, LDAP_SCOPE_SUBTREE, searchFilter, attrsList, 0, &oldapTimeout, &result )) != LDAP_SUCCESS ) {
^~~~~~~~~~~~~~
ldap_search_ext
In file included from SS5OpenLdap.c:20:
SS5OpenLdap.c: At top level:
../include/SS5Mod_authorization.h:164:3: warning: inline function ‘S5AuthoCacheHash’ declared but never defined
S5AuthoCacheHash( char *sa,
^~~~~~~~~~~~~~~~
../include/SS5Mod_authorization.h:156:3: warning: inline function ‘FileCheck’ declared but never defined
FileCheck( char *group,
^~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -fPIC -c -o SS5Radius.o SS5Radius.c
In file included from SS5Radius.c:21:
../include/SS5Mod_authentication.h:71:3: warning: inline function ‘S5AuthCacheHash’ declared but never defined
S5AuthCacheHash( char *u,
^~~~~~~~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../include -fPIC -c -o SS5MySql.o SS5MySql.c
make[1]: Leaving directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/common'
make[1]: Entering directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules'
make[2]: Entering directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules/mod_socks4'
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5Mod_socks4.o SS5Mod_socks4.c
In file included from SS5Mod_socks4.c:23:
../../include/SS5Mod_authorization.h:164:3: warning: inline function ‘S5AuthoCacheHash’ declared but never defined
S5AuthoCacheHash( char *sa,
^~~~~~~~~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -o mod_socks4.so SS5Mod_socks4.o ../../common/SS5OpenLdap.o -lpthread
make[2]: Leaving directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules/mod_socks4'
make[2]: Entering directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules/mod_socks5'
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5Mod_socks5.o SS5Mod_socks5.c
SS5Mod_socks5.c: In function ‘GetRoute’:
SS5Mod_socks5.c:2116:19: warning: implicit declaration of function ‘MySqlCheck’; did you mean ‘FileCheck’? [-Wimplicit-function-declaration]
err=MySqlCheck(node->Group,uname);
^~~~~~~~~~
FileCheck
In file included from SS5Mod_socks5.c:24:
SS5Mod_socks5.c: At top level:
../../include/SS5Mod_authorization.h:164:3: warning: inline function ‘S5AuthoCacheHash’ declared but never defined
S5AuthoCacheHash( char *sa,
^~~~~~~~~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -o mod_socks5.so SS5Mod_socks5.o ../../common/SS5OpenLdap.o -lpthread
make[2]: Leaving directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules/mod_socks5'
make[2]: Entering directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules/mod_authen'
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5Mod_authentication.o SS5Mod_authentication.c
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5Basic.o SS5Basic.c
In file included from SS5Basic.c:21:
../../include/SS5Mod_authentication.h:71:3: warning: inline function ‘S5AuthCacheHash’ declared but never defined
S5AuthCacheHash( char *u,
^~~~~~~~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5ExternalProgram.o SS5ExternalProgram.c
In file included from SS5ExternalProgram.c:21:
../../include/SS5Mod_authentication.h:71:3: warning: inline function ‘S5AuthCacheHash’ declared but never defined
S5AuthCacheHash( char *u,
^~~~~~~~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5Pam.o SS5Pam.c
In file included from SS5Pam.c:20:
../../include/SS5Mod_authentication.h:71:3: warning: inline function ‘S5AuthCacheHash’ declared but never defined
S5AuthCacheHash( char *u,
^~~~~~~~~~~~~~~
SS5Pam.c: In function ‘S5PAMConversation’:
SS5Pam.c:173:5: warning: ignoring return value of ‘realloc’, declared with attribute warn_unused_result [-Wunused-result]
realloc(reply, sizeof(struct pam_response));
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -g -O2 -DLINUX -D_FILE_OFFSET_BITS=64 -I . -I ../../include -shared -fPIC -c -o SS5Supa.o SS5Supa.c
SS5Supa.c: In function ‘ss5_secure_dh_compute_key’:
SS5Supa.c:208:5: error: dereferencing pointer to incomplete type ‘DH’ {aka ‘struct dh_st’}
ss->p = BN_bin2bn ((pippo->p), pippo->lenp, NULL);
^~
SS5Supa.c: In function ‘ss5_secure_dh_decrypt_key’:
SS5Supa.c:342:3: warning: implicit declaration of function ‘DES_ede3_cbcm_encrypt’; did you mean ‘DES_ede3_cbc_encrypt’? [-Wimplicit-function-declaration]
DES_ede3_cbcm_encrypt (pippo, pippo_crypt, l, &schedule1, &schedule2, &schedule1, &iv, &iv2, DES_DECRYPT);
^~~~~~~~~~~~~~~~~~~~~
DES_ede3_cbc_encrypt
In file included from SS5Supa.c:21:
SS5Supa.c: At top level:
../../include/SS5Mod_authentication.h:71:3: warning: inline function ‘S5AuthCacheHash’ declared but never defined
S5AuthCacheHash( char *u,
^~~~~~~~~~~~~~~
make[2]: *** [<builtin>: SS5Supa.o] Error 1
make[2]: Leaving directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules/mod_authen'
make[1]: *** [Makefile:6: all] Error 1
make[1]: Leaving directory '/root/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/ss5-3.8.9/modules'
make: *** [Makefile:27: modules] Error 2
- 麻烦安装过的朋友帮我看下,试了几次,网络上搜到缺头文件,不知道怎么解决。