---------------------------------------------------------- emerge xloadimage ... gcc -o xloadimage bright.o clip.o cmuwmraster.o compress.o config.o dither.o faces.o fbm.o fill.o gif.o halftone.o imagetypes.o img.o jpeg.o mac.o mc_tables.o mcidas.o merge.o misc.o new.o niff.o options.o pbm.o pcx.o pdsuncomp.o reduce.o rle.o rlelib.o root.o rotate.o send.o smooth.o sunraster.o tiff.o undither.o value.o vff.o vicar.o window.o xbitmap.o xloadimage.o xpixmap.o xwd.o zio.o zoom.o png.o build.o -L/usr/X11R6/lib -lX11 -ltiff -ljpeg -lpng -lz -lm img.o(.text+0x2d9): In function `xread_img': : undefined reference to `errno' collect2: ld returned 1 exit status make: *** [xloadimage] Error 1 make: *** Waiting for unfinished jobs.... !!! ERROR: x11-misc/xloadimage-4.1 failed. !!! Function src_compile, Line 319, Exitcode 2 !!! emake failed ---------------------------------------------------------- In "xloadimage.c " in function: "xread_img" the variable: "errno" is used but not declared. To fix the problem just declare "int errno=0" somewhere as a global variable. I think it's best to send this bug upstream to the xloadimage team...
the -r1 has had the fix forever. moved that to stable x86.