This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Building for freescale_twr_k60n512 failing under Cygwin
- From: Michael Bergandi <mbergandi at gmail dot com>
- To: Sergei Gavrikov <sergei dot gavrikov at gmail dot com>
- Cc: eCos Discuss List <ecos-discuss at ecos dot sourceware dot org>
- Date: Tue, 21 Feb 2012 11:32:37 -0500
- Subject: Re: [ECOS] Building for freescale_twr_k60n512 failing under Cygwin
- Authentication-results: mr.google.com; spf=pass (google.com: domain of mbergandi@gmail.com designates 10.182.38.7 as permitted sender) smtp.mail=mbergandi@gmail.com; dkim=pass header.i=mbergandi@gmail.com
- References: <CAOHvnTO73Lae_2UBpLQE6SMAvB473XFNb0LQWQ=ED9fgu5kjPQ@mail.gmail.com> <alpine.DEB.2.00.1202211032100.9362@sg-pc.belvok.com>
>> makefile:43: recipe for target `heapgeninc.tcl' failed
>
> services/memalloc/common/current/cdl/memalloc.cdl:274
>
> ?make -priority 50 {
> ? ? ?heapgeninc.tcl : <PACKAGE>/src/heapgen.cpp
> ? ? ?$(CC) $(ACTUAL_CXXFLAGS) $(INCLUDE_PATH) -Wp,-MD,heapgen.tmp -E $< -o $@
> ? ? ?@sed -e '/^ *\\/d' -e "s#.*: #$@: #" heapgen.tmp > $(notdir $@).deps
> ? ? ?@rm heapgen.tmp
> ?}
>
> Just a guess, may be that is `sed' issue? Try this make rule in a
> terminal. Or ?temporary remove silence sign '@' for sed in cdl.
Thanks Sergei. Sed was actually working fine.
I think there was a combination of problems. I think John was on the
right track about missing packages. Before I saw John's reply, I went
back and checked that I had all of the requisite packages. I saw that
I was actually missing patch and sharutils. Oddly, I have been
building the eCos 2 tree for years without them. However, I installed
patch and sharutils and the build still failed, which is why I
reported that I had all of them installed. What I failed to notice is
that the build failed in different way.... it couldn't find
arm-eabi-gcc.
Not finding gcc was a botch on my part. I used a relative path to my
tool chain. Now, it builds fine.
--
Mike
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss