- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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 .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am also getting same problem with Psco 4 ..... what is the problem ? and how can i resolve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
i am also getting same problem with Psco 4 ..... what is the problem ? and how can i resolve it?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Post the project archive -
“File” Creator
“Create Workspace Bundle”
Regards, Dana.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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..........!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Location of the project is too deep in the folder directory.