[Buildroot] buildroot ncurses build problem
Arnout Vandecappelle
arnout at mind.be
Tue Feb 28 22:48:14 UTC 2012
On Tuesday 28 February 2012 15:32:34 Thomas De Schampheleire wrote:
> On Tue, Feb 28, 2012 at 4:12 PM, <snarf77 at free.fr> wrote:
> >> /bin/sh: -I../c++: not found
> >> make: *** [../objects/cursesf.o] Error 127
>
> It seems that the compiler is not correctly filled in (the variable is empty).
Search for CXX in output/build/host-ncurses-5.7/config.log and
output/build/host-ncurses-5.7/c++/Makefile
In output/build/host-ncurses-5.7/config.log you should find:
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value='/usr/bin/g++'
This leads to the following in
output/build/host-ncurses-5.7/c++/Makefile:
CXX = /usr/bin/g++
By the way, you do have /usr/bin/g++ installed I hope?
If you've changed anything in your environment (e.g. installed g++),
you have to do a clean build of the package:
make host-ncurses-dirclean
make
Regards,
Arnout
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
More information about the buildroot
mailing list