Don't force smartlinking in allegro.cfg if you don't have a very specific reason to do it; it causes compilation errors with external assemblers.