title: what I'm including wrong ? undefined reference to al_init_image_addon error,
body: <p>what I'm including wrong ? 
  I am using codeblocks + allegro5 + ubuntu 11.10</p>
  
  <p>and getting this 2 errors</p>
  
  <p>undefined reference to 'al_init_image_addon'
  undefined reference to `al_init_primitives_addon'|</p>
  
  <p>I did install allegro5 correctly with all the dependencies. The first tutorial on loading the allegro.h works fine, it creates a normal window apart from the xterm window.
  I am following the "show in fullscreen tutorial" from the allegro wiki</p>
  
  <pre><code>#include "allegro5/allegro.h"
  #include "allegro5/allegro_image.h"
  #include &lt;allegro5/allegro_primitives.h&gt;
  #include "allegro5/allegro_native_dialog.h"
  
  int main()
  {
  
      ALLEGRO_DISPLAY *display = NULL;
      ALLEGRO_DISPLAY_MODE disp_data;
  
      al_init();
      al_init_image_addon(); // &lt;---------ERROR HERE
      al_init_primitives_addon();// &lt; --------ERROR HERE TOO
  
      al_set_new_display_flags(ALLEGRO_FULLSCREEN);
      display = al_create_display(disp_data.width,disp_data.height);
  
      al_rest(3);
      al_destroy_display(display);
  
      return 0;
  }
  </code></pre>