Get the source code
The Linux makefile should already be in the main directory. To be
sure though
cp unix/* .
edit gbm.c
find the text that looks like this ...
iax_qft, iax_rhdr, iax_rpal, iax_rdata, iax_w, iax_err,
xbm_qft, xbm_rhdr, xbm_rpal, xbm_rdata, xbm_w, xbm_err,
/* spr_qft, spr_rhdr, spr_rpal, spr_rdata, spr_w, spr_err, */
psg_qft, psg_rhdr, psg_rpal, psg_rdata, psg_w, psg_err,
gem_qft, gem_rhdr, gem_rpal, gem_rdata, gem_w, gem_err,
... and insure a comment is made as shown.
now edit makefile
locate the first reference to gbmspr.o delete it
now make should build a gbm.a and the other command line utilities
without complaint. I suspect that some sprite file format support
is gutted by this hack. Hopefully a better online binary and source will
make this hack obsolete.