I get this error when I try to compile on Ubuntu 12.04
Haven't had this issue with other scrypt coins.
net.cpp:(.text+0x9fb): warning: Using 'gethostbyname' in statically linked appli cations requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [huntercoind] Error 1
you have some missing dependencies (i think) - i don't use linux hardly.. but i compiled huntercoind on 3x 12.04 ubuntus
i also got some errors with it similar, i solved it, then there was something else, then something else, so in the end i just installed all these dependences (you don't need them all but i was in a rush lol) - probably it will solve the problem, or someone who knows what they are talking about may help -- i will find out tomorrow if you haven't solved it
copy/pasted from some forum
Lorraine -
I finally figured this out. I'm on ubuntu 12.04 I installed libboost-chrono1.48-dev and all of its suggested packages and I was able to compile then. These are the packages:
libboost-chrono1.48-dev libboost1.48-doc libboost-date-time1.48-dev libboost-filesystem1.48-dev libboost-graph-parallel1.48-dev libboost-graph1.48-dev libboost-iostreams1.48-dev libboost-locale1.48-dev libboost-math1.48-dev libboost-mpi1.48-dev libboost-program-options1.48-dev libboost-python1.48-dev libboost-random1.48-dev libboost-regex1.48-dev libboost-serialization1.48-dev libboost-signals1.48-dev libboost-system1.48-dev libboost-test1.48-dev libboost-thread1.48-dev libboost-timer1.48-dev libboost-wave1.48-dev xsltproc doxygen default-jdk
Thanks! You should add HUC to your donation sig =) I'll send some if I get this working.
I already had all of those installed surprisingly, same error on compiling.
Which make commands did you use to compile if you don't mind me asking?
e&)]+0x77): warning: Using 'getaddrinfo' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
obj/net.o: In function `Lookup(char const*, std::vector
>&, int, int, bool, int, bool)':
net.cpp:(.text+0x9fb): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/usr/bin/ld: cannot find -lgcc_s
collect2: ld returned 1 exit status
make: *** [huntercoind] Error 1
using: sudo make -f makefile.mingw USE_UPNP=-