Undefined symbols compiling on OmniOS
N. Nadine Miller
nnmiller at gmail.com
Sat Dec 2 16:19:54 UTC 2017
I'm trying to compile unbound 1.6.7 on the latest OmniOS community
edition. OmniOS is very close to OpenIndiana/Solaris 11.
I'm not sure if I am missing a linker flag or a library. The
configuration script runs without any obvious errors based on a review
of config.log. Compilation works fine, only throws a couple of warns
if I use Solaris threads rather than pthreads.
I have tried building with just a simple install prefix flag as well
explicitly setting my include directories. Linking always fails at:
libtool: link: gcc -I. -I/usr/include -I/opt/local/include
-I/opt/local/include -O3 -m64 -std=c99 -flto -D_REENTRANT -m64 -o
unbound .libs/acl_list.o .libs/cachedump.o .libs/daemon.o
.libs/shm_main.o .libs/remote.o .libs/stats.o .libs/unbound.o
.libs/worker.o .libs/dns.o .libs/infra.o .libs/rrset.o .libs/dname.o
.libs/msgencode.o .libs/as112.o .libs/msgparse.o .libs/msgreply.o
.libs/packed_rrset.o .libs/iterator.o .libs/iter_delegpt.o
.libs/iter_donotq.o .libs/iter_fwd.o .libs/iter_hints.o
.libs/iter_priv.o .libs/iter_resptype.o .libs/iter_scrub.o
.libs/iter_utils.o .libs/localzone.o .libs/mesh.o .libs/modstack.o
.libs/view.o .libs/outbound_list.o .libs/alloc.o .libs/config_file.o
.libs/configlexer.o .libs/configparser.o .libs/fptr_wlist.o
.libs/locks.o .libs/log.o .libs/mini_event.o .libs/module.o
.libs/net_help.o .libs/random.o .libs/rbtree.o .libs/regional.o
.libs/rtt.o .libs/dnstree.o .libs/lookup3.o .libs/lruhash.o
.libs/slabhash.o .libs/timehist.o .libs/tube.o .libs/winsock_event.o
.libs/autotrust.o .libs/val_anchor.o .libs/validator.o
.libs/val_kcache.o .libs/val_kentry.o .libs/val_neg.o
.libs/val_nsec3.o .libs/val_nsec.o .libs/val_secalgo.o
.libs/val_sigcrypt.o .libs/val_utils.o .libs/dns64.o .libs/cachedb.o
.libs/authzone.o .libs/netevent.o .libs/listen_dnsport.o
.libs/outside_network.o .libs/ub_event.o .libs/keyraw.o
.libs/sbuffer.o .libs/wire2str.o .libs/parse.o .libs/parseutil.o
.libs/rrdef.o .libs/str2wire.o .libs/reallocarray.o -lmtmalloc
-L/opt/local/lib -L/usr/lib/64 -lssl -lsocket -lnsl -lcrypto
-R/opt/local/lib
Undefined first referenced
symbol in file
respip_inform_super .libs/fptr_wlist.o
respip_inform_print .libs/worker.o
respip_init .libs/fptr_wlist.o
respip_get_mem .libs/fptr_wlist.o
respip_clear .libs/fptr_wlist.o
respip_set_delete .libs/daemon.o
respip_set_create .libs/daemon.o
respip_get_funcblock .libs/modstack.o
respip_set_is_empty .libs/daemon.o
respip_merge_cname .libs/worker.o
respip_operate .libs/fptr_wlist.o
respip_deinit .libs/fptr_wlist.o
respip_views_apply_cfg .libs/daemon.o
respip_rewrite_reply .libs/worker.o
respip_global_apply_cfg .libs/daemon.o
ld: fatal: symbol referencing errors. No output written to unbound
collect2: error: ld returned 1 exit status
*** Error code 1
make: Fatal error: Command failed for target `unbound'
I'd appreciate any suggestions.
Thanks in advance--
=Nadine=
More information about the Unbound-users
mailing list