Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
mdns 0.0.5 compile failing - help!
garrett@li284-151:~/mdns/agnat-node_mdns-d979f84$ node-waf -v configure build
Setting srcdir to : /home/garrett/mdns/agnat-node_mdns-d979f84
Checking for program g++ or c++ : /usr/bin/g++
Checking for program cpp : /usr/bin/cpp
Checking for program ar : /usr/bin/ar
Checking for program ranlib : /usr/bin/ranlib
Checking for g++ : ok
Checking for node path : not found
Checking for node prefix : ok /usr/local
Checking for header dns_sd.h : 13:04:38 runner system command -> ['/usr/bin/g++', '-g', '-I/usr/local/include', '../test.cpp', '-c', '-o', 'default/test_1.o']
13:04:38 runner system command -> ['/usr/bin/g++', 'default/test_1.o', '-o', '/home/garrett/mdns/agnat-node_mdns-d979f84/out/.conf_check_0/testbuild/default/testprog']
yes
Checking for library dns_sd : 13:04:38 runner system command -> ['/usr/bin/g++', '-g', '../test.cpp', '-c', '-o', 'default/test_1.o']
13:04:38 runner system command -> ['/usr/bin/g++', 'default/test_1.o', '-o', '/home/garrett/mdns/agnat-node_mdns-d979f84/out/.conf_check_0/testbuild/default/testprog', '-L/usr/local/lib', '-Wl,-Bdynamic', '-ldns_sd']
yes
Checking for function DNSServiceGetAddrInfo : 13:04:38 runner system command -> ['/usr/bin/g++', '-g', '-I/usr/local/include', '../test.cpp', '-c', '-o', 'default/test_1.o']
not found
'configure' finished successfully (0.229s)
Waf: Entering directory `/home/garrett/mdns/agnat-node_mdns-d979f84/out'
[ 1/20] cxx: src/dns_sd.cpp -> out/default/src/dns_sd_1.o
13:04:38 runner system command -> ['/usr/bin/g++', '-g', '-Wall', '-fPIC', '-DPIC', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-Idefault', '-I../..', '-I/usr/local/include', '-I/usr/local/include/node', '../src/dns_sd.cpp', '-c', '-o', 'default/src/dns_sd_1.o']
[ 2/20] cxx: src/dns_service_browse.cpp -> out/default/src/dns_service_browse_1.o
13:04:38 runner system command -> ['/usr/bin/g++', '-g', '-Wall', '-fPIC', '-DPIC', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-Idefault', '-I../..', '-I/usr/local/include', '-I/usr/local/include/node', '../src/dns_service_browse.cpp', '-c', '-o', 'default/src/dns_service_browse_1.o']
[ 3/20] cxx: src/dns_service_enumerate_domains.cpp -> out/default/src/dns_service_enumerate_domains_1.o
13:04:38 runner system command -> ['/usr/bin/g++', '-g', '-Wall', '-fPIC', '-DPIC', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-Idefault', '-I../..', '-I/usr/local/include', '-I/usr/local/include/node', '../src/dns_service_enumerate_domains.cpp', '-c', '-o', 'default/src/dns_service_enumerate_domains_1.o']
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_sd.cpp:1:
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory[ 4/20] cxx: src/dns_service_process_result.cpp -> out/default/src/dns_service_process_result_1.o
13:04:38 runner system command -> ['/usr/bin/g++', '-g', '-Wall', '-fPIC', '-DPIC', '-D_LARGEFILE_SOURCE', '-D_FILE_OFFSET_BITS=64', '-D_GNU_SOURCE', '-DEV_MULTIPLICITY=0', '-Idefault', '-I../..', '-I/usr/local/include', '-I/usr/local/include/node', '../src/dns_service_process_result.cpp', '-c', '-o', 'default/src/dns_service_process_result_1.o']
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_service_browse.cpp:1:
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_service_enumerate_domains.cpp:1:
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_service_process_result.cpp:1:
/usr/local/include/node/uv.h:57:18: error: ares.h: No such file or directory
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_sd.cpp:1:
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_service_browse.cpp:1:
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_service_enumerate_domains.cpp:1:
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type
In file included from /usr/local/include/node/node.h:61,
from ../src/mdns.hpp:10,
from ../src/dns_service_process_result.cpp:1:
/usr/local/include/node/uv.h:933: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:936: error: ‘ares_channel’ has not been declared
/usr/local/include/node/uv.h:1404: error: ‘ares_channel’ does not name a type
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used
/usr/local/include/node/uv-private/ev.h:572: warning: ‘ev_tstamp ev_now()’ defined but not used
/usr/local/include/node/uv-private/ev.h:581: warning: ‘int ev_is_default_loop()’ defined but not used
Waf: Leaving directory `/home/garrett/mdns/agnat-node_mdns-d979f84/out'
Build failed:
-> task failed (err #1):
{task: cxx dns_sd.cpp -> dns_sd_1.o}
-> task failed (err #1):
{task: cxx dns_service_browse.cpp -> dns_service_browse_1.o}
-> task failed (err #1):
{task: cxx dns_service_process_result.cpp -> dns_service_process_result_1.o}
-> task failed (err #1):
{task: cxx dns_service_enumerate_domains.cpp -> dns_service_enumerate_domains_1.o}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.