Tinc 1.0.24 build failed on OSX Mavericks
Vladimir "Equidamoid" Shapranov
equidamoid at gmail.com
Sat Nov 22 17:05:11 CET 2014
Hi,
I've got the following error when tried to compile tinc-1.0.24:
gcc -g -O2 -pie -L/opt/local/lib -o tincd avl_tree.o conf.o
connection.o dropin.o dummy_device.o edge.o event.o fake-getaddrinfo.o
fake-getnameinfo.o getopt.o getopt1.o graph.o list.o logger.o meta.o
multicast_device.o net.o net_packet.o net_setup.o net_socket.o netutl.o
node.o pidfile.o process.o protocol.o protocol_auth.o protocol_edge.o
protocol_misc.o protocol_key.o protocol_subnet.o raw_socket_device.o
route.o subnet.o tincd.o utils.o xmalloc.o bsd/device.o -lcrypto
-lz -llzo2
clang: warning: argument unused during compilation: '-pie'
Undefined symbols for architecture x86_64:
"_res_9_init", referenced from:
_main_loop in net.o
ld: symbol(s) not found for architecture x86_64
The symbol is exported in /usr/lib/libresolv.9.dylib library. I'm not
familiar with autotools so I can't propose a patch, but it seems that
-lresolv ldflag is missing somewhere.
--
Best regards,
Vladimir
More information about the tinc-devel
mailing list