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
1 Well, I tried cross-emerging bash-3.2_p5, and for whatever reason, did not suffer
2 the "cannot run test program while cross compiling" error that bash-3.1_p17 was
3 giving me; however now thing break later on with:
4
5 /usr/libexec/gcc/i686-pc-linux-uclibc/ld: cannot find -lcurses
6 collect2: ld returned 1 exit status
7 make: *** [bash] Error 1
8
9 ...however ncurses has been installed, both in the host target and the build host...
10
11
12
13 On Saturday 18 November 2006 00:59, Corey wrote:
14 >
15 > ROOT="/mnt/gentoo" CHOST="i686-pc-linux-uclibc" CBUILD="i686-pc-linux-gnu" emerge bash
16 >
17 > ....
18 >
19 > checking for alloca... (cached) yes
20 > checking whether getpgrp requires zero arguments... yes
21 > checking whether setvbuf arguments are reversed... configure: error: cannot run test program while cross compiling
22 >
23 >
24 > How to fix this? I've seen plenty of mention of this particular problem, but no solution...
25 >
26 >
27 > Thanks,
28 >
29 > Corey
30 --
31 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>