allegro.cpp: In function ‘int main()’: allegro.cpp:8: warning: ‘textout_centre’ is deprecated (declared at /usr/include/allegro/alcompat.h:160) allegro.cpp:8: warning: ‘textout_centre’ is deprecated (declared at /usr/include/allegro/alcompat.h:160) /tmp/ccnqKgX3.o: In function `install_allegro': allegro.cpp:(.text+0x10): undefined reference to `_get_allegro_version' allegro.cpp:(.text+0x28): undefined reference to `get_config_text' allegro.cpp:(.text+0x2d): undefined reference to `allegro_error' allegro.cpp:(.text+0x41): undefined reference to `ustrzcpy' allegro.cpp:(.text+0x63): undefined reference to `_install_allegro' /tmp/ccnqKgX3.o: In function `textout_centre': allegro.cpp:(.text+0x80): undefined reference to `_textmode' allegro.cpp:(.text+0xb2): undefined reference to `textout_centre_ex' /tmp/ccnqKgX3.o: In function `main': allegro.cpp:(.text+0xe0): undefined reference to `install_keyboard' allegro.cpp:(.text+0x10c): undefined reference to `set_gfx_mode' allegro.cpp:(.text+0x112): undefined reference to `font' allegro.cpp:(.text+0x117): undefined reference to `screen' allegro.cpp:(.text+0x13d): undefined reference to `readkey' collect2: ld returned 1 exit status