checking for util/locker.h... no checking for util/application.h... no checking for inflate in -lz... no checking for png.h... yes checking for libpng/png.h... yes checking for png_create_info_struct in -lpng... no configure: error: You need libpng to compile Links in graphics mode !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/links-2.1_pre20/work/links-2.1pre20/config.log
Created attachment 90400 [details] config.log from emerge of links
Hmm... looks like that is already handled in the ebuild... Please post emerge -p links and emerge --info
configure:6913: checking for png_create_info_struct in -lpng configure:6932: i686-pc-linux-gnu-gcc -o conftest -march=k8 -pipe -O3 -fomit-frame-pointer -m3dnow -msse -msse2 -mmmx -mfpmath=sse -I/usr/include/SDL -D_REENTRANT conftest.c -lpng -L/usr/lib -Wl,-rpath,/usr/lib -lSDL -lpthread -lXext -lX11 -lvga -lssl -lcrypto -ldl -ldl -lgpm -lpcre -lm 1>&5 /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirectfb-0.9.so.22, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libfusion-0.9.so.22, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/../../../../i686-pc-linux-gnu/bin/ld: warning: libdirect-0.9.so.22, needed by /usr/lib/libSDL.so, not found (try using -rpath or -rpath-link) /usr/lib/libSDL.so: undefined reference to `DirectFBCreate' /usr/lib/libSDL.so: undefined reference to `DirectFBErrorString' /usr/lib/libSDL.so: undefined reference to `DirectFBError' /usr/lib/libSDL.so: undefined reference to `DirectFBInit' collect2: ld returned 1 exit status configure: failed program was: #line 6921 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char png_create_info_struct(); Looks like you missed to run `revdep-rebuild` after updating DirectFB. If this isn't the case, reopen please.