I assume you're a first timer. It always helps to mention that up front.
Have you read the instructions and ensure all dependencies are installed?
Find the first few errors, read them, try to understand what it means. If you can't figure it out
post it here. It also helps if you mention your CPU.
These are dependencies I am installing and commands I am running:
1. sudo apt-get install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev -y
2. sudo apt-get install autotools-dev automake make libcurl4-openssl-dev g++ libssl-dev libgmp3-dev -y
3. sudo apt-get install build-essential screen automake m4 openssl libssl-dev git libjson0 libjson0-dev libcurl4-openssl-dev autoconf python-software-properties -y
4. sudo git clone https://github.com/JayDDee/cpuminer-opt
5. cd cpuminer-opt
6. sudo ./build.sh
These are some of the errors I am getting:
In file included from algo/echo/aes_ni/vperm.h:20:0,
from algo/echo/aes_ni/hash.c:21:
/usr/lib/gcc/x86_64-linux-gnu/5/include/tmmintrin.h:136:1: error: inlining failed in call to always_inline _mm_shuffle_epi8: target specific option mismatch
_mm_shuffle_epi8 (__m128i __X, __m128i __Y)
In file included from algo/echo/aes_ni/hash.c:21:0:
algo/echo/aes_ni/vperm.h:77:5: error: called from here
t3 = _mm_shuffle_epi8(*((__m128i*)_k_inv + 0), t4);\
There are dozens of errors like this. Unfortunatelly I am not that proficient with ubuntu to try to understand those errors.
Anyways running build always finish with these lines:
Makefile:818: recipe for target 'all' failed
make: *** [all] Error 2
strip: 'cpuminer': No such file
BTW with previous versions there were no such problems and build was successful.