I had another issue but i was able to fix it by looking on the web,
there was a compilation error
In file included from /usr/include/c++/4.7/unordered_map:35:0,
from algo/hodl/hodl.cpp:8:
/usr/include/c++/4.7/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support is currently experimental, and must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
make[2]: *** [algo/hodl/cpuminer-hodl.o] Error 1
make[2]: Leaving directory `/home/apps/cpuminer-opt'
make[1]: *** [all-recursive] Error 1
so i had to use manually and add compiler option
now i have another one
cpu-miner.c:(.text+0x7b46): undefined reference to `set_incl'
cpu-miner.c:(.text+0x7b58): undefined reference to `set_incl'
cpu-miner.c:(.text+0x7b6a): undefined reference to `set_incl'
algo/argon2/cpuminer-argon2a.o: In function `argon2hash':
argon2a.c:(.text+0x21e): undefined reference to `argon_call'
algo/cpuminer-m7m.o: In function `swit2_':
m7m.c:(.text+0x1b5): undefined reference to `exp_n'
m7m.c:(.text+0x202): undefined reference to `exp_n'
collect2: error: ld returned 1 exit status
-std=gnu++11 is mentioned in the compile instructions. Check RELEASE_NOTES to see if you are missing something else.
Your latest errors make no sense, it's reporting undefined reference to a symbol that's defined in the same source file.