[Eppnicbr] Problema para compilar libepp-nicbr-0.4 no Debian
Eduardo Sztokbant
eduardo at registro.br
Tue Apr 11 16:28:23 BRT 2006
Caro Jhonatan,
Nao pudemos reproduzir o erro abaixo citado devido ao fato de nosso
desenvolvimento estar majoritariamente focado no sistema FreeBSD.
Porem, a julgar pelas mensagens, uma hipotese que levantamos seria em
relacao a versao do gcc/g++ utilizados: versoes mais antigas deste
compilador nao suportam namespaces e exceptions de maneira devida o
que pode ter ocasionado esses erros.
Por favor, verifique se esta utilizando a versao 3.2 ou maior do gcc.
Qualquer problema estaremos a disposicao.
Obrigado,
Eduardo Sztokbant
> Depois de instalada, o configure passou corretamente. Durante o 'make', as libs compilam corretamente. No entanto, durante a compilação do shepp, ocorrem vários erros de compilação, que seguem abaixo:
>
>
> if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../include -I /usr/local/include -O -pipe -MT shepp.o -MD -MP -MF ".deps/shepp.Tpo" -c -o shepp.o shepp.cpp; \
> then mv -f ".deps/shepp.Tpo" ".deps/shepp.Po"; else rm -f ".deps/shepp.Tpo"; exit 1; fi
> In file included from DomainFunctions.H:31,
> from shepp.cpp:35:
> SheppCommandFunctions.H: In function `int cmd_server(char*)':
> SheppCommandFunctions.H:159: error: declaration of `int cmd_server(char*)'
> throws different exceptions
> SheppCommandFunctions.H:55: error: than previous declaration `int
> cmd_server(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_port(char*)':
> SheppCommandFunctions.H:191: error: declaration of `int cmd_port(char*)' throws
> different exceptions
> SheppCommandFunctions.H:56: error: than previous declaration `int
> cmd_port(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_client_pem(char*)':
> SheppCommandFunctions.H:212: error: declaration of `int cmd_client_pem(char*)'
> throws different exceptions
> SheppCommandFunctions.H:57: error: than previous declaration `int
> cmd_client_pem(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_root_pem(char*)':
> SheppCommandFunctions.H:234: error: declaration of `int cmd_root_pem(char*)'
> throws different exceptions
> SheppCommandFunctions.H:58: error: than previous declaration `int
> cmd_root_pem(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_pass(char*)':
> SheppCommandFunctions.H:256: error: declaration of `int cmd_pass(char*)' throws
> different exceptions
> SheppCommandFunctions.H:59: error: than previous declaration `int
> cmd_pass(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_user(char*)':
> SheppCommandFunctions.H:267: error: declaration of `int cmd_user(char*)' throws
> different exceptions
> SheppCommandFunctions.H:60: error: than previous declaration `int
> cmd_user(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_login_pw(char*)':
> SheppCommandFunctions.H:291: error: declaration of `int cmd_login_pw(char*)'
> throws different exceptions
> SheppCommandFunctions.H:61: error: than previous declaration `int
> cmd_login_pw(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_login_new_pw(char*)':
> SheppCommandFunctions.H:302: error: declaration of `int cmd_login_new_pw(char*)
> ' throws different exceptions
> SheppCommandFunctions.H:62: error: than previous declaration `int
> cmd_login_new_pw(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_connect(char*)':
> SheppCommandFunctions.H:314: error: declaration of `int cmd_connect(char*)'
> throws different exceptions
> SheppCommandFunctions.H:63: error: than previous declaration `int
> cmd_connect(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_beauty(char*)':
> SheppCommandFunctions.H:366: error: declaration of `int cmd_beauty(char*)'
> throws different exceptions
> SheppCommandFunctions.H:69: error: than previous declaration `int
> cmd_beauty(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_debug(char*)':
> SheppCommandFunctions.H:401: error: declaration of `int cmd_debug(char*)'
> throws different exceptions
> SheppCommandFunctions.H:70: error: than previous declaration `int
> cmd_debug(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_xmlcmd(char*)':
> SheppCommandFunctions.H:436: error: declaration of `int cmd_xmlcmd(char*)'
> throws different exceptions
> SheppCommandFunctions.H:52: error: than previous declaration `int
> cmd_xmlcmd(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_xmlrsp(char*)':
> SheppCommandFunctions.H:462: error: declaration of `int cmd_xmlrsp(char*)'
> throws different exceptions
> SheppCommandFunctions.H:53: error: than previous declaration `int
> cmd_xmlrsp(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_login(char*)':
> SheppCommandFunctions.H:540: error: declaration of `int cmd_login(char*)'
> throws different exceptions
> SheppCommandFunctions.H:45: error: than previous declaration `int
> cmd_login(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_hello(char*)':
> SheppCommandFunctions.H:575: error: declaration of `int cmd_hello(char*)'
> throws different exceptions
> SheppCommandFunctions.H:46: error: than previous declaration `int
> cmd_hello(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_quit(char*)':
> SheppCommandFunctions.H:624: error: declaration of `int cmd_quit(char*)' throws
> different exceptions
> SheppCommandFunctions.H:67: error: than previous declaration `int
> cmd_quit(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_help(char*)':
> SheppCommandFunctions.H:635: error: declaration of `int cmd_help(char*)' throws
> different exceptions
> SheppCommandFunctions.H:65: error: than previous declaration `int
> cmd_help(char*) throw ()'
> SheppCommandFunctions.H: In function `int cmd_about(char*)':
> SheppCommandFunctions.H:650: error: declaration of `int cmd_about(char*)'
> throws different exceptions
> SheppCommandFunctions.H:66: error: than previous declaration `int
> cmd_about(char*) throw ()'
> In file included from shepp.cpp:35:
> DomainFunctions.H: In function `int cmd_domain(char*)':
> DomainFunctions.H:801: error: declaration of `int cmd_domain(char*)' throws
> different exceptions
> SheppCommandFunctions.H:48: error: than previous declaration `int
> cmd_domain(char*) throw ()'
> In file included from shepp.cpp:36:
> ContactFunctions.H: In function `int cmd_contact(char*)':
> ContactFunctions.H:573: error: declaration of `int cmd_contact(char*)' throws
> different exceptions
> SheppCommandFunctions.H:49: error: than previous declaration `int
> cmd_contact(char*) throw ()'
> In file included from shepp.cpp:37:
> BrOrgFunctions.H: In function `int cmd_brorg(char*)':
> BrOrgFunctions.H:705: error: declaration of `int cmd_brorg(char*)' throws
> different exceptions
> SheppCommandFunctions.H:50: error: than previous declaration `int
> cmd_brorg(char*) throw ()'
> In file included from shepp.cpp:38:
> PollFunctions.H: In function `int cmd_poll(char*)':
> PollFunctions.H:68: error: declaration of `int cmd_poll(char*)' throws
> different exceptions
> SheppCommandFunctions.H:47: error: than previous declaration `int
> cmd_poll(char*) throw ()'
> make: *** [shepp.o] Error 1
>
> Os erros ocorrem apenas durante a compilação do shepp. A compilação da library ocorre com sucesso.
>
--
_
'v'
/( )\ Eduardo Sztokbant!! //e-mail: eduardo at registro.br
-" "-----------------------------------------------------
The UNIX administrator's view of sex:
unzip; strip; touch; finger; mount; fsck; more; yes; comm; umount; sleep
More information about the eppnicbr
mailing list