<DIV>Hi,</DIV>
<DIV> </DIV>
<DIV>Has anyone had any success? After a clean install of OpenBSD, I do the following:-</DIV>
<DIV><FONT size=2>
<P>pkg_add ftp://rt.fm/pub/OpenBSD/3.5/packages/i386/gmake-3.80.tgz</P>
<P>pkg_add ftp://rt.fm/pub/OpenBSD/3.5/packages/i386/bison-1.35p1.tgz</P>
<P>pkg_add <A href="ftp://rt.fm/pub/OpenBSD/3.5/packages/i386/ruby-ncurses-0.8.tgz">ftp://rt.fm/pub/OpenBSD/3.5/packages/i386/ruby-ncurses-0.8.tgz</A></P>
<P>Then, I get (via CVS) the asterisk source..</P>
<P> </P>
<P>cd /usr/src/asterisk</P><FONT size=2>
<P>/usr/local/bin/gmake clean</P></FONT><FONT size=2>
<P>/usr/local/bin/gmake install</P>
<P> </P>
<P>This fails at :-</P>
<P>gcc -g -o asterisk -Wl,-E io.o sched.o logger.o frame.o loader.o config.o channel.o translate.o file.o say.o pbx.o cli.o md5.o term.o ulaw.o alaw.o callerid.o fskmodem.o image.o app.o cdr.o tdd.o acl.o rtp.o manager.o asterisk.o ast_expr.o dsp.o chanvars.o indications.o autoservice.o db.o privacy.o astmm.o enum.o srv.o dns.o aescrypt.o aestab.o aeskey.o utils.o editline/libedit.a db1-ast/libdb1.a stdtime/libtime.a -lncurses -lm -lssl<BR></P>
<P>with lots of errors like:-</P>
<P>sched.o: In function `ast_sched_add':<BR>/usr/src/asterisk/asterisk/sched.c:244: undefined reference to `pthread_mutex_lock'<BR>/usr/src/asterisk/asterisk/sched.c:259: undefined reference to `pthread_mutex_unlock'<BR>sched.o: In function `ast_sched_runq':<BR>/usr/src/asterisk/asterisk/sched.c:351: undefined reference to `pthread_mutex_lock'<BR>/usr/src/asterisk/asterisk/sched.c:378: undefined reference to `pthread_mutex_unlock'<BR>/usr/src/asterisk/asterisk/sched.c:380: undefined reference to `pthread_mutex_lock'<BR>/usr/src/asterisk/asterisk/sched.c:399: undefined reference to `pthread_mutex_unlock'<BR>sched.o: In function `sched_context_create':<BR>/usr/src/asterisk/asterisk/include/asterisk/lock.h:299: undefined reference to `pthread_mutexattr_init'<BR>/usr/src/asterisk/asterisk/include/asterisk/lock.h:300: undefined reference to `pthread_mutexattr_settype'<BR>/usr/src/asterisk/asterisk/include/asterisk/lock.h:301: undefined reference to `pthread_mutex_init'<BR>sched.o: In
function `sched_context_destroy':<BR></P>
<P> </P>
<P> </P>
<P>and</P>
<P> </P>
<P> </P>
<P>/usr/lib/libssl.so.8.0: undefined reference to `BN_clear_free'<BR>/usr/lib/libssl.so.8.0: undefined reference to `X509_PURPOSE_set'<BR>/usr/lib/libssl.so.8.0: undefined reference to `d2i_X509_NAME'<BR>/usr/lib/libssl.so.8.0: undefined reference to `RSA_flags'<BR>/usr/lib/libssl.so.8.0: undefined reference to `d2i_X509'<BR>/usr/lib/libssl.so.8.0: undefined reference to `asn1_GetSequence'<BR>/usr/lib/libssl.so.8.0: undefined reference to `RSA_size'<BR>/usr/lib/libssl.so.8.0: undefined reference to `RAND_pseudo_bytes'<BR>/usr/lib/libssl.so.8.0: undefined reference to `BIO_s_connect'<BR>/usr/lib/libssl.so.8.0: undefined reference to `EVP_PKEY_free'<BR>/usr/lib/libssl.so.8.0: undefined reference to `X509_TRUST_set'<BR>/usr/lib/libssl.so.8.0: undefined reference to `HMAC_Update'<BR>/usr/lib/libssl.so.8.0: undefined reference to `X509_STORE_CTX_set_verify_cb'<BR>/usr/lib/libssl.so.8.0: undefined reference to `ERR_load_strings'<BR>/usr/lib/libssl.so.8.0: undefined reference to
`EVP_md2'<BR>/usr/lib/libssl.so.8.0: undefined reference to `HMAC_CTX_init'<BR>/usr/lib/libssl.so.8.0: undefined reference to `EVP_get_digestbyname'<BR>collect2: ld returned 1 exit status<BR>gmake: *** [asterisk] Error 1<BR></P>
<P> </P>
<P> </P>
<P>Does anyone have any ideas? I'm pretty sure I'm missing something simple... possibly OpenSSL related...</P>
<P> </P>
<P>Many thanks!</P>
<P> </P>
<P>Michael.</P></FONT></FONT></DIV>