Gentoo Archives: gentoo-embedded

From: Corey <corey@×××××××××.net>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crosscompile bash
Date: Sat, 18 Nov 2006 08:35:02
Message-Id: 200611180131.19458.corey@bitworthy.net
In Reply to: [gentoo-embedded] crosscompile bash by Corey
Well, I tried cross-emerging bash-3.2_p5, and for whatever reason, did not suffer
the "cannot run test program while cross compiling" error that bash-3.1_p17 was
giving me; however now thing break later on with:

/usr/libexec/gcc/i686-pc-linux-uclibc/ld: cannot find -lcurses
collect2: ld returned 1 exit status
make: *** [bash] Error 1

...however ncurses has been installed, both in the host target and the build host...



On Saturday 18 November 2006 00:59, Corey wrote:
> > ROOT="/mnt/gentoo" CHOST="i686-pc-linux-uclibc" CBUILD="i686-pc-linux-gnu" emerge bash > > .... > > checking for alloca... (cached) yes > checking whether getpgrp requires zero arguments... yes > checking whether setvbuf arguments are reversed... configure: error: cannot run test program while cross compiling > > > How to fix this? I've seen plenty of mention of this particular problem, but no solution... > > > Thanks, > > Corey
-- gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] crosscompile bash Vladimir Pouzanov <farcaller@×××××.com>
Re: [gentoo-embedded] crosscompile bash Daniel Glaser <daniel.glaser@××××××××××××.com>