as2gbmap: 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 Debian possible default full paths are:

/usr/bin/as2gbmap - from package: sdcc

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