mn10300-linux-gnu-gprof: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/mn10300-linux-gnu-gprof - from package: binutils-mn10300-linux-gnu

You may install the required package with command yum install {package}
Error in other languages:
mn10300-linux-gnu-gprof: bevel nie gevind nie
mn10300-linux-gnu-gprof: comandă negăsită
mn10300-linux-gnu-gprof: comando não encontrado
mn10300-linux-gnu-gprof: commande introuvable
mn10300-linux-gnu-gprof: command not found
mn10300-linux-gnu-gprof: käsku ei ole
mn10300-linux-gnu-gprof: không tìm thấy lệnh
mn10300-linux-gnu-gprof: komanda nerasta
mn10300-linux-gnu-gprof: Kommando nicht gefunden.
mn10300-linux-gnu-gprof: kommandot finns inte
mn10300-linux-gnu-gprof: komut yok
mn10300-linux-gnu-gprof: nie znaleziono polecenia
mn10300-linux-gnu-gprof: níor aimsíodh an t-ordú
mn10300-linux-gnu-gprof: no se encontró la orden
mn10300-linux-gnu-gprof: no s'ha trobat l'ordre
mn10300-linux-gnu-gprof: opdracht niet gevonden
mn10300-linux-gnu-gprof: parancs nem található
mn10300-linux-gnu-gprof: perintah tidak ditemukan
mn10300-linux-gnu-gprof: príkaz nenájdený
mn10300-linux-gnu-gprof: příkaz nenalezen
mn10300-linux-gnu-gprof: команда не найдена
mn10300-linux-gnu-gprof: командата не е открита
mn10300-linux-gnu-gprof: 命令找不到
mn10300-linux-gnu-gprof: コマンドが見つかりません