public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS]: "recipe for target `arm.inc' failed" while building library
@ 2013-01-23 17:08 Bob Brusa
  2013-01-23 17:28 ` [ECOS] Re: : " John Dallaway
  0 siblings, 1 reply; 3+ messages in thread
From: Bob Brusa @ 2013-01-23 17:08 UTC (permalink / raw)
  To: ecos discuss

  Hi,
when building a library, I get the following output:

...cut
make[1]: Leaving directory 
`/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build/services/crc/current'
headers finished
make -r -C hal/arm/arch/current arm.inc
make[1]: Entering directory 
`/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build/hal/arm/arch/current'
arm-none-eabi-gcc -finline-limit=7000 -Os -Wall -Wpointer-arith 
-Wstrict-prototypes -Wundef  -Wno-write-strings -mcpu=arm7tdmi -g 
-ffunction-sections -fdata-sections  -fno-exceptions 
-mno-thumb-interwork 
-I/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_install/include 
-I/opt/ecos/packages/hal/arm/arch/current 
-I/opt/ecos/packages/hal/arm/arch/current/src 
-I/opt/ecos/packages/hal/arm/arch/current/tests -I. -Wp,-MD,arm.tmp -o 
hal_mk_defs.tmp -S /opt/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c
makefile:37: recipe for target `arm.inc' failed
arm-none-eabi-gcc.exe: error: 
/opt/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c: No error
make[1]: Leaving directory 
`/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build/hal/arm/arch/current'
arm-none-eabi-gcc.exe: fatal error: no input files
makefile:15: recipe for target `build' failed
compilation terminated.
make: Leaving directory `/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build'
make[1]: *** [arm.inc] Error 1
make: *** [build] Error 2

This is when using the codesourcery lite 4.7.1 and eCos Configuration 
Tool3.net. When building the library using the toolchain that came with 
eCos3.0, it works.
Thanks for help - Bob

-- 
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] 3+ messages in thread

* [ECOS] Re: : "recipe for target `arm.inc' failed" while building library
  2013-01-23 17:08 [ECOS]: "recipe for target `arm.inc' failed" while building library Bob Brusa
@ 2013-01-23 17:28 ` John Dallaway
  2013-01-23 18:20   ` Bob Brusa
  0 siblings, 1 reply; 3+ messages in thread
From: John Dallaway @ 2013-01-23 17:28 UTC (permalink / raw)
  To: Bob Brusa; +Cc: eCos Discussion

Hi Bob

On 23/01/13 17:08, Bob Brusa wrote:

> makefile:37: recipe for target `arm.inc' failed
> arm-none-eabi-gcc.exe: error:
> /opt/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c: No error
> make[1]: Leaving directory
> `/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build/hal/arm/arch/current'
> arm-none-eabi-gcc.exe: fatal error: no input files
> makefile:15: recipe for target `build' failed
> compilation terminated.
> make: Leaving directory `/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build'
> make[1]: *** [arm.inc] Error 1
> make: *** [build] Error 2
> 
> This is when using the codesourcery lite 4.7.1 and eCos Configuration
> Tool3.net. When building the library using the toolchain that came with
> eCos3.0, it works.
> Thanks for help - Bob

The Sourcery build of the arm-none-eabi toolchain is a native Windows
build (not using Cygwin). It is likely that one of the POSIX-style file
paths used by the eCos build system is not being recognized.

I hope this helps...

John Dallaway
eCos maintainer
http://www.dallaway.org.uk/john

-- 
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] 3+ messages in thread

* [ECOS] Re: : "recipe for target `arm.inc' failed" while building library
  2013-01-23 17:28 ` [ECOS] Re: : " John Dallaway
@ 2013-01-23 18:20   ` Bob Brusa
  0 siblings, 0 replies; 3+ messages in thread
From: Bob Brusa @ 2013-01-23 18:20 UTC (permalink / raw)
  Cc: eCos Discussion

Am 23.01.2013 18:28, schrieb John Dallaway:
> Hi Bob
>
> On 23/01/13 17:08, Bob Brusa wrote:
>
>> makefile:37: recipe for target `arm.inc' failed
>> arm-none-eabi-gcc.exe: error:
>> /opt/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c: No error
>> make[1]: Leaving directory
>> `/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build/hal/arm/arch/current'
>> arm-none-eabi-gcc.exe: fatal error: no input files
>> makefile:15: recipe for target `build' failed
>> compilation terminated.
>> make: Leaving directory `/cygdrive/c/Projekte/TDSsw/libs/tds_lib_17_build'
>> make[1]: *** [arm.inc] Error 1
>> make: *** [build] Error 2
>>
>> This is when using the codesourcery lite 4.7.1 and eCos Configuration
>> Tool3.net. When building the library using the toolchain that came with
>> eCos3.0, it works.
>> Thanks for help - Bob
>
> The Sourcery build of the arm-none-eabi toolchain is a native Windows
> build (not using Cygwin). It is likely that one of the POSIX-style file
> paths used by the eCos build system is not being recognized.
>
> I hope this helps...
>
> John Dallaway
> eCos maintainer
> http://www.dallaway.org.uk/john
>
Hi John,
Unfortunately it did not help. When deleting c:\cygwin\bin from my PATH, 
the configtool produces a "can not find cygwin1.dll"-error. The 
config-tool has an entry Tools>Path>usertools where I specified the 
cygwin-path. Obviously this is not enough.....

The funny thing is: I once succeeded in building a lib with this 
cs-lite-toolchain - but later I always just got build errors and no lib. 
No idea how I did this earlier. Do you have any further advice?
Thanks and regards - Bob

-- 
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] 3+ messages in thread

end of thread, other threads:[~2013-01-23 18:20 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-23 17:08 [ECOS]: "recipe for target `arm.inc' failed" while building library Bob Brusa
2013-01-23 17:28 ` [ECOS] Re: : " John Dallaway
2013-01-23 18:20   ` Bob Brusa

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).