Try changing to that 3.1.1 directory and executing ./cgminer just to make sure you're picking up the local copy. Since the wget command you gave to obtain the binary is wrong, I think your cgminer command ends up executing something else found elsewhere. You can execute the command
which cgminer to find out where the cgminer command being run lives. I'm betting you have a version 3.2.x installed to a directory somewhere in your search path.
The wget command you gave retrieves a
24k web-page, not a binary:
wget https://github.com/kanoi/cgminer-binaries/blob/master/RPi_32/cgminer-3.1.1a
...
Length: 24364 (24K) [text/html]
Saving to: `cgminer-3.1.1a'
100%[============================================================>] 24,364 --.-K/s in 0.01s
2013-06-27 20:22:29 (2.38 MB/s) - `cgminer-3.1.1a' saved [24364/24364]
To obtain the cgminer binary, use this path with "
raw" in it rather than "
blob". Notice that the binary is 915k:
rm cgminer.3.1.1*
wget https://github.com/kanoi/cgminer-binaries/raw/master/RPi_32/cgminer-3.1.1a
...
Length: 936480 (915K) [text/plain]
Saving to: `cgminer-3.1.1a'
100%[============================================================>] 936,480 140K/s in 6.5s
2013-06-27 20:04:48 (140 KB/s) - `cgminer-3.1.1a' saved [936480/936480]
pi@raspberrypi ~ $ mv cgminer-3.1.1a cgminer
p
i@raspberrypi ~ $ chmod a+x cgminer
pi@raspberrypi ~ $ ./cgminer -h
cgminer 3.1.1aBuilt with bflsc bitforce icarus modminer ztex mining support.
Usage: ./cgminer [-DdElmpPQqSsTouOchnV]
Options for both config file and command line:
....