Here are the commands I used to compile on Ubuntu 14. Please run on the test server for a little while and report back any errors. It will help us a lot.
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm git
git clone https://github.com/cryptozoidberg/cpuminer-multi
cd cpuminer-multi
./autogen.sh
./configure CFLAGS="-O3"
make
If you have problems, try without CFLAGS
compile it like you write. On compiling no problems.
try to connect and still get this error.
[2014-07-03 20:38:04] JSON decode failed(1): premature end of input
[2014-07-03 20:38:04] Getting full scratchpad received line
[2014-07-03 20:38:04] JSON decode rpc2_getscratchpad response failed(1): premature end of input
[2014-07-03 20:38:04] > {"method": "getjob", "params": {"id": "893789936881512", "hi": { "height": 0, "block_id": "0000000000000000000000000000000000000000000000000000000000000000" }, "agent": "cpuminer-multi/0.1"}, "id": 1}