<HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word"><head><META content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta content="text/html; charset=utf-8" http-equiv=Content-Type>
<meta content="Microsoft Word 11 (filtered medium)" name=Generator>
<style>
<!--
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:Arial;
        color:windowtext;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>
</head><BODY>
<DIV>
<div class=Section1>
<p class=MsoNormal><font face=Arial size=2><span style='font-size:10.0pt;
font-family:Arial'>I’m having trouble compiling kam 1.5 on solaris 10 sparc
with TLS enabled. It works fine if I don’t try and link against ssl. </span></font> Libaries
are installed in /usr/local/lib, includes in /usr/local/include/openssl. I have
1.3 installed on the same machine with TLs and I don’t recall any
problems compiling it. I changed the library paths in Makefile.defs to the
proper location for my system but I get the same error. <o:p></o:p></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Any suggestions?</span><o:p></o:p></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>GNU Make 3.81<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>wpf1sipprd1# ls -al /usr/local/lib/libssl.*<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>-rw-r--r-- 1 root
root 410200 May 25 2008
/usr/local/lib/libssl.a<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>lrwxrwxrwx 1 root
root 15 May 25 2008
/usr/local/lib/libssl.so -> libssl.so.0.9.8*<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>-r-xr-xr-x 1 root root
301892 May 25 2008 /usr/local/lib/libssl.so.0.9.8*<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Linking kamailio<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>/usr/sfw/bin/gcc -O2 action.o blacklists.o cmpapi.o
core_stats.o crc.o daemonize.o data_lump.o data_lump_rpl.o dprint.o dset.o
errinfo.o error.o faked_msg.o flags.o forward.o io_wait.o ip_addr.o
local_route.o main.o md5.o md5utils.o mod_fix.o modparam.o msg_translator.o
pass_fd.o proxy.o pt.o pvapi.o qvalue.o re.o receive.o regexp.o resolve.o
route.o route_struct.o script_cb.o sctp_server.o socket_info.o sr_module.o
statistics.o strcommon.o syslog_async.o tcp_main.o tcp_read.o timer.o tsend.o
udp_server.o usr_avp.o ut.o mem/f_malloc.o mem/mem.o mem/memtest.o
mem/q_malloc.o mem/shm_mem.o parser/hf.o parser/msg_parser.o
parser/parse_allow.o parser/parse_content.o parser/parse_cseq.o
parser/parse_disposition.o parser/parse_diversion.o parser/parse_event.o
parser/parse_expires.o parser/parse_fline.o parser/parse_from.o
parser/parse_hname2.o parser/parse_methods.o parser/parse_nameaddr.o
parser/parse_pai.o parser/parse_param.o parser/parse_ppi.o
parser/parse_privacy.o parser/parse_refer_to.o parser/parse_rpid.o
parser/parse_rr.o parser/parse_sipifmatch.o parser/parse_sst.o
parser/parse_supported.o parser/parse_to.o parser/parse_uri.o
parser/parse_via.o parser/parser_f.o parser/digest/digest.o
parser/digest/digest_parser.o parser/digest/param_parser.o parser/sdp/sdp.o
parser/sdp/sdp_helpr_funcs.o parser/contact/contact.o
parser/contact/parse_contact.o db/db.o db/db_id.o db/db_pool.o db/db_query.o
db/db_res.o db/db_row.o db/db_ut.o db/db_val.o mi/attr.o mi/fmt.o mi/mi.o
mi/mi_core.o mi/tree.o trie/dtrie.o lex.yy.o cfg.tab.o tls/tls_config.o
tls/tls_domain.o tls/tls_init.o tls/tls_server.o -ldl -lresolv -L/lib
-lxnet -lnsl -lrt -L/usr/local/lib -lssl -lcrypto -o kamailio<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>Undefined
first referenced<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'> symbol
in file<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>warn
cfg.tab.o<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>ld: fatal: Symbol referencing errors. No output written to kamailio<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>collect2: ld returned 1 exit status<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'>gmake: *** [kamailio] Error 1<o:p></o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font face="Times New Roman" size=3><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>
</div>
</DIV>
<DIV>
<HR>
</DIV>
<DIV STYLE="FONT-SIZE: 9pt; FONT-FAMILY: Courier New">This email with all information contained herein or attached hereto may contain confidential and/or privileged information intended for the addressee(s) only. If you have received this email in error, please contact the sender and immediately delete this email in its entirety and any attachments thereto.</DIV></BODY></HTML>