file /src/libfb/if_tk line 275 this patch fixed it here #if TK_MINOR_VERSION < 5 tkimg_PhotoPutBlock(fbphoto, &block, x, ifp->if_height-y, count, 1, TK_PHOTO_COMPOSITE_SET); #else #define saveit Tk_Photo_PutBlock #undef Tk_PhotoPut_Block Tk_PhotoPutBlock(fbinterp ,fbphoto, &block , x, ifp->if_height-y, count, 1, TK_PHOTO_COMPOSITE_SET); #define Tk_Photo_PutBlock saveit #endif return count;