I'm having a hard time configuring Code::Blocks to work with Allegro under Linux.
I also tried configuring Eclipse to work with Allegro, but I had the same problem.
I get errors that have to do with the Allegro libraries not being found.
I know I installed Allegro the right way. I compiled from source, and I installed via Synaptic Package Manager.