post-build step fails [message #158450] |
Fri, 18 November 2005 20:03 |
Eclipse User |
|
|
|
Originally posted by: alipowsky.lipowsky.de
eclipse 3.1.1 and cdt 3.0.1 (3.0.0 shows same behaviour)
I have a project, which compiles without error.
As soon as i define a post-build step, i get a strange error.
The error in independant of what i define for the post-build step.
(e.g. postbuild.bat, which should dump something to the console)
The last few lines of my console output are:
'Finished building target: MOD2992-01.elf'
' '
make --no-print-directory post-build
src/eeprom.d:1: *** missing separator. Stop.
make: *** [MOD2992-01.elf] Error 2
make: Target `all' not remade because of errors.
Build complete for project MOD2992-01
Can anybody help ?
Andreas
|
|
|
|
Re: post-build step fails [message #163415 is a reply to message #159982] |
Wed, 08 February 2006 08:14 |
Eclipse User |
|
|
|
Originally posted by: oliver.lipowsky.de
Henning wrote:
> Hi,
>
> I have the same problem. Did you already solve it?
>
The problem was an errornous build dependency file. For some reason, the
makefile subdir.mk got make 3.80 to produce a line break and some white
spaces at the wrong place. If you prevent the class
DefaultGCCDependencyCalculator from producing these annoyances, the
subdir.mk files will be parseable again. Simply comment out the lines
98,99,104, 105,107,108,111 so that it produces
echo $(@:%.o=%.d) $(dir $@) && arm-elf-gcc ...
instead of
echo $(@:%.o=%.d) $(dir $@) > $(@:%.o=%.d) && \
Hope that helps
Oliver
|
|
|
|
Powered by
FUDForum. Page generated in 0.03405 seconds