Hmm, I'm pretty sure I've done all this. And after reading your post I went over it all once again, so I shouldn't have missed anything.
I don't know what Autoconf or that stuff you wrote is, but I guess I did the same things through the menus.
This is the first time I've ever tried to write a library, so maybe I'm doing something wrong in the code itself. But I figure it's just like any program, but without a 'main' function, so it's more like a collection of classes and functions, compiled as a 'static library' to produce the *.a file.
If it helps in any way I'll just post my system information and the build log here.
Windows XP Pro x64 SP2, Code::Blocks 8.02, MinGW GCC, Allegro 4.2.2
One thing I think looks suspicious here, is that it never says anything about linking the allegro library (liballeg.a)
-------------- Build: Debug in GAME CORE ---------------
Compiling: src\INPUT.cpp
Compiling: src\CORE.cpp
Linking static library: lib\Debug\libgamecore.a
ar.exe: creating lib\Debug\libgamecore.a
Output size is 104.56 KB
-------------- Build: Debug in GUI ---------------
Compiling: src\GUI_BUTTON.cpp
Compiling: src\GUI_CANVAS.cpp
Compiling: src\GUI.cpp
Linking static library: lib\Debug\libgui.a
ar.exe: creating lib\Debug\libgui.a
Output size is 164.96 KB
-------------- Build: Debug in VGFX ---------------
Compiling: src\POLYGON.cpp
Compiling: src\SKELETON.cpp
Compiling: src\VECTOR.cpp
Compiling: src\VGFX.cpp
Compiling: src\MODEL.cpp
Linking static library: lib\Debug\libvgfx.a
ar.exe: creating lib\Debug\libvgfx.a
Output size is 121.12 KB
-------------- Build: Debug in Vector Editor ---------------
Compiling: src\main.cpp
Linking console executable: bin\Debug\veditor.exe
D:\Projects\Programming\GAME CORE\lib\Debug\libgamecore.a(CORE.o): In function `_ZN4CORED2Ev':
D:/Projects/Programming/GAME CORE/src/CORE.cpp:18: undefined reference to `_destroy_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:19: undefined reference to `_destroy_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:23: undefined reference to `_allegro_exit'
D:\Projects\Programming\GAME CORE\lib\Debug\libgamecore.a(CORE.o): In function `_ZN4CORED1Ev':
D:/Projects/Programming/GAME CORE/src/CORE.cpp:18: undefined reference to `_destroy_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:19: undefined reference to `_destroy_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:23: undefined reference to `_allegro_exit'
D:\Projects\Programming\GAME CORE\lib\Debug\libgamecore.a(CORE.o): In function `_ZN4CORED0Ev':
D:/Projects/Programming/GAME CORE/src/CORE.cpp:18: undefined reference to `_destroy_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:19: undefined reference to `_destroy_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:23: undefined reference to `_allegro_exit'
D:\Projects\Programming\GAME CORE\lib\Debug\libgamecore.a(CORE.o): In function `_ZN4CORE10initializeEv':
D:/Projects/Programming/GAME CORE/src/CORE.cpp:29: undefined reference to `__install_allegro_version_check'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:30: undefined reference to `_install_keyboard'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:31: undefined reference to `_install_mouse'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:34: undefined reference to `_request_refresh_rate'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:35: undefined reference to `_set_gfx_mode'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:39: undefined reference to `_create_video_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:40: undefined reference to `_create_video_bitmap'
D:\Projects\Programming\GAME CORE\lib\Debug\libgamecore.a(CORE.o): In function `_ZN4CORE13draw_graphicsEv':
D:/Projects/Programming/GAME CORE/src/CORE.cpp:61: undefined reference to `_clear_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:69: undefined reference to `_show_video_bitmap'
D:/Projects/Programming/GAME CORE/src/CORE.cpp:72: undefined reference to `_rest'
D:\Projects\Programming\GAME CORE\lib\Debug\libgamecore.a(INPUT.o): In function `_ZN5INPUT6updateEv':
D:/Projects/Programming/GAME CORE/src/INPUT.cpp:16: undefined reference to `__imp__key'
D:/Projects/Programming/GAME CORE/src/INPUT.cpp:19: undefined reference to `__imp__mouse_x'
D:/Projects/Programming/GAME CORE/src/INPUT.cpp:20: undefined reference to `__imp__mouse_y'
D:/Projects/Programming/GAME CORE/src/INPUT.cpp:22: undefined reference to `__imp__mouse_b'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_BUTTON.o): In function `_ZN10GUI_BUTTON4drawEP6BITMAP':
D:/Projects/Programming/GUI/src/GUI_BUTTON.cpp:56: undefined reference to `_textout_centre_ex'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_CANVAS.o): In function `_ZN10GUI_CANVASC2Eii':
D:/Projects/Programming/GUI/src/GUI_CANVAS.cpp:11: undefined reference to `_create_bitmap'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_CANVAS.o): In function `_ZN10GUI_CANVASC1Eii':
D:/Projects/Programming/GUI/src/GUI_CANVAS.cpp:11: undefined reference to `_create_bitmap'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_CANVAS.o): In function `_ZN10GUI_CANVASD2Ev':
D:/Projects/Programming/GUI/src/GUI_CANVAS.cpp:21: undefined reference to `_destroy_bitmap'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_CANVAS.o): In function `_ZN10GUI_CANVASD1Ev':
D:/Projects/Programming/GUI/src/GUI_CANVAS.cpp:21: undefined reference to `_destroy_bitmap'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_CANVAS.o): In function `_ZN10GUI_CANVASD0Ev':
D:/Projects/Programming/GUI/src/GUI_CANVAS.cpp:21: undefined reference to `_destroy_bitmap'
D:\Projects\Programming\GUI\lib\Debug\libgui.a(GUI_CANVAS.o): In function `_ZN10GUI_CANVAS4drawEP6BITMAP':
D:/Projects/Programming/GUI/src/GUI_CANVAS.cpp:29: undefined reference to `_blit'
D:\Projects\Programming\VGFX\lib\Debug\libvgfx.a(VGFX.o): In function `_ZN4VGFX6renderEv':
D:/Projects/Programming/VGFX/src/VGFX.cpp:52: undefined reference to `_clear_bitmap'
collect2: ld returned 1 exit status
Process terminated with status 1 (0 minutes, 1 seconds)
31 errors, 0 warnings