Gentoo Archives: gentoo-embedded

From: Daniel Glaser <daniel.glaser@××××××××××××.com>
To: gentoo-embedded@l.g.o
Subject: Re: [gentoo-embedded] crosscompile bash
Date: Sat, 18 Nov 2006 15:24:52
Message-Id: 455F2597.5050908@chaintronics.com
In Reply to: [gentoo-embedded] crosscompile bash by Corey
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 >
Try adding this to your $ROOT/etc/make.conf bash_cv_have_mbstate_t=yes ac_cv_func_setvbuf_reversed=no Will work properly. cu daniel -- gentoo-embedded@g.o mailing list

Replies

Subject Author
Re: [gentoo-embedded] crosscompile bash Corey <corey@×××××××××.net>