checking for C compiler default output... configure: error: C compiler cannot create executables !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /portagetmp/portage/ncurses-5.5-r3/work/narrowc/config.log !!! ERROR: sys-libs/ncurses-5.5-r3 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile ncurses-5.5-r3.ebuild, line 50: Called do_compile ncurses-5.5-r3.ebuild, line 71: Called econf '--libdir=/lib' '--with-terminfo-dirs=/etc/terminfo:/usr/share/terminfo' '--disable-termcap' '--with-shared' '--with-rcs-ids' '--without-ada' '--enable-symlinks' '--enable-const' '--with-chtype=long' '--with-mmask-t=long' '--with-manpage-format=normal' '--without-debug' '--without-gpm' '--without-trace' ebuild.sh, line 541: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant.