> LIBS = -L/usr/GEM/lib -lgem -liio -lungif -ljpeg -lpng -lz -lm #-lsocket this line definitely does not cover it :) there must be something like -lcflib but first make sure that function is really from cflib. -- MiKRO / Mystic Bytes http://mikro.atari.org