guys using smos/bamt, try using this, it is modified script from smos homepage
#!/bin/sh
mine stop
wget http://smos-linux.org/upgrade/sgminer.pl
wget http://smos-linux.org/upgrade/sgminer2.pl
rm -rf /opt/bamt/gpumon
mv sgminer2.pl /opt/bamt/gpumon
rm -rf /opt/bamt/common.pl
mv sgminer.pl /opt/bamt/common.pl
sleep 5
cd /opt/miners/
rm -rf cgminer
git clone https://github.com/lasybear/sph-sgminer_x11mod
mv /opt/miners/sph-sgminer_x11mod /opt/miners/sgminer
cp /opt/ADL/include/* /opt/miners/sgminer/ADL_SDK/
cd /opt/miners/sgminer/
./autogen.sh
sleep 5
make clean
sleep 5
CFLAGS="-O2 -Wall -march=native -I /opt/AMDAPP/include/" LDFLAGS="-L/opt/AMDAPP/lib/x86" ./configure --enable-scrypt --enable-darkcoin --enable-opencl --bindir="/opt/miners/sgminer" --prefix="/usr/local/bin"
sleep 5
make
sleep 5
rm -rf /root/sgminer-sph.sh
clear
echo "sgminer sph"
echo "SMOS-Linux.org"
echo "Now reboot your rig, and start mining"