Probably want to add --a=256d before the --URL and after ./minerd, otherwise you would be using le wrong algo!
#ALLHASHESMATTER
Below are some lines that seem to make le Ubuntu wearing CPUs do a Hashetty Hash.
# install le dependencies
sudo apt-get install libcurl4-openssl-dev libncurses5-dev pkg-config automake yasm
# clone le cpuminer
git clone https://github.com/pooler/cpuminer.git
# compile le thing
cd cpuminer
./autogen.sh
./configure CFLAGS="-O3"
make
# start le miner
./minerd --url=stratum+tcp://public-pool.io:21496
--user=YOUR BTC ADDRESS, --pass=penis
# public-pool Peter strikes again
# kilohashes incoming
# CPU fryers anonymous
# learn le corn, not le porn
# don't be a fool, use the public pool:
Discussion
--a=sha256d
Got there in the end. Loooooool.