Creator Build Error: arm-none-eabi-gcc.exe

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
RiTa_288331
Level 2
Level 2
10 replies posted 10 questions asked 5 replies posted

I am using a PSOC 5 part (CY8C8855) for my first test project (a simple LCD character screen).  When I build my project, the build fails and I get the following error:

   

   

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

    How do I fix this error?  I am using the latest Beta 5.
0 Likes
17 Replies
KishoreS_96
Employee
Employee
5 sign-ins 50 replies posted 25 replies posted

 Right click near the menu bars and enable the "Build Configuration/Toolchain". Then select the "ARM GCC Generic" compiler and try to build.

   

 

   

Please let me know if this helps.

   

 

   

Regards,

   

Kishore.

0 Likes
Anonymous
Not applicable

The full error I was receiving was:

   

   

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

   

 

When I commented out From my main.c file the project built successfully.ilding. Hope this is helpful to you!!!

UART_EnableRXInt();

 

not saying that my design will work now, but at least it is bu

 

    

   

M:\Cypress PSOC\MyProjects\PSOC 5 EEPROM-USB\PSOC 5 EEPROM-USB.cydsn/./main.c:68: undefined reference to `UART_EnableRXInt'

   

collect2: ld returned 1 exit status

0 Likes
Anonymous
Not applicable

Regarding my previous post, wow that really did not format right did it.

   

In short I commented out the line UART_EnableRxInt(); and the project built successfuly.

   

Hope this helps!

0 Likes
ShJe_286301
Level 1
Level 1

Hello, I met the same question when i debug the sub-functions for the LCD controlled by ST7920.

   

and I tried the ways mentioned before , but it did not work .

   

when i rewrote the sub-functions which were wrote in apart c file about the LCD together with main.c files, it did work ! The Build Error: arm-none-eabi-gcc.ex did not appearred any more . I do not know why ,  but maybe this way could be helpful in solving your problem .

0 Likes
joth_1413401
Level 1
Level 1

i am trying to build my empty project but i am getting error : 

   

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

   

 

   

what can i do? 

   

Os : win7 , 32 bit

0 Likes
joth_1413401
Level 1
Level 1

i am trying to build my empty project but i am getting error : 

   

The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.

   

 

   

what can i do? 

   

Os : win7 , 32 bit

0 Likes
Anonymous
Not applicable

i am also getting same problem with Psco 4 ..... what is the problem ? and how can i resolve it?

0 Likes
Anonymous
Not applicable

i am also getting same problem with Psco 4 ..... what is the problem ? and how can i resolve it?

0 Likes
ETRO_SSN583
Level 9
Level 9
250 likes received 100 sign-ins 5 likes given

Post the project archive -

   

 

   

“File”                                                             Creator

   

“Create Workspace Bundle”

   

 

   

 

   

Regards, Dana.

0 Likes
Anonymous
Not applicable

My solution was to delete the reference to "GCC_EXEC_PREFIX" from autoexec.bat and remove it from the system variables list under system properties. Good luck.

   

control panel > System > Edit the system environment variables > and from systems variables delete " GCC_EXEC_PREFIX " .

   

may this will helps you..........!!

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

I'm getting an error - The command 'arm-none-eabi-gcc.exe' failed with exit code '1'

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Duplicate post, follow up here please.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

Hi Bob, I've noticed several people having the same error. I'm having it now. Has Cypress found a real solution to this issue?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

This is nothing Cypress can correct. The error message tells that the build was unsuccessful. Have a look into the output window for error messages preceding the last one. When there are none you have got a linker error caused by declaring a function or variable but never defining it. See to remove all warnings!

   

If still got stuck, post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
Anonymous
Not applicable

I've enabled interrupts on the UART but the void UART_EnableRxInt(void) function doesn't exist in the UART_XXX.h file or .c file. Why is the API not being generated?

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

Welcome in the forum, John!

   

Can you please post your complete project, so that we all can have a look at all of your settings. To do so, use
Creator->File->Create Workspace Bundle (minimal)
and attach the resulting file.

   

 

   

Bob

0 Likes
ScottKerstein
Employee
Employee
5 solutions authored 10 likes received 25 sign-ins

Location of the project is too deep in the folder directory.

0 Likes