All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] buildroot ncurses build problem
       [not found] <1425693603.1137500.1330438475530.JavaMail.root@zimbra22-e3.priv.proxad.net>
@ 2012-02-28 14:29 ` snarf77 at free.fr
  2012-02-28 14:43   ` Thomas De Schampheleire
  0 siblings, 1 reply; 7+ messages in thread
From: snarf77 at free.fr @ 2012-02-28 14:29 UTC (permalink / raw)
  To: buildroot

Hi all,

this my first post on this list so first of all hello to everybody.

My wish is to create a real time kernel and a minimal rootfs for a atmel at91sam0g20ek eval board. Until now I did it the old way manually but I wanted to give a try to buildroot ti automate all the stuff.

I downloaded buildroot and configure menuconfig simply with architecture = arm and target = arm926t and my first "make" was successful and the image is working fine. Good job guys !!

But then each time I want to add a new package that depends on ncurses (in my case "nano" editor but this failed also even by simply selecting ncurses) I have my build failed in the ncurses directory with the following error:

snarf77 at buildrootVM:~/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++$ make
cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/include -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include  -c ../c++/cursesf.cc
/bin/sh: -I../c++: not found
make: *** [../objects/cursesf.o] Error 127


I'm runnning ubuntu 10.10 32bits and have installed libncurses5.7 if this matters.

I have tried with buildroot 2011.11 and same issue so I guess it come either from my environment (ubuntu package missing ?) or from make option or buildroot configuration selection ???

Many thanks in advance for your help as I'm stuck there..

Snarf

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot ncurses build problem
  2012-02-28 14:29 ` [Buildroot] buildroot ncurses build problem snarf77 at free.fr
@ 2012-02-28 14:43   ` Thomas De Schampheleire
       [not found]     ` <749894859.1231630.1330441934340.JavaMail.root@zimbra22-e3.priv.proxad.net>
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas De Schampheleire @ 2012-02-28 14:43 UTC (permalink / raw)
  To: buildroot

Hi,

On Tue, Feb 28, 2012 at 3:29 PM,  <snarf77@free.fr> wrote:
> Hi all,
>
> this my first post on this list so first of all hello to everybody.
>
> My wish is to create a real time kernel and a minimal rootfs for a atmel at91sam0g20ek eval board. Until now I did it the old way manually but I wanted to give a try to buildroot ti automate all the stuff.
>
> I downloaded buildroot and configure menuconfig simply with architecture = arm and target = arm926t and my first "make" was successful and the image is working fine. Good job guys !!
>
> But then each time I want to add a new package that depends on ncurses (in my case "nano" editor but this failed also even by simply selecting ncurses) I have my build failed in the ncurses directory with the following error:
>
> snarf77 at buildrootVM:~/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++$ make
> cd ../objects; ? -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include ?-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 ?-DNDEBUG -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/include -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include ?-c ../c++/cursesf.cc
> /bin/sh: -I../c++: not found
> make: *** [../objects/cursesf.o] Error 127

Here you are running make from a build directory directly. This is not
supported.
You should run 'make' from the top-level buildroot directory, i.e.
~/Downloads/buildroot-2012.02-rc3

Do you have the same problem then?

>
>
> I'm runnning ubuntu 10.10 32bits and have installed libncurses5.7 if this matters.
>
> I have tried with buildroot 2011.11 and same issue so I guess it come either from my environment (ubuntu package missing ?) or from make option or buildroot configuration selection ???
>
> Many thanks in advance for your help as I'm stuck there..

Best regards,
Thomas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot ncurses build problem
       [not found]     ` <749894859.1231630.1330441934340.JavaMail.root@zimbra22-e3.priv.proxad.net>
@ 2012-02-28 15:32       ` Thomas De Schampheleire
  2012-02-28 17:40         ` snarf77 at free.fr
  2012-02-28 22:48         ` Arnout Vandecappelle
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas De Schampheleire @ 2012-02-28 15:32 UTC (permalink / raw)
  To: buildroot

(Please send replies to the mailing list, and please don't top-post)

On Tue, Feb 28, 2012 at 4:12 PM,  <snarf77@free.fr> wrote:
> Thanks for answer Thomas,
>
> Of course I have started to compiled from my top level directory and the conclusion was the same. That's why I decided to do the make directly in ncurses as the result was immediate rather than re doing the full compile in order to trouble shoot. I promise I will avoid that in the future.
>
> Anyway the result is the same:
>> /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).

Can you check the value of CXX in output/build/host-ncurses-5.7/c++/Makefile ?

Do you have something specific set in your environment?

>
>
> I will attached the real log as soon as my machine will finish its current build but I'm 99% sure the error was the same.
>

Thanks,
Thomas



> ----- Mail original -----
> De: "Thomas De Schampheleire" <patrickdepinguin+buildroot@gmail.com>
> ?: snarf77 at free.fr
> Cc: buildroot at busybox.net
> Envoy?: Mardi 28 F?vrier 2012 15:43:29
> Objet: Re: [Buildroot] buildroot ncurses build problem
>
> Hi,
>
> On Tue, Feb 28, 2012 at 3:29 PM, ?<snarf77@free.fr> wrote:
>> Hi all,
>>
>> this my first post on this list so first of all hello to everybody.
>>
>> My wish is to create a real time kernel and a minimal rootfs for a atmel at91sam0g20ek eval board. Until now I did it the old way manually but I wanted to give a try to buildroot ti automate all the stuff.
>>
>> I downloaded buildroot and configure menuconfig simply with architecture = arm and target = arm926t and my first "make" was successful and the image is working fine. Good job guys !!
>>
>> But then each time I want to add a new package that depends on ncurses (in my case "nano" editor but this failed also even by simply selecting ncurses) I have my build failed in the ncurses directory with the following error:
>>
>> snarf77 at buildrootVM:~/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++$ make
>> cd ../objects; ? -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include ?-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 ?-DNDEBUG -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/include -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include ?-c ../c++/cursesf.cc
>> /bin/sh: -I../c++: not found
>> make: *** [../objects/cursesf.o] Error 127
>
> Here you are running make from a build directory directly. This is not
> supported.
> You should run 'make' from the top-level buildroot directory, i.e.
> ~/Downloads/buildroot-2012.02-rc3
>
> Do you have the same problem then?
>
>>
>>
>> I'm runnning ubuntu 10.10 32bits and have installed libncurses5.7 if this matters.
>>
>> I have tried with buildroot 2011.11 and same issue so I guess it come either from my environment (ubuntu package missing ?) or from make option or buildroot configuration selection ???
>>
>> Many thanks in advance for your help as I'm stuck there..
>
> Best regards,
> Thomas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot ncurses build problem
  2012-02-28 15:32       ` Thomas De Schampheleire
@ 2012-02-28 17:40         ` snarf77 at free.fr
  2012-02-28 19:54           ` Thomas De Schampheleire
  2012-02-28 22:48         ` Arnout Vandecappelle
  1 sibling, 1 reply; 7+ messages in thread
From: snarf77 at free.fr @ 2012-02-28 17:40 UTC (permalink / raw)
  To: buildroot

Thanks for your help Thomas,

will try to improve the e mail form !!


On Tue, Feb 28, 2012 at 4:12 PM,  <snarf77@free.fr> wrote:
> Thanks for answer Thomas,
>
> Of course I have started to compiled from my top level directory and the conclusion was the same. That's why I decided to do the make directly in ncurses as the result was immediate rather than re doing the full compile in order to trouble shoot. I promise I will avoid that in the future.
>
> Anyway the result is the same:
>> /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).

Can you check the value of CXX in output/build/host-ncurses-5.7/c++/Makefile ?

>>> You're probably pointing the right direction, both CXX and CPP were empty. When are they normally populated ?
>>> I did a fresh install on a virtual machine and the build works in the same conditions. Parameters of CXX and CPP are respectively /usr/bin/g++ and /usr/bin/g++ -E


>>> as promised, my intial log after a failed buid from top level:

>>>installing vt300
>>>make[2]: Leaving directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/misc'
>>>cd c++ && /usr/bin/make DESTDIR="" install
>>>make[2]: Entering directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
>>>cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses -I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/include -I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include  -c ../c++/cursesf.cc
>>>cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG -I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses -I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/include -I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include  -c ../c++/cursesm.cc
>>>/bin/sh: -I../c++: not found
>>>make[2]: *** [../objects/cursesf.o] Error 127
>>>make[2]: *** Waiting for unfinished jobs....
>>>/bin/sh: -I../c++: not found
>>>make[2]: *** [../objects/cursesm.o] Error 127
>>>make[2]: Leaving directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
>>>make[1]: *** [install] Error 2
>>>make[1]: Leaving directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7'
>>>make: *** [/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/.stamp_host_installed] Error 2


>>> after exporting manullay CXX and CPP, I'm one step further but still not passed, as shown in the following log:
>>>
>>>installing vt300
>>>make[2]: Leaving directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/misc'
>>>cd c++ && /usr/bin/make DESTDIR="" install
>>>make[2]: Entering directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
>>>../lib/libncurses++.a ../objects/cursesf.o ../objects/cursesm.o ../objects/cursesw.o ../objects/cursespad.o ../objects/cursesp.o ../objects/cursslk.o ../objects/cursesapp.o ../objects/cursesmain.o
>>>make[2]: ../lib/libncurses++.a: Command not found
>>>make[2]: *** [../lib/libncurses++.a] Error 127
>>>make[2]: Leaving directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
>>>make[1]: *** [install] Error 2
>>>make[1]: Leaving directory `/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7'
>>>make: *** [/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/.stamp_host_installed] Error 2


>>> Remaining questions are: what could be the root cause for those variable not being automatically set ?
>>> What could be the reason for  ../lib/libncurses++.a: Command not found


Do you have something specific set in your environment?

>>> no, I only used $ARCH and $CROSS_COMPILE before but they were unset


>
>
> I will attached the real log as soon as my machine will finish its current build but I'm 99% sure the error was the same.
>




Thanks,
Thomas



> ----- Mail original -----
> De: "Thomas De Schampheleire" <patrickdepinguin+buildroot@gmail.com>
> ?: snarf77 at free.fr
> Cc: buildroot at busybox.net
> Envoy?: Mardi 28 F?vrier 2012 15:43:29
> Objet: Re: [Buildroot] buildroot ncurses build problem
>
> Hi,
>
> On Tue, Feb 28, 2012 at 3:29 PM, ?<snarf77@free.fr> wrote:
>> Hi all,
>>
>> this my first post on this list so first of all hello to everybody.
>>
>> My wish is to create a real time kernel and a minimal rootfs for a atmel at91sam0g20ek eval board. Until now I did it the old way manually but I wanted to give a try to buildroot ti automate all the stuff.
>>
>> I downloaded buildroot and configure menuconfig simply with architecture = arm and target = arm926t and my first "make" was successful and the image is working fine. Good job guys !!
>>
>> But then each time I want to add a new package that depends on ncurses (in my case "nano" editor but this failed also even by simply selecting ncurses) I have my build failed in the ncurses directory with the following error:
>>
>> snarf77 at buildrootVM:~/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++$ make
>> cd ../objects; ? -I../c++ -I../include -I. -DHAVE_CONFIG_H -I. -I../include ?-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 ?-DNDEBUG -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/include -I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include ?-c ../c++/cursesf.cc
>> /bin/sh: -I../c++: not found
>> make: *** [../objects/cursesf.o] Error 127
>
> Here you are running make from a build directory directly. This is not
> supported.
> You should run 'make' from the top-level buildroot directory, i.e.
> ~/Downloads/buildroot-2012.02-rc3
>
> Do you have the same problem then?
>
>>
>>
>> I'm runnning ubuntu 10.10 32bits and have installed libncurses5.7 if this matters.
>>
>> I have tried with buildroot 2011.11 and same issue so I guess it come either from my environment (ubuntu package missing ?) or from make option or buildroot configuration selection ???
>>
>> Many thanks in advance for your help as I'm stuck there..
>
> Best regards,
> Thomas

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot ncurses build problem
  2012-02-28 17:40         ` snarf77 at free.fr
@ 2012-02-28 19:54           ` Thomas De Schampheleire
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas De Schampheleire @ 2012-02-28 19:54 UTC (permalink / raw)
  To: buildroot

Op 28 feb. 2012 18:40 schreef <snarf77@free.fr> het volgende:
>
> Thanks for your help Thomas,
>
> will try to improve the e mail form !!
>
>
> On Tue, Feb 28, 2012 at 4:12 PM,  <snarf77@free.fr> wrote:
> > Thanks for answer Thomas,
> >
> > Of course I have started to compiled from my top level directory and
the conclusion was the same. That's why I decided to do the make directly
in ncurses as the result was immediate rather than re doing the full
compile in order to trouble shoot. I promise I will avoid that in the
future.
> >
> > Anyway the result is the same:
> >> /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).
>
> Can you check the value of CXX in
output/build/host-ncurses-5.7/c++/Makefile ?
>
> >>> You're probably pointing the right direction, both CXX and CPP were
empty. When are they normally populated ?

Normally these should be set by the configure script I think. In the build
directory there are some config.* files, can you check whether there is any
clue in there?

> >>> I did a fresh install on a virtual machine and the build works in the
same conditions. Parameters of CXX and CPP are respectively /usr/bin/g++
and /usr/bin/g++ -E
>
>
> >>> as promised, my intial log after a failed buid from top level:
>
> >>>installing vt300
> >>>make[2]: Leaving directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/misc'
> >>>cd c++ && /usr/bin/make DESTDIR="" install
> >>>make[2]: Entering directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
> >>>cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
-I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG
-I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses
-I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/include
-I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include  -c
../c++/cursesf.cc
> >>>cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
-I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG
-I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses
-I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/include
-I/home/fll/Downloads/buildroot-2012.02-rc3/output/host/usr/include  -c
../c++/cursesm.cc
> >>>/bin/sh: -I../c++: not found
> >>>make[2]: *** [../objects/cursesf.o] Error 127
> >>>make[2]: *** Waiting for unfinished jobs....
> >>>/bin/sh: -I../c++: not found
> >>>make[2]: *** [../objects/cursesm.o] Error 127
> >>>make[2]: Leaving directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
> >>>make[1]: *** [install] Error 2
> >>>make[1]: Leaving directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7'
> >>>make: ***
[/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/.stamp_host_installed]
Error 2
>
>
> >>> after exporting manullay CXX and CPP, I'm one step further but still
not passed, as shown in the following log:
> >>>
> >>>installing vt300
> >>>make[2]: Leaving directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/misc'
> >>>cd c++ && /usr/bin/make DESTDIR="" install
> >>>make[2]: Entering directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
> >>>../lib/libncurses++.a ../objects/cursesf.o ../objects/cursesm.o
../objects/cursesw.o ../objects/cursespad.o ../objects/cursesp.o
../objects/cursslk.o ../objects/cursesapp.o ../objects/cursesmain.o
> >>>make[2]: ../lib/libncurses++.a: Command not found
> >>>make[2]: *** [../lib/libncurses++.a] Error 127
> >>>make[2]: Leaving directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++'
> >>>make[1]: *** [install] Error 2
> >>>make[1]: Leaving directory
`/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7'
> >>>make: ***
[/home/fll/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/.stamp_host_installed]
Error 2
>
>
> >>> Remaining questions are: what could be the root cause for those
variable not being automatically set ?
> >>> What could be the reason for  ../lib/libncurses++.a: Command not found

This looks like the same basic problem where a tool variable is not
properly filled in.
In guess once the first problem is found, this one will be solved as well.

>
>
> Do you have something specific set in your environment?
>
> >>> no, I only used $ARCH and $CROSS_COMPILE before but they were unset

Best regards,
Thomas

> > ----- Mail original -----
> > De: "Thomas De Schampheleire" <patrickdepinguin+buildroot@gmail.com>
> > ?: snarf77 at free.fr
> > Cc: buildroot at busybox.net
> > Envoy?: Mardi 28 F?vrier 2012 15:43:29
> > Objet: Re: [Buildroot] buildroot ncurses build problem
> >
> > Hi,
> >
> > On Tue, Feb 28, 2012 at 3:29 PM,  <snarf77@free.fr> wrote:
> >> Hi all,
> >>
> >> this my first post on this list so first of all hello to everybody.
> >>
> >> My wish is to create a real time kernel and a minimal rootfs for a
atmel at91sam0g20ek eval board. Until now I did it the old way manually but
I wanted to give a try to buildroot ti automate all the stuff.
> >>
> >> I downloaded buildroot and configure menuconfig simply with
architecture = arm and target = arm926t and my first "make" was successful
and the image is working fine. Good job guys !!
> >>
> >> But then each time I want to add a new package that depends on ncurses
(in my case "nano" editor but this failed also even by simply selecting
ncurses) I have my build failed in the ncurses directory with the following
error:
> >>
> >> snarf77 at buildrootVM:~/Downloads/buildroot-2012.02-rc3/output/build/host-ncurses-5.7/c++$
make
> >> cd ../objects;   -I../c++ -I../include -I. -DHAVE_CONFIG_H -I.
-I../include  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -DNDEBUG
-I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include/ncurses
-I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/include
-I/home/snarf77/Downloads/buildroot-2012.02-rc3/output/host/usr/include  -c
../c++/cursesf.cc
> >> /bin/sh: -I../c++: not found
> >> make: *** [../objects/cursesf.o] Error 127
> >
> > Here you are running make from a build directory directly. This is not
> > supported.
> > You should run 'make' from the top-level buildroot directory, i.e.
> > ~/Downloads/buildroot-2012.02-rc3
> >
> > Do you have the same problem then?
> >
> >>
> >>
> >> I'm runnning ubuntu 10.10 32bits and have installed libncurses5.7 if
this matters.
> >>
> >> I have tried with buildroot 2011.11 and same issue so I guess it come
either from my environment (ubuntu package missing ?) or from make option
or buildroot configuration selection ???
> >>
> >> Many thanks in advance for your help as I'm stuck there..
> >
> > Best regards,
> > Thomas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120228/90b141a6/attachment-0001.html>

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot ncurses build problem
  2012-02-28 15:32       ` Thomas De Schampheleire
  2012-02-28 17:40         ` snarf77 at free.fr
@ 2012-02-28 22:48         ` Arnout Vandecappelle
  2012-02-28 22:51           ` Thomas Petazzoni
  1 sibling, 1 reply; 7+ messages in thread
From: Arnout Vandecappelle @ 2012-02-28 22:48 UTC (permalink / raw)
  To: buildroot

On Tuesday 28 February 2012 15:32:34 Thomas De Schampheleire wrote:
> On Tue, Feb 28, 2012 at 4:12 PM,  <snarf77@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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Buildroot] buildroot ncurses build problem
  2012-02-28 22:48         ` Arnout Vandecappelle
@ 2012-02-28 22:51           ` Thomas Petazzoni
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Petazzoni @ 2012-02-28 22:51 UTC (permalink / raw)
  To: buildroot

Le Tue, 28 Feb 2012 22:48:14 +0000,
Arnout Vandecappelle <arnout@mind.be> a ?crit :

>  By the way, you do have /usr/bin/g++ installed I hope?

This is checked by toolchain/dependencies/dependencies.sh, and
Buildroot doesn't start the build if g++ is not found, so I guess
'snarf' (sic) has g++ installed.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-02-28 22:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1425693603.1137500.1330438475530.JavaMail.root@zimbra22-e3.priv.proxad.net>
2012-02-28 14:29 ` [Buildroot] buildroot ncurses build problem snarf77 at free.fr
2012-02-28 14:43   ` Thomas De Schampheleire
     [not found]     ` <749894859.1231630.1330441934340.JavaMail.root@zimbra22-e3.priv.proxad.net>
2012-02-28 15:32       ` Thomas De Schampheleire
2012-02-28 17:40         ` snarf77 at free.fr
2012-02-28 19:54           ` Thomas De Schampheleire
2012-02-28 22:48         ` Arnout Vandecappelle
2012-02-28 22:51           ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.