[Kamailio-Users] 1.5 TLS compile on Solaris 10

Robert McGilvray rmcgilvr at globeop.com
Tue Jun 9 19:42:46 CEST 2009


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.  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. 

 

Any suggestions?

 

GNU Make 3.81

 

wpf1sipprd1# ls -al /usr/local/lib/libssl.*

-rw-r--r--   1 root     root      410200 May 25  2008
/usr/local/lib/libssl.a

lrwxrwxrwx   1 root     root          15 May 25  2008
/usr/local/lib/libssl.so -> libssl.so.0.9.8*

-r-xr-xr-x   1 root     root      301892 May 25  2008
/usr/local/lib/libssl.so.0.9.8*

 

Linking kamailio

/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

Undefined                       first referenced

 symbol                             in file

warn                                cfg.tab.o

ld: fatal: Symbol referencing errors. No output written to kamailio

collect2: ld returned 1 exit status

gmake: *** [kamailio] Error 1

 

 


--------------------------------------------------------------------------
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20090609/c93e12e9/attachment.htm>


More information about the sr-users mailing list