[Buildroot] Bash failing

Hamish Moffatt hamish at cloud.net.au
Wed Jul 30 01:23:04 UTC 2008

On Tue, Jul 29, 2008 at 10:20:18PM +0100, Jonathan and Caroline Moore wrote:
> Still no joy and it is all rather frustrating. Aren't these things
> meant to "work out of the box"? Are you able to send me the .config
> you have managed to get working and tell me the buildroot snapshot you
> used please?

> /opt/crosstool/gcc-4.1.0-glibc-2.3.2/arm-unknown-linux-gnu/lib/gcc/arm-unknown-linux-gnu/4.1.0/../../../../arm-unknown-linux-gnu/bin/ld:
> cannot find -lcurses

 $(BASH_DIR)/$(BASH_BINARY): $(BASH_DIR)/.configured
+       $(MAKE1) CC=$(TARGET_CC) CC_FOR_BUILD="$(HOSTCC)" CFLAGS="-I$(STAGING_DIR)/usr/include" -C $(BASH_DIR)

You probably also need an LDFLAGS="-L$(STAGING_DIR)/usr/lib" then.

As to working "out of the box", you'd probably have more luck if you
used the compiler that came out of the same box!

> make[3]: *** [info-recursive] Error 1

That's weird since no error was printed before that. Can you debug it?

> make[3]: Leaving directory
> `/home/jm/git/Arm.2410/buildroot/toolchain_build_arm/binutils-2.18-build/bfd'

Does this path imply you are using the unofficial buildroot Git
repository? Can you try the official svn?

Hamish Moffatt VK3SB <hamish at debian.org> <hamish at cloud.net.au>

More information about the buildroot mailing list