I had a small problem compiling cgminer (which I fortunately managed to overcome).
First attempt finished like this:
Making all in ccan
make[2]: Entering directory '/home/user/cgminer-vthoang/cgminer/ccan'
CC opt/libccan_a-helpers.o
CC opt/libccan_a-opt.o
CC opt/libccan_a-parse.o
CC opt/libccan_a-usage.o
AR libccan.a
make[2]: Leaving directory '/home/user/cgminer-vthoang/cgminer/ccan'
make[2]: Entering directory '/home/user/cgminer-vthoang/cgminer'
CC cgminer-cgminer.o
CC cgminer-util.o
CC cgminer-sha2.o
CC cgminer-api.o
CC cgminer-logging.o
CC cgminer-klist.o
CC cgminer-noncedup.o
CC cgminer-usbutils.o
CC cgminer-driver-gekko.o
CCLD cgminer
/usr/lib/gcc/x86_64-pc-linux-gnu/4.9.4/../../../../x86_64-pc-linux-gnu/bin/ld: cgminer-cgminer.o: undefined reference to symbol 'halfdelay'
/lib64/libtinfo.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:824: cgminer] Error 1
make[2]: Leaving directory '/home/user/cgminer-vthoang/cgminer'
make[1]: *** [Makefile:1687: all-recursive] Error 1
make[1]: Leaving directory '/home/user/cgminer-vthoang/cgminer'
make: *** [Makefile:727: all] Error 2
A search led me to this page (don't think it matches the problem exactly, but it did lead me to the solution).
https://stackoverflow.com/questions/26267788/linking-fails-with-gcc-4-8-2-ld-2-24-succeeds-with-gcc-4-4-7-ld-2-20Anyway, in the Makefile, I changed:
LIBS = -lncurses -lpthread
to:
LIBS = -lncurses -lpthread -ltinfo
and then it compiled fine.
Just thought I would pass this on in case someone runs into the same problem (or maybe this suggests an extra test in the build tools so that other users won't run into this problem).