Re: [reSIProcate] (no subject)
- From: Bob Bramwell <bob@xxxxxxxxxx>
- Date: Mon, 28 Jun 2004 14:40:32 -0600
Karthik,
I have recently built reSIProcate on Solaris 8 using the autotools with no
particular difficulties, so there cannot be a whole lot wrong. The output you
included shows you configuring the contrib/ares stuff, and then going right to a
build of the reSIProcate test programs. How did you build the reSIProcate
library code? How did you configure it? There ought to be a step along the
lines of:
cd resiprocate; ./configure
or
cd resiprocate; bash ./autogen.sh; cd build; ../configure ...
What did you actually do at this point?
Cheers,
Bob.
Karthik wrote:
Hello all,
Please kindly bear with me if this question is very basic.
When I am trying to compile reciprocate 0.4.0 in solaris I am getting
the follows errors (which version is ssl and crypto should be used). Can
anyone tell me how to solve this problem?
When I don’t give --with-openssl also, the source file
searches for openssl header files for compilation and gives error. What
am I doing wrong?
bash-2.05$ make CODE_OPTIMIZE=3
cd contrib/ares; ./configure; make
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for a BSD compatible install... ./install-sh -c
checking for ranlib... (cached) :
checking host system type... sparc-sun-solaris2.9
checking for library containing gethostbyname... (cached) -lnsl
checking for library containing socket... (cached) -lsocket
creating ./config.status
creating Makefile
make[1]: Entering directory
`/home/karthik/lb/resiprocate-0.4.0/contrib/ares'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/karthik/lb/resiprocate-0.4.0/contrib/ares'
cd resiprocate; make
make[1]: Entering directory `/home/karthik/lb/resiprocate-0.4.0/resiprocate'
make[1]: Leaving directory `/home/karthik/lb/resiprocate-0.4.0/resiprocate'
cd resiprocate/test; make
make[1]: Entering directory
`/home/karthik/lb/resiprocate-0.4.0/resiprocate/test
'
g++ -L/sw/lib -o bin.opt.solaris2.9.sun4u/limpc
obj.opt.solaris2.9.su
n4u/limpc.o obj.opt.solaris2.9.sun4u/TestSupport.o -lncurses
-L../../build/.
./resiprocate/obj.opt.solaris2.9.sun4u -L../../build/../contrib/ares
-lresipro
cate -lssl -lcrypto -lares -lpthread
Undefined first referenced
symbol in file
socket ./libcrypto.a(rand_egd.o)
recv
../../build/../contrib/ares/libares.a(ares_p
rocess.o)
gethostbyname
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
accept
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
in6addr_any
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
send
../../build/../contrib/ares/libares.a(ares_p
rocess.o)
setsockopt
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
__xnet_bind
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
__xnet_sendto
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
inet_pton
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
inet_addr
../../build/../contrib/ares/libares.a(ares_g
ethostbyname.o)
inet_ntoa
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
shutdown ./libcrypto.a(bss_sock.o)
inet_ntop
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
getsockname
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
__xnet_socket
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
__xnet_connect
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
recvfrom
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
listen
../../build/../resiprocate/obj.opt.solaris2.
9.sun4u/libresiprocate.so
connect ./libcrypto.a(rand_egd.o)
ld: fatal: Symbol referencing errors. No output written to
bin.opt.solaris2.9.su
n4u/limpc
collect2: ld returned 1 exit status
make[1]: *** [bin.opt.solaris2.9.sun4u/limpc] Error 1
make[1]: Leaving directory
`/home/karthik/lb/resiprocate-0.4.0/resiprocate/test'
make: *** [tests] Error 2
Karthik
------------------------------------------------------------------------
_______________________________________________
resiprocate-devel mailing list
resiprocate-devel@xxxxxxxxxxxxxxxxxxx
https://list.sipfoundry.org/mailman/listinfo/resiprocate-devel
--
Bob Bramwell Jasomi Networks (Canada) | This space
Ph: 403 269 2938 x155 #310 602 11th Ave SW | intentionally
FX: 403 269 2993 Calgary, AB, T2R 1J8 | left blank.