[Buildroot] Bash failing

Jonathan and Caroline Moore jandcmoore at gmail.com
Mon Jul 28 15:33:56 UTC 2008

Below are the last few lines of output after make and the results of
the find command.

The entire log generated by the command
make >log 2>&1 can be downloaded here

Hinko can you send me your buildroot config file please? Mine is here

Many many thanks


-I/home/jm/git/Arm.2410/buildroot-20080727/build_arm/bash-3.2 -I../..
-I../../lib  -g -O2 display.c
In file included from display.c:49:
tcap.h:35:23: error: termcap.h: No such file or directory
display.c: In function 'rl_character_len':
display.c:1961: warning: comparison is always true due to limited
range of data type
display.c: In function 'insert_some_chars':
display.c:2225: warning: assignment makes pointer from integer without a cast
display.c: In function 'delete_chars':
display.c:2268: warning: assignment makes pointer from integer without a cast
make[2]: *** [display.o] Error 1
make[2]: Leaving directory
make[1]: *** [lib/readline/libreadline.a] Error 1
make[1]: Leaving directory
make: *** [/home/jm/git/Arm.2410/buildroot-20080727/build_arm/bash-3.2/bash]
Error 2

WS867:Mon 28:1614:buildroot-20080727:$ !find
find build_arm -name termcap.h

2008/7/28 Hinko Kocevar <hinko.kocevar at cetrtapot.si>:
> Jonathan and Caroline Moore wrote:
>> OK I guess I need some more help.
>> I thought buildroot took care of these details or am I meant to do
>> something before typing make?
> It should. ncurses package is responsible for termcap.h. I've just built
> the bash for i686 here, and haven't stumbled across your problem.
>> Would it help if I attached some of the files?
> Show us the output of:
> /buildroot $ find build_<arch> -name termcap.h
> Here, for i686 it is:
> /buildroot $ find build_i686 -name termcap.h
> build_i686/ncurses-5.6/include/termcap.h
> build_i686/bash-3.2/lib/termcap/termcap.h
> build_i686/staging_dir/usr/include/termcap.h
> .. adn for generic arm:
> /buildroot $ find build_arm -name termcap.h
> build_arm/ncurses-5.6/include/termcap.h
> build_arm/bash-3.2/lib/termcap/termcap.h
> build_arm/staging_dir/usr/include/termcap.h
> The last line one is the one I suppose you are missing although I can't see why!?
> Regards,
> Hinko
> --
> ČETRTA POT, d.o.o., Kranj
> Planina 3
> 4000 Kranj
> Slovenia, Europe
> Tel. +386 (0) 4 280 66 03
> E-mail: hinko.kocevar at cetrtapot.si
> Http: www.cetrtapot.si

Jonathan (and Caroline)

Jonathan and Caroline Moore
JandCMoore at gmail.com (Jonathan)
CandJMoore at gmail.com (Caroline)

More information about the buildroot mailing list