* [ECOS] unable to build linux synthetic target
@ 2009-07-20 11:42 Mandeep Sandhu
2009-07-20 11:51 ` [ECOS] " Mandeep Sandhu
0 siblings, 1 reply; 5+ messages in thread
From: Mandeep Sandhu @ 2009-07-20 11:42 UTC (permalink / raw)
To: ecos-discuss
Hi All,
I'm trying to build the linux synthetic target with the lwip_eth config using
the GUI tool.
I get the following error:
sh -c "export PATH=/home/mandeep/ecos/gnutools/arm-eabi/arm-eabi/bin:$PATH;
unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export
ECOS_REPOSITORY=/home/mandeep/ecos/ecos-3.0/packages; make -j2
--directory /home/mandeep/ecos/linux-synth/linux-synth_build"
make: Entering directory `/home/mandeep/ecos/linux-synth/linux-synth_build'
make -r -C hal/synth/arch/v3_0 headers
make[1]: Entering directory
`/home/mandeep/ecos/linux-synth/linux-synth_build/hal/synth/arch/v3_0'
make[1]: Nothing to be done for `headers'.
...
...
make[1]: Nothing to be done for `headers'.
make[1]: Leaving directory
`/home/mandeep/ecos/linux-synth/linux-synth_build/io/common/v3_0'
make -r -C infra/v3_0 headers
make[1]: Entering directory
`/home/mandeep/ecos/linux-synth/linux-synth_build/infra/v3_0'
gcc: error trying to exec 'cc1plus': execvp: No such file or directory
make[1]: Nothing to be done for `headers'.
make[1]: *** [heapgeninc.tcl] Error 1
make[1]: Leaving directory
`/home/mandeep/ecos/linux-synth/linux-synth_build/infra/v3_0'
make: *** [build] Error 2
make -r -C kernel/v3_0 headers
Initially it was because I did not have g++.
But even after installing g++ (using apt on ubuntu), it's giving me
the same error.
Is the exported PATH variable also ok? I guess it should be, as we are
keeping the existing
PATH variable.
Thanks,
-mandeep
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ECOS] Re: unable to build linux synthetic target
2009-07-20 11:42 [ECOS] unable to build linux synthetic target Mandeep Sandhu
@ 2009-07-20 11:51 ` Mandeep Sandhu
2009-07-20 13:00 ` Ross Younger
2009-07-20 17:06 ` John Dallaway
0 siblings, 2 replies; 5+ messages in thread
From: Mandeep Sandhu @ 2009-07-20 11:51 UTC (permalink / raw)
To: ecos-discuss
Got it to work! :)
Went into the build dir and did:
$make
$make tests
Why doesn't it work from the GUI tool?
-mandeep
On Mon, Jul 20, 2009 at 5:12 PM, Mandeep
Sandhu<mandeepsandhu.chd@gmail.com> wrote:
> Hi All,
>
> I'm trying to build the linux synthetic target with the lwip_eth config using
> the GUI tool.
>
> I get the following error:
>
> sh -c "export PATH=/home/mandeep/ecos/gnutools/arm-eabi/arm-eabi/bin:$PATH;
> unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export
> ECOS_REPOSITORY=/home/mandeep/ecos/ecos-3.0/packages; make -j2
> --directory /home/mandeep/ecos/linux-synth/linux-synth_build"
>
> make: Entering directory `/home/mandeep/ecos/linux-synth/linux-synth_build'
> make -r -C hal/synth/arch/v3_0 headers
> make[1]: Entering directory
> `/home/mandeep/ecos/linux-synth/linux-synth_build/hal/synth/arch/v3_0'
> make[1]: Nothing to be done for `headers'.
> ...
> ...
> make[1]: Nothing to be done for `headers'.
> make[1]: Leaving directory
> `/home/mandeep/ecos/linux-synth/linux-synth_build/io/common/v3_0'
> make -r -C infra/v3_0 headers
> make[1]: Entering directory
> `/home/mandeep/ecos/linux-synth/linux-synth_build/infra/v3_0'
> gcc: error trying to exec 'cc1plus': execvp: No such file or directory
> make[1]: Nothing to be done for `headers'.
> make[1]: *** [heapgeninc.tcl] Error 1
> make[1]: Leaving directory
> `/home/mandeep/ecos/linux-synth/linux-synth_build/infra/v3_0'
> make: *** [build] Error 2
> make -r -C kernel/v3_0 headers
>
> Initially it was because I did not have g++.
>
> But even after installing g++ (using apt on ubuntu), it's giving me
> the same error.
>
> Is the exported PATH variable also ok? I guess it should be, as we are
> keeping the existing
> PATH variable.
>
> Thanks,
> -mandeep
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [ECOS] Re: unable to build linux synthetic target
2009-07-20 11:51 ` [ECOS] " Mandeep Sandhu
@ 2009-07-20 13:00 ` Ross Younger
2009-07-20 17:06 ` John Dallaway
1 sibling, 0 replies; 5+ messages in thread
From: Ross Younger @ 2009-07-20 13:00 UTC (permalink / raw)
To: ecos-discuss
Mandeep Sandhu wrote:
> [synth build]
> Why doesn't it work from the GUI tool?
Doesn't work for me either. Looks like configtool is setting up the wrong
PATH for a synth build:
>> sh -c "export PATH=/home/mandeep/ecos/gnutools/arm-eabi/arm-eabi/bin:$PATH;
>> unset GDBTK_LIBRARY; unset GCC_EXEC_PREFIX; export
>> ECOS_REPOSITORY=/home/mandeep/ecos/ecos-3.0/packages; make -j2
>> --directory /home/mandeep/ecos/linux-synth/linux-synth_build"
arm-eabi?? It does that for me as well. Experimentally, it seems that that
PATH setting is the problem; but does the configtool even need to edit the
PATH for a synth build if the compiler prefix is empty?
Ross
--
Embedded Software Engineer, eCosCentric Limited.
Barnwell House, Barnwell Drive, Cambridge CB5 8UU, UK.
Registered in England no. 4422071. www.ecoscentric.com
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ECOS] Re: unable to build linux synthetic target
2009-07-20 11:51 ` [ECOS] " Mandeep Sandhu
2009-07-20 13:00 ` Ross Younger
@ 2009-07-20 17:06 ` John Dallaway
2009-07-21 7:58 ` Mandeep Sandhu
1 sibling, 1 reply; 5+ messages in thread
From: John Dallaway @ 2009-07-20 17:06 UTC (permalink / raw)
To: Mandeep Sandhu; +Cc: ecos-discuss
Hi Mandeep
Mandeep Sandhu wrote:
> Got it to work! :)
>
> Went into the build dir and did:
>
> $make
> $make tests
>
> Why doesn't it work from the GUI tool?
Just set the PATH to native gcc (typically "/usr/bin") using the
Tools->Paths->Build Tools... menu item.
John Dallaway
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
* [ECOS] Re: unable to build linux synthetic target
2009-07-20 17:06 ` John Dallaway
@ 2009-07-21 7:58 ` Mandeep Sandhu
0 siblings, 0 replies; 5+ messages in thread
From: Mandeep Sandhu @ 2009-07-21 7:58 UTC (permalink / raw)
To: John Dallaway; +Cc: ecos-discuss
>
> Just set the PATH to native gcc (typically "/usr/bin") using the
> Tools->Paths->Build Tools... menu item.
Yes. this did the trick!
Thanks,
-mandeep
>
> John Dallaway
>
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-07-21 7:58 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-20 11:42 [ECOS] unable to build linux synthetic target Mandeep Sandhu
2009-07-20 11:51 ` [ECOS] " Mandeep Sandhu
2009-07-20 13:00 ` Ross Younger
2009-07-20 17:06 ` John Dallaway
2009-07-21 7:58 ` Mandeep Sandhu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).