Version 0.3 of libamp for the DOS version of Allegro does not compile with DOS GCC 2.95 (DJGPP). I had to modify the inline assembly of the audioalg.c file.
Download audioalg.zip and unzip this in the source directory. It will overwrite the existing audioalg.c file.