[Buildroot] Fwd: Fwd: how to assign cpp and c++ in buildroot?

cem akpolat akpolatcem at gmail.com
Tue May 20 14:38:46 UTC 2014


Hi Thomas,

I noticed the same failure:  you do not
have g++ on your machine.

Then I checked whether there is any link to g++, actually there is any g++
command, I assigned through the command sudo ln -s /usr/bin/g++-4.8 g++,
then recompile it again.
The compilation is now finished without errors. If I see this issue next
time, the only thing that I will do is to look at package/Makefile.in. I
assume that the whole configuration, if any of them aren't overwritten in a
package, is in the previous mentioned file. If I see the same error, first
of all I should check the commands that you provided me.

I cannot notice every detail sometimes, buildroot is quite new to me :).

Thank you so much,



Cem Akpolat


On Tue, May 20, 2014 at 4:25 PM, Thomas De Schampheleire <
patrickdepinguin at gmail.com> wrote:

> Hi Cem,
>
> On Tue, May 20, 2014 at 3:29 PM, cem akpolat <akpolatcem at gmail.com> wrote:
> > Hi Thomas,
> >
> > the line starting wirh @@@@
> >
> >
> > akpolat at akpolatX240:~/mysvn/buildroot$ make
> > package/Makefile.in:211: @@@@@@@ TARGET_CPP
> >
> value='/home/akpolat/mysvn/buildroot/output/host/usr/bin/i586-buildroot-linux-uclibc-cpp'
> > origin='file'
>
> Well this looks normal too. I'm puzzled about the cause of your original
> error.
>
> >
> >
> > You may have to install 'g++' on your build machine
>
> This message gives the explanation for the host-m4 error: you do not
> have g++ on your machine.
> The config.log file says:
>
> configure:5351: checking how to run the C preprocessor
> configure:5421: result: cpp
> configure:5441: cpp
> -I/home/akpolat/mysvn/buildroot/output/host/usr/include conftest.c
> ./configure: line 2631: cpp: command not found
> configure:5441: $? = 127
>
> So the host toolchain is not present, and this is needed to build the
> target toolchain.
>
> However, in a previous run it seemed you already had the target
> toolchain, so I wonder how you achieved this.
>
> Best regards,
> Thomas
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140520/291a689f/attachment.html>


More information about the buildroot mailing list