RE: [reSIProcate] (no subject)
Dear Jason,
SunOS unica2 5.9 Generic_112233-05 sun4u sparc
SUNW,Sun-Blade-1000
I have copied all the include files from openssl and libssl.a
and libcrypto.a.
What can I go now?
Karthik
> -----Original Message-----
> From: Jason Fischl [mailto:jason@xxxxxxxxxxxxxx]
> Sent: Friday, June 25, 2004 10:39 PM
> To: karthik_m@xxxxxxxxxx; resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> Subject: RE: [reSIProcate] (no subject)
>
> It seems that the build stuff isn't figuring out that you are building
on
> a
> Sun environment. Can you type the following at the shell and tell me
what
> you are getting: uname
>
> Have you made any modifications the Makefile or to the build
directory?
>
> The link errors are coming because you haven't linked with -lnsl
-lsocket
> but you may also be having openssl problems too.
>
> Jason
>
>
>
>
> > -----Original Message-----
> > From: resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx
> > [mailto:resiprocate-devel-bounces@xxxxxxxxxxxxxxxxxxx]On Behalf Of
> > Karthik
> > Sent: Friday, June 25, 2004 9:45 AM
> > To: resiprocate-devel@xxxxxxxxxxxxxxxxxxx
> > Subject: [reSIProcate] (no subject)
> >
> >
> > 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