[Eppnicbr] Erros ao compilar - Cliente "shepp", erros no "TransportTLSCommon.o"

Roberto Rodriges robertors at bs2.com.br
Fri Sep 15 11:22:54 BRT 2006


Ola

Estou com problemas para compilar o cliente "shepp".

- Meu Sistema:

FreeBSD 5.4-STABLE

- O que eu ja' instalei:

Basico:

gcc-3.4.6,1         GNU Compiler Collection 3.4
openssl-stable-0.9.7j SSL and crypto library
xerces-c2-2.7.0     Validating XML parser from the Apache XML Project

Pra mim realizar os testes depois com o " UnitTest"...:

cppunit-1.10.2      C++ port of the JUnit framework for unit testing
Nao instalei o Doxygen, pois nao quero fazer nenhuma documentacao...
O Doxygen e' necessario ???

-  Erro na hora de compilar o :

Nao ocorreu nenhum erro no ./configure.
Mas no make, ocorreu o erro baixo:

( estou mostrando somente a parte do erro... )

Making all in src/shepp
if g++ -DHAVE_CONFIG_H -I. -I. -I../..   -I../../include -I 
/usr/local/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
g++  -O -pipe  -L /usr/local/lib  -o shepp -lxerces-c shepp.o 
../../lib/libepp-nicbr-1.3.a -lreadline -lncurses -lssl
../../lib/libepp-nicbr-1.3.a(libepp_nicbr_1_3_a-TransportTLSCommon.o)(.text+0x14f1): 
In function `libepp_nicbr::TransportTLSCommon::seed_prng()':
: undefined reference to `RAND_load_file'
*** Error code 1

Stop in /home/robertors/epp/libepp-nicbr-1.3/src/shepp.
*** Error code 1

Stop in /home/robertors/epp/libepp-nicbr-1.3.
*** Error code 1

Stop in /home/robertors/epp/libepp-nicbr-1.3.



Tentei outra vez e novamente ocorre o erro:

# make
make  all-recursive
Making all in lib
Making all in src/shepp
g++  -O -pipe  -L /usr/local/lib  -o shepp -lxerces-c shepp.o 
../../lib/libepp-nicbr-1.3.a -lreadline -lncurses -lssl
../../lib/libepp-nicbr-1.3.a(libepp_nicbr_1_3_a-TransportTLSCommon.o)(.text+0x14f1): 
In function `libepp_nicbr::TransportTLSCommon::seed_prng()':
: undefined reference to `RAND_load_file'
*** Error code 1

Stop in /home/robertors/epp/libepp-nicbr-1.3/src/shepp.
*** Error code 1

Stop in /home/robertors/epp/libepp-nicbr-1.3.
*** Error code 1

Stop in /home/robertors/epp/libepp-nicbr-1.3.



Na minha opniao parece ser algo relacionado ao "openssl" e o "xerces", 
pois na hora de compilar o "TransportTLSCommon.o" ocorre o erro...

Mas nao ocorreu nenhum erro na compilacao dos mesmos...

Na compilacao do Xerces eu selecionei as seguintes opcoes ( make config ):

        
    Options for xerces-c2 2.7.0                
                                               
[X] THREADS    Build a thread enabled shared library.     
[X] SAMPLES    Copy sample binaries and sources.             
[X] PORTDOCS   Copy documentation.                          
[   ] DEBUG      Include debugging information, do not strip. 
[X] ICONVFBSD  Use IconvFBSD transcoder.                    
[   ] ICU        Use ICU transcoder.                         
[   ] NATIVE     Use native transcoder.

Tem alguma opcao a mais que deveria ser selecionada ???

Att,
--
Roberto Rodrigues



More information about the eppnicbr mailing list