Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » post-build step fails
post-build step fails [message #158450] Fri, 18 November 2005 20:03 Go to next message
Eclipse UserFriend
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 #159982 is a reply to message #158450] Tue, 06 December 2005 19:29 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: email.henningsievert.de

Hi,

I have the same problem. Did you already solve it?
Re: post-build step fails [message #163415 is a reply to message #159982] Wed, 08 February 2006 08:14 Go to previous messageGo to next message
Eclipse UserFriend
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
icon8.gif  Re: post-build step fails [message #514434 is a reply to message #163415] Mon, 15 February 2010 10:36 Go to previous message
Robert Brusa is currently offline Robert BrusaFriend
Messages: 55
Registered: July 2009
Member
Hi
Years later I run in the very same problem. I am using eclipse Galileo on a windows XP PC with cygwin installed. The toolchain is arm-eabi_q4.08 from codesourcery that came with eCos-3.0.

Very similar to your case, I get the following error-message:
..cut...
Finished building target: serial_1.elf

make --no-print-directory post-build
serial_1.d:1: *** multiple target patterns. Stop.
make: *** [serial_1.elf] Error 2


I read your "solution" several times, but do not understand! My eclipse Galileo is a prebuilt version, downloaded from the net, so I see nowhere lines that I can delete?????
Regards Robert
Previous Topic:CDT hover over capability
Next Topic:unable to get eclipse to work with cdt
Goto Forum:
  


Current Time: Sat Nov 09 04:57:01 GMT 2024

Powered by FUDForum. Page generated in 0.03405 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top