Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Error of Makefile
Error of Makefile [message #1738593] Thu, 21 July 2016 08:14 Go to next message
Seiichi Nagahama is currently offline Seiichi NagahamaFriend
Messages: 1
Registered: July 2016
Junior Member
I build make environment using Eclipse(4.6.0).
I made a project with a newcomer and did build.
The Build error of the file which I made is not given, but becomes the error in makefile which Eclips made.
Please teach the workaround of the error.
The error content is as follows.

cannot find crt0.o: No such file or directory
make: *** [GR_USB_TEST.elf] Error 1
recipe for target 'GR_USB_TEST.elf' failed

Appearing makefile of the error is a place of following mentions .

GR_USB_TEST.elf: $(OBJS) $(USER_OBJS)
@echo 'Building target: $@'
@echo 'Invoking: Cross ARM C Linker'
arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -O0 -fmessage-length=0 -fsigned-char -ffunction-sections -fdata-sections -g3 -T "C:\Tool\pleiades\Work\GR_USB_TEST\APL\usb_test.ld" -Xlinker --gc-sections -Wl,-Map,"GR_USB_TEST.map" -o "GR_USB_TEST.elf" $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building target: $@'
@echo ' '


The program that I make is software of the STM3240G-EVAL evaluation board of ST company.
Re: Error of Makefile [message #1738603 is a reply to message #1738593] Thu, 21 July 2016 09:26 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33136
Registered: July 2009
Senior Member
It sounds like a question best asked on the CDT forum. I imagine
there's not enough detail here to answer your question though...


On 21.07.2016 10:18, Seiichi Nagahama wrote:
> I build make environment using Eclipse(4.6.0).
> I made a project with a newcomer and did build.
> The Build error of the file which I made is not given, but becomes the
> error in makefile which Eclips made.
> Please teach the workaround of the error.
> The error content is as follows.
>
> cannot find crt0.o: No such file or directory
> make: *** [GR_USB_TEST.elf] Error 1
> recipe for target 'GR_USB_TEST.elf' failed
>
> Appearing makefile of the error is a place of following mentions .
>
> GR_USB_TEST.elf: $(OBJS) $(USER_OBJS)
> @echo 'Building target: $@'
> @echo 'Invoking: Cross ARM C Linker'
> arm-none-eabi-gcc -mcpu=cortex-m3 -mthumb -O0 -fmessage-length=0
> -fsigned-char -ffunction-sections -fdata-sections -g3 -T
> "C:\Tool\pleiades\Work\GR_USB_TEST\APL\usb_test.ld" -Xlinker
> --gc-sections -Wl,-Map,"GR_USB_TEST.map" -o "GR_USB_TEST.elf" $(OBJS)
> $(USER_OBJS) $(LIBS)
> @echo 'Finished building target: $@'
> @echo ' '
>
>
> The program that I make is software of the STM3240G-EVAL evaluation
> board of ST company.
>


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:No ports listed in launch terminal.
Next Topic:deference between C and C++?
Goto Forum:
  


Current Time: Thu Apr 18 16:46:23 GMT 2024

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

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

Back to the top