Have you properly installed Allegro by running the makefile and such? Also, if you have are you linking to Allegro properly inside your compiler (i.e. #include <allegro.h>)? For more help you can go to allegro.cc