[AsteriskBrasil] Erro ao instalar o Astmanproxy

Carlos Magno carlosmbb em gmail.com
Quinta Março 22 17:56:47 BRT 2012


Apresenta o seguinte erro ao tentar instalar o *Astmanproxy*, realizei o
mesmo procedimento outras vezes e não aconteceu esse erro, vocês poderiam
me ajudar?

[root em SimpleCall astmanproxy]# make
gcc -Wall -O2 -D_REENTRANT -fPIC -Isrc/include -I/usr/include/openssl -I-
'-DPROXY_VERSION="1.22pre081119"' '-DCDIR="/etc/asterisk"'
'-DCFILE="astmanproxy.conf"' '-DMDIR="/usr/lib/astmanproxy/modules"'
'-DPDIR="/etc/asterisk"' '-DPFILE="astmanproxy.users"'  -c -o ssl.o
src/ssl.c
cc1: note: obsolete option -I- used, please use -iquote instead
In file included from src/ssl.c:40:
src/include/ssl.h:19:25: error: openssl/ssl.h: Arquivo ou diretório não
encontrado
In file included from src/ssl.c:40:
src/include/ssl.h:32: error: expected specifier-qualifier-list before âSSLâ
src/include/ssl.h:48: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/ssl.c:42: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before â*â token
src/ssl.c:43: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before â*â token
src/ssl.c: In function âinit_secureâ:
src/ssl.c:53: error: âSSL_METHODâ undeclared (first use in this function)
src/ssl.c:53: error: (Each undeclared identifier is reported only once
src/ssl.c:53: error: for each function it appears in.)
src/ssl.c:53: error: âmethâ undeclared (first use in this function)
src/ssl.c:55: warning: implicit declaration of function
âSSLeay_add_ssl_algorithmsâ
src/ssl.c:56: warning: implicit declaration of function
âSSL_load_error_stringsâ
src/ssl.c:59: warning: implicit declaration of function
âSSLv23_server_methodâ
src/ssl.c:60: error: âsctxâ undeclared (first use in this function)
src/ssl.c:60: warning: implicit declaration of function âSSL_CTX_newâ
src/ssl.c:66: warning: implicit declaration of function
âSSL_CTX_use_certificate_fileâ
src/ssl.c:66: error: âSSL_FILETYPE_PEMâ undeclared (first use in this
function)
src/ssl.c:70: warning: implicit declaration of function
âSSL_CTX_use_PrivateKey_fileâ
src/ssl.c:74: warning: implicit declaration of function
âSSL_CTX_check_private_keyâ
src/ssl.c: In function âclient_init_secureâ:
src/ssl.c:86: error: âSSL_METHODâ undeclared (first use in this function)
src/ssl.c:86: error: âmethâ undeclared (first use in this function)
src/ssl.c:90: warning: implicit declaration of function
âSSLv23_client_methodâ
src/ssl.c:92: error: âcctxâ undeclared (first use in this function)
src/ssl.c: At top level:
src/ssl.c:120: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before â*â token
src/ssl.c: In function âsec_getslotâ:
src/ssl.c:139: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c: In function âsacceptâ:
src/ssl.c:159: error: âSSLâ undeclared (first use in this function)
src/ssl.c:159: error: âsslâ undeclared (first use in this function)
src/ssl.c:165: warning: implicit declaration of function âSSL_newâ
src/ssl.c:165: error: âsctxâ undeclared (first use in this function)
src/ssl.c:166: warning: implicit declaration of function âSSL_set_fdâ
src/ssl.c:167: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:170: warning: implicit declaration of function âSSL_acceptâ
src/ssl.c:171: warning: implicit declaration of function âSSL_get_errorâ
src/ssl.c:172: error: âSSL_ERROR_WANT_READâ undeclared (first use in this
function)
src/ssl.c:172: error: âSSL_ERROR_WANT_WRITEâ undeclared (first use in this
function)
src/ssl.c:174: warning: implicit declaration of function âSSL_set_modeâ
src/ssl.c:174: error: âSSL_MODE_ENABLE_PARTIAL_WRITEâ undeclared (first use
in this function)
src/ssl.c:183: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c: In function âm_sendâ:
src/ssl.c:198: error: âSSLâ undeclared (first use in this function)
src/ssl.c:198: error: âsslâ undeclared (first use in this function)
src/ssl.c:198: warning: implicit declaration of function âget_sslâ
src/ssl.c:199: warning: implicit declaration of function âSSL_writeâ
src/ssl.c: In function âm_recvâ:
src/ssl.c:212: error: âSSLâ undeclared (first use in this function)
src/ssl.c:212: error: âsslâ undeclared (first use in this function)
src/ssl.c:213: warning: implicit declaration of function âSSL_readâ
src/ssl.c: In function âclose_sockâ:
src/ssl.c:234: error: âSSLâ undeclared (first use in this function)
src/ssl.c:234: error: âsslâ undeclared (first use in this function)
src/ssl.c:239: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:240: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:247: warning: implicit declaration of function âSSL_freeâ
src/ssl.c: In function âast_connectâ:
src/ssl.c:319: error: âSSLâ undeclared (first use in this function)
src/ssl.c:319: error: âsslâ undeclared (first use in this function)
src/ssl.c:330: error: âcctxâ undeclared (first use in this function)
src/ssl.c:331: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:333: warning: implicit declaration of function âSSL_connectâ
make: ** [ssl.o] Erro 1
[root em SimpleCall astmanproxy]# make
gcc -Wall -O2 -D_REENTRANT -fPIC -Isrc/include -I/usr/include/openssl -I-
'-DPROXY_VERSION="1.22pre081119"' '-DCDIR="/etc/asterisk"'
'-DCFILE="astmanproxy.conf"' '-DMDIR="/usr/lib/astmanproxy/modules"'
'-DPDIR="/etc/asterisk"' '-DPFILE="astmanproxy.users"'  -c -o ssl.o
src/ssl.c
cc1: note: obsolete option -I- used, please use -iquote instead
In file included from src/ssl.c:40:
src/include/ssl.h:19:25: error: openssl/ssl.h: Arquivo ou diretório não
encontrado
In file included from src/ssl.c:40:
src/include/ssl.h:32: error: expected specifier-qualifier-list before âSSLâ
src/include/ssl.h:48: error: expected â=â, â,â, â;â, âasmâ or
â__attribute__â before â*â token
src/ssl.c:42: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before â*â token
src/ssl.c:43: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before â*â token
src/ssl.c: In function âinit_secureâ:
src/ssl.c:53: error: âSSL_METHODâ undeclared (first use in this function)
src/ssl.c:53: error: (Each undeclared identifier is reported only once
src/ssl.c:53: error: for each function it appears in.)
src/ssl.c:53: error: âmethâ undeclared (first use in this function)
src/ssl.c:55: warning: implicit declaration of function
âSSLeay_add_ssl_algorithmsâ
src/ssl.c:56: warning: implicit declaration of function
âSSL_load_error_stringsâ
src/ssl.c:59: warning: implicit declaration of function
âSSLv23_server_methodâ
src/ssl.c:60: error: âsctxâ undeclared (first use in this function)
src/ssl.c:60: warning: implicit declaration of function âSSL_CTX_newâ
src/ssl.c:66: warning: implicit declaration of function
âSSL_CTX_use_certificate_fileâ
src/ssl.c:66: error: âSSL_FILETYPE_PEMâ undeclared (first use in this
function)
src/ssl.c:70: warning: implicit declaration of function
âSSL_CTX_use_PrivateKey_fileâ
src/ssl.c:74: warning: implicit declaration of function
âSSL_CTX_check_private_keyâ
src/ssl.c: In function âclient_init_secureâ:
src/ssl.c:86: error: âSSL_METHODâ undeclared (first use in this function)
src/ssl.c:86: error: âmethâ undeclared (first use in this function)
src/ssl.c:90: warning: implicit declaration of function
âSSLv23_client_methodâ
src/ssl.c:92: error: âcctxâ undeclared (first use in this function)
src/ssl.c: At top level:
src/ssl.c:120: error: expected â=â, â,â, â;â, âasmâ or â__attribute__â
before â*â token
src/ssl.c: In function âsec_getslotâ:
src/ssl.c:139: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c: In function âsacceptâ:
src/ssl.c:159: error: âSSLâ undeclared (first use in this function)
src/ssl.c:159: error: âsslâ undeclared (first use in this function)
src/ssl.c:165: warning: implicit declaration of function âSSL_newâ
src/ssl.c:165: error: âsctxâ undeclared (first use in this function)
src/ssl.c:166: warning: implicit declaration of function âSSL_set_fdâ
src/ssl.c:167: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:170: warning: implicit declaration of function âSSL_acceptâ
src/ssl.c:171: warning: implicit declaration of function âSSL_get_errorâ
src/ssl.c:172: error: âSSL_ERROR_WANT_READâ undeclared (first use in this
function)
src/ssl.c:172: error: âSSL_ERROR_WANT_WRITEâ undeclared (first use in this
function)
src/ssl.c:174: warning: implicit declaration of function âSSL_set_modeâ
src/ssl.c:174: error: âSSL_MODE_ENABLE_PARTIAL_WRITEâ undeclared (first use
in this function)
src/ssl.c:183: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c: In function âm_sendâ:
src/ssl.c:198: error: âSSLâ undeclared (first use in this function)
src/ssl.c:198: error: âsslâ undeclared (first use in this function)
src/ssl.c:198: warning: implicit declaration of function âget_sslâ
src/ssl.c:199: warning: implicit declaration of function âSSL_writeâ
src/ssl.c: In function âm_recvâ:
src/ssl.c:212: error: âSSLâ undeclared (first use in this function)
src/ssl.c:212: error: âsslâ undeclared (first use in this function)
src/ssl.c:213: warning: implicit declaration of function âSSL_readâ
src/ssl.c: In function âclose_sockâ:
src/ssl.c:234: error: âSSLâ undeclared (first use in this function)
src/ssl.c:234: error: âsslâ undeclared (first use in this function)
src/ssl.c:239: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:240: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:247: warning: implicit declaration of function âSSL_freeâ
src/ssl.c: In function âast_connectâ:
src/ssl.c:319: error: âSSLâ undeclared (first use in this function)
src/ssl.c:319: error: âsslâ undeclared (first use in this function)
src/ssl.c:330: error: âcctxâ undeclared (first use in this function)
src/ssl.c:331: error: âstruct <anonymous>â has no member named âsslâ
src/ssl.c:333: warning: implicit declaration of function âSSL_connectâ
make: ** [ssl.o] Erro 1

-- 
atenciosamente,

*Carlos Magno de Brito Barros*
Administrador de redes
Cel: (31) 8426 - 0213 ou (31) 94312125
Fixo:(31) 3823 - 3693
*http://cvu.vg/carlosmbb <http://twitter.com/carlosmbb>*
*twitter.com/carlosmbb
http://br.linkedin.com/pub/carlos-magno-de-brito-barros/22/824/691*
*www.simplysistemas.com.br* <http://www.simplysistemas.com.br/>

*S**I**mply**.*
-------------- Próxima Parte ----------
Um anexo em HTML foi limpo...
URL: http://listas.asteriskbrasil.org/pipermail/asteriskbrasil/attachments/20120322/48987b74/attachment-0001.htm 


Mais detalhes sobre a lista de discussão AsteriskBrasil