session.o: In function `get_temp_name': session.c:(.text+0x640a): warning: the use of `tempnam' is dangerous, better use `mkstemp' directfb.o: In function `directfb_fb_init_driver': directfb.c:(.text+0x1381): undefined reference to `DirectFBInit' directfb.c:(.text+0x138d): undefined reference to `DirectFBCreate' directfb.c:(.text+0x13a2): undefined reference to `DirectFBErrorString' collect2: ld returned 1 exit status make: *** [links] Error 1 * * ERROR: www-client/links-2.2 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2533: Called die * The specific snippet of code: * emake || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/www-client/links-2.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/www-client/links-2.2/temp/environment'. *