Hi, Following the instructions in "Gentoo Embedded Handbook", I tried to emerge sys-libs/ncurses with no success. Emerge fails at the configure step with the following error: configure: error: Shared libraries are not supported in this version I tried to remove '--with-shared' from the ebuild, it passes the configure step then but failed with another error at compile time. I also tried to emerge binutils with no success :( Not sure this is the right place to report this, if not, please redirect. Reproducible: Always Steps to Reproduce: 1. i686-mingw32-emerge --root-deps=rdeps -v ncurses 2. 3. Actual Results: sys-libs/ncurses doesn't configure itself correctly. Expected Results: Installation of ncurses lib. gentoo64 ~ # i686-mingw32-emerge --info Portage 2.1.6.13 (embedded, gcc-4.4.2, unavailable, 2.6.31-gentoo-r6 x86_64) ================================================================= System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9450_@_2.66GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 11 Dec 2009 22:15:03 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.13, 2.63-r1 sys-devel/automake: 1.7.9-r1, 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b virtual/os-headers: 2.6.27-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-Os -pipe -march=i686 -fomit-frame-pointer -I/usr/i686-mingw32/usr/include/ -I/usr/i686-mingw32/include/" CHOST="i686-mingw32" CONFIG_PROTECT="/etc /usr/share/X11/xkb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-Os -pipe -march=i686 -fomit-frame-pointer -I/usr/i686-mingw32/usr/include/ -I/usr/i686-mingw32/include/" DISTDIR="/usr/portage/distfiles" FEATURES="buildpkg distlocks fixpackages nodoc noinfo noman parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://mirror.ovh.net/gentoo-distfiles/ ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ " LDFLAGS="-L/usr/i686-mingw32/lib -L/usr/i686-mingw32/usr/lib" LINGUAS="en" MAKEOPTS="-j2" PKGDIR="/usr/i686-mingw32/packages/" PORTAGE_CONFIGROOT="/usr/i686-mingw32/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/usr/i686-mingw32/tmp/" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 bindist kdrive make-symlinks minimal modules multicall openmp unicode zlib" ELIBC="__LIBC__" INPUT_DEVICES="evdev mouse keyboard tslib" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="fbdev" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Created attachment 212751 [details] build log of failed emerge
Created attachment 212753 [details] environment of failed emerge
I don't know how to build mingw shared libraries in a cross-compile, so that would be unsupported (patches welcome...). For the other, the build-problem when omitting --with-shared isn't described. That might be some problem with the ebuild setting up the host compiler - or it might simply be that it's using a function that mingw doesn't support.
*** Bug 527602 has been marked as a duplicate of this bug. ***
FWIW, #527602 includes a patch that at least lets ncurses cross-compile for MinGW targets. (note it isn't stable yet there, though)