<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/4.2.2">
</HEAD>
<BODY>
Hello there Frank,<BR>
<BR>
That's estrange because TLSv1_server_method is the default TLS method that<BR>
should be available...maybe some build option of your libssl disabled it on<BR>
your raspbian? <BR>
<BR>
It could also happen that somehow ../src/libnopoll.la is not exported the -lssl<BR>
and -lcrypto to the regression test binaries being created :-?<BR>
<BR>
If that is the case, check the following release that includes explicit references<BR>
to -lssl and -lcrypt flags: <A HREF="http://www.aspl.es/nopoll/downloads/nopoll-0.2.9.b184.tar.gz">http://www.aspl.es/nopoll/downloads/nopoll-0.2.9.b184.tar.gz</A><BR>
<BR>
If is not, check why your platform is not linking TLSv1_server_method by creating<BR>
a simple main.c file calling to that function as shown here: <BR>
<BR>
<A HREF="https://www.openssl.org/docs/ssl/SSL_CTX_new.html">https://www.openssl.org/docs/ssl/SSL_CTX_new.html</A><BR>
<BR>
Best Regards,<BR>
<BR>
<BLOCKQUOTE TYPE=CITE>
I'm sorry, I wish I spoke spanish.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
I'm trying to compile nopoll 0.2.8.b184 on Raspbian GNU/Linux 7 (wheezy). I have installed libssl-dev, but when I compile, I get an error about an undefined reference to symbol "TLSv1_server_method@@OPENSSL_1.0.0". Compile error is:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
gcc -DHAVE_CONFIG_H -I. -I.. -DTEST_DIR=../test -I../src/ -Wstrict-prototypes -Wall -Werror -ansi -fstack-protector-all -Wstack-protector -DSHOW_DEBUG_LOG -DVERSION=\""0.2.8.b184"\" -D__NOPOLL_PTHREAD_SUPPORT__=1 -g -O2 -MT nopoll-regression-listener.o -MD -MP -MF .deps/nopoll-regression-listener.Tpo -c -o nopoll-regression-listener.o nopoll-regression-listener.c
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
mv -f .deps/nopoll-regression-listener.Tpo .deps/nopoll-regression-listener.Po
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
/bin/bash ../libtool --tag=CC --mode=link gcc -g -O2 -o nopoll-regression-listener nopoll-regression-listener.o ../src/<A HREF="http://libnopoll.la">libnopoll.la</A>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
libtool: link: gcc -g -O2 -o .libs/nopoll-regression-listener nopoll-regression-listener.o ../src/.libs/libnopoll.so
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
/usr/bin/ld: nopoll-regression-listener.o: undefined reference to symbol 'TLSv1_server_method@@OPENSSL_1.0.0'
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
//usr/lib/arm-linux-gnueabihf/libssl.so.1.0.0: error adding symbols: DSO missing from command line
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
collect2: ld returned 1 exit status
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Makefile:283: recipe for target 'nopoll-regression-listener' failed
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
make[2]: *** [nopoll-regression-listener] Error 1
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
make[2]: Leaving directory '/home/pi/installs/nopoll-0.2.8.b184/test'
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Makefile:378: recipe for target 'all-recursive' failed
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
make[1]: *** [all-recursive] Error 1
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
make[1]: Leaving directory '/home/pi/installs/nopoll-0.2.8.b184'
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Makefile:286: recipe for target 'all' failed
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
make: *** [all] Error 2
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
In my environment I have:
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
uname -a =
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
"Linux cncpi 3.18.7+ #755 PREEMPT Thu Feb 12 17:14:31 GMT 2015 armv6l GNU/Linux"
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
openssl version -a =
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
OpenSSL 1.0.1e 11 Feb 2013
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
built on: Thu Jan 15 21:10:17 UTC 2015
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
platform: debian-armhf
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
options: bn(64,32) rc4(ptr,char) des(idx,cisc,16,long) blowfish(ptr)
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
compiler: gcc -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIO -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -Wl,-z,relro -Wa,--noexecstack -Wall -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DAES_ASM -DGHASH_ASM
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
OPENSSLDIR: "/usr/lib/ssl"
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
gcc --version =
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
gcc (Debian 4.6.3-14+rpi1) 4.6.3
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
/lib/arm-linux-gnueabihf/libc.so.6 =
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
GNU C Library (Debian EGLIBC 2.13-38+rpi2+deb7u7) stable release version 2.13, by Roland McGrath et al.
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
Any ideas?
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
FG<BR>
<BR>
<BR>
</BLOCKQUOTE>
<BLOCKQUOTE TYPE=CITE>
<PRE>
_______________________________________________
noPoll mailing list
<A HREF="mailto:noPoll@lists.aspl.es">noPoll@lists.aspl.es</A>
<A HREF="http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll">http://lists.aspl.es/cgi-bin/mailman/listinfo/nopoll</A>
</PRE>
</BLOCKQUOTE>
<BR>
</BODY>
</HTML>