The problem is in giftoppm.c. Turn off the optimizer and pbmplus will compile properly. I've written a ppm median filter (adapted from ppmconvol.c) if anyone needs one. Jim Helman Department of Applied Physics 6 Trillium Lane Stanford University San Carlos, CA 94070 (jim at thrush.stanford.edu) (415) 723-9127