Download latest Gambas 3 source, and delete all Gambas related binaries.
sudo rm -f /usr/local/bin/gbx3 /usr/local/bin/gbc3 /usr/local/bin/gba3
/usr/local/bin/gbi3
sudo rm -rf /usr/local/lib/gambas3
sudo rm -rf /usr/local/share/gambas3
Try to compile with (you might need to change "Desktop"):
(
Hello,
I have a pandaboard and had gambas2 happily running on ubuntu 11.04.
From the moment I had the idea of updating to 11.10, I started having
problems (described below), and I even tried 12.04 rc but still no go.
On ubuntu 12.04:
Linux hostname 3.2.0-1407-omap4 #10-Ubuntu SMP PREEMPT F