I'll do a new release tomorrow or the next day. Hopefully they'll
release a new V8 version in the mean time, otherwise I'll just apply
that patch.
thanks
Can you try to build udns alone? Do you get the same error? This might
be a problem with the udns library.
cd deps/udns
./configure
make
uh@uh:~/me/ujh-node/deps/udns$ ./configure
configure... udns package
checking for C compiler... gcc
checking whenever C compiler (gcc) is GNU CC... yes
checking whenever the C compiler (gcc -Wall -W -O2 -pipe)
can produce executables... yes
checking for ranlib... ranlib
checking for getopt()... yes
checking for inet_pton() && inet_ntop()... yes
checking for socklen_t... yes
checking for libraries needed for socket and connect... ok (none needed)
checking for IPv6... yes
checking for poll()... yes
creating config.h... ok
creating Makefile... ok
creating config.status... ok
all done.
uh@uh:~/me/ujh-node/deps/udns$ make
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dn.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_dntosp.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_parse.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_resolver.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_init.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_misc.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_XtoX.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_a.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_ptr.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_mx.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_txt.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_bl.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_srv.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_rr_naptr.c
Generating udns_codes.c
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c udns_codes.c
rm -f libudns.a
ar rv libudns.a udns_dn.o udns_dntosp.o udns_parse.o udns_resolver.o
udns_init.o udns_misc.o udns_XtoX.o udns_rr_a.o udns_rr_ptr.o
udns_rr_mx.o udns_rr_txt.o udns_bl.o udns_rr_srv.o udns_rr_naptr.o
udns_codes.o
ar: creating archive libudns.a
a - udns_dn.o
a - udns_dntosp.o
a - udns_parse.o
a - udns_resolver.o
a - udns_init.o
a - udns_misc.o
a - udns_XtoX.o
a - udns_rr_a.o
a - udns_rr_ptr.o
a - udns_rr_mx.o
a - udns_rr_txt.o
a - udns_bl.o
a - udns_rr_srv.o
a - udns_rr_naptr.o
a - udns_codes.o
gcc -Wall -W -O2 -pipe -DHAVE_CONFIG_H -c dnsget.c
dnsget.c: In function 'dbgcb':
dnsget.c:404: warning: unused parameter 'unused_q'
dnsget.c:404: warning: unused parameter 'unused_data'
gcc -Wall -W -O2 -pipe -o dnsget dnsget.o -L. -ludns
ld: in ./libudns.a, archive has no table of contents
collect2: ld returned 1 exit status
make: *** [dnsget] Error 1
However, I was able to manually fix it. Running "ranlib libudns.a"
generated the table of contents and the running make again worked.
Though, I wasn't able to compile node itself afterwards.
Urban
Thanks.
Can you please apply this patch (which just adds ranlib to the udns
build script) and check that you can rebuild node from scratch:
make distclean && ./configure && make
Hopefully that fixes the issue?
ry
Yes, that fixes it for me.
Urban