Error

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

cross mob
Loren
Level 1
Level 1
First question asked Welcome!

Log file for this session is located at: C:\Users\86186\AppData\Local\Temp\PSoC Creator-000.log
The following projects have new component updates available: MCU_B. To update the components in a project right-click on the project in the Workspace Explorer and select 'Update Components' or click on the notification icon in the status bar.
--------------- Build Started: 04/02/2022 21:57:15 Project: MCU_B, Configuration: ARM GCC 5.4-2016-q2-update Debug ---------------
The code generation step is up to date.
The compile step is up to date, no work needs to be done.
arm-none-eabi-ar.exe -rs .\CortexM3\ARM_GCC_541\Debug\MCU_B.a .\CortexM3\ARM_GCC_541\Debug\CyDmac.o .\CortexM3\ARM_GCC_541\Debug\CyFlash.o .\CortexM3\ARM_GCC_541\Debug\CyLib.o .\CortexM3\ARM_GCC_541\Debug\cyPm.o .\CortexM3\ARM_GCC_541\Debug\CySpc.o .\CortexM3\ARM_GCC_541\Debug\cyutils.o .\CortexM3\ARM_GCC_541\Debug\SysTickTim.o .\CortexM3\ARM_GCC_541\Debug\SysTickTim_PM.o .\CortexM3\ARM_GCC_541\Debug\SysTickInt.o .\CortexM3\ARM_GCC_541\Debug\Led1.o .\CortexM3\ARM_GCC_541\Debug\Led2.o .\CortexM3\ARM_GCC_541\Debug\SysTickClk.o .\CortexM3\ARM_GCC_541\Debug\IIC_SCL.o .\CortexM3\ARM_GCC_541\Debug\IIC_SDA.o .\CortexM3\ARM_GCC_541\Debug\IIC_RST.o .\CortexM3\ARM_GCC_541\Debug\PHU_Pin.o .\CortexM3\ARM_GCC_541\Debug\PHI_Pin.o .\CortexM3\ARM_GCC_541\Debug\StartUpIn.o .\CortexM3\ARM_GCC_541\Debug\StartUpOut.o .\CortexM3\ARM_GCC_541\Debug\PADJ.o .\CortexM3\ARM_GCC_541\Debug\PADJ_PM.o .\CortexM3\ARM_GCC_541\Debug\PADJPin.o .\CortexM3\ARM_GCC_541\Debug\FOut.o .\CortexM3\ARM_GCC_541\Debug\FOut_PM.o .\CortexM3\ARM_GCC_541\Debug\FreqOut.o .\CortexM3\ARM_GCC_541\Debug\VRefPin.o .\CortexM3\ARM_GCC_541\Debug\IRefPin.o .\CortexM3\ARM_GCC_541\Debug\VRMSPin.o .\CortexM3\ARM_GCC_541\Debug\IRMSPin.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRef.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRef_PM.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRef.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRef_PM.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRMS.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRMS_INT.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRMS_PM.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRMS.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRMS_INT.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRMS_PM.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRMS_IRQ.o .\CortexM3\ARM_GCC_541\Debug\DRV_IRMS_theACLK.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRMS_IRQ.o .\CortexM3\ARM_GCC_541\Debug\DRV_VRMS_theACLK.o .\CortexM3\ARM_GCC_541\Debug\POUT.o .\CortexM3\ARM_GCC_541\Debug\POUT_PM.o .\CortexM3\ARM_GCC_541\Debug\POUT_INT.o .\CortexM3\ARM_GCC_541\Debug\POUT_AMux.o .\CortexM3\ARM_GCC_541\Debug\POUT_Ext_CP_Clk.o .\CortexM3\ARM_GCC_541\Debug\POUT_IRQ.o .\CortexM3\ARM_GCC_541\Debug\POUT_theACLK.o .\CortexM3\ARM_GCC_541\Debug\POUTPin.o .\CortexM3\ARM_GCC_541\Debug\KeyUp.o .\CortexM3\ARM_GCC_541\Debug\KeyDown.o .\CortexM3\ARM_GCC_541\Debug\KeySelect.o .\CortexM3\ARM_GCC_541\Debug\KeyScan.o .\CortexM3\ARM_GCC_541\Debug\EEPROM.o .\CortexM3\ARM_GCC_541\Debug\EEPEna.o .\CortexM3\ARM_GCC_541\Debug\CANRx.o .\CortexM3\ARM_GCC_541\Debug\CANTx.o .\CortexM3\ARM_GCC_541\Debug\CANEna.o .\CortexM3\ARM_GCC_541\Debug\CANDrv.o .\CortexM3\ARM_GCC_541\Debug\CANDrv_INT.o .\CortexM3\ARM_GCC_541\Debug\CANDrv_PM.o .\CortexM3\ARM_GCC_541\Debug\CANDrv_TX_RX_func.o .\CortexM3\ARM_GCC_541\Debug\SysTick15To8.o .\CortexM3\ARM_GCC_541\Debug\SysTick7To0.o .\CortexM3\ARM_GCC_541\Debug\SysTick23To16.o .\CortexM3\ARM_GCC_541\Debug\SysTick31To24.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin0.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin1.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin2.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin3.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin4.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin5.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin6.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin7.o .\CortexM3\ARM_GCC_541\Debug\CentHzPin8.o .\CortexM3\ARM_GCC_541\Debug\PhaseErr.o .\CortexM3\ARM_GCC_541\Debug\PhaseCent.o .\CortexM3\ARM_GCC_541\Debug\MCUBRdy.o .\CortexM3\ARM_GCC_541\Debug\UARTDrv.o .\CortexM3\ARM_GCC_541\Debug\UARTDrv_PM.o .\CortexM3\ARM_GCC_541\Debug\UARTDrv_INT.o .\CortexM3\ARM_GCC_541\Debug\UARTDrv_BOOT.o .\CortexM3\ARM_GCC_541\Debug\UARTDrv_IntClock.o .\CortexM3\ARM_GCC_541\Debug\cy_em_eeprom.o .\CortexM3\ARM_GCC_541\Debug\DISP_DIN.o .\CortexM3\ARM_GCC_541\Debug\DISP_CLK.o .\CortexM3\ARM_GCC_541\Debug\DISP_STB.o .\CortexM3\ARM_GCC_541\Debug\TD.o .\CortexM3\ARM_GCC_541\Debug\TD_PM.o .\CortexM3\ARM_GCC_541\Debug\PHI.o .\CortexM3\ARM_GCC_541\Debug\PHI_PM.o .\CortexM3\ARM_GCC_541\Debug\PHU.o .\CortexM3\ARM_GCC_541\Debug\PHU_PM.o .\CortexM3\ARM_GCC_541\Debug\Clock_5.o .\CortexM3\ARM_GCC_541\Debug\MCUA_ERR_State.o .\CortexM3\ARM_GCC_541\Debug\MCUA_ErrCnt.o .\CortexM3\ARM_GCC_541\Debug\IO1.o .\CortexM3\ARM_GCC_541\Debug\IIC_RST_1.o .\CortexM3\ARM_GCC_541\Debug\DRV_UART.o .\CortexM3\ARM_GCC_541\Debug\DRV_UART_PM.o .\CortexM3\ARM_GCC_541\Debug\DRV_UART_INT.o .\CortexM3\ARM_GCC_541\Debug\DRV_UART_BOOT.o .\CortexM3\ARM_GCC_541\Debug\DRV_UT.o .\CortexM3\ARM_GCC_541\Debug\DRV_UT_PM.o .\CortexM3\ARM_GCC_541\Debug\RS485Dir.o .\CortexM3\ARM_GCC_541\Debug\U1TxIsr.o .\CortexM3\ARM_GCC_541\Debug\U1RxIsr.o .\CortexM3\ARM_GCC_541\Debug\U1ToIsr.o .\CortexM3\ARM_GCC_541\Debug\UTClk.o .\CortexM3\ARM_GCC_541\Debug\UTSwt.o .\CortexM3\ARM_GCC_541\Debug\UTSwt_PM.o .\CortexM3\ARM_GCC_541\Debug\UART1Clk.o .\CortexM3\ARM_GCC_541\Debug\CyBootAsmGnu.o
arm-none-eabi-ar.exe: creating .\CortexM3\ARM_GCC_541\Debug\MCU_B.a
arm-none-eabi-gcc.exe -Wl,--start-group -o C:\Users\86186\Desktop\MCU_B321\MCU_B.cydsn\CortexM3\ARM_GCC_541\Debug\MCU_B.elf .\CortexM3\ARM_GCC_541\Debug\BSP_SysTime.o .\CortexM3\ARM_GCC_541\Debug\BSP_Led.o .\CortexM3\ARM_GCC_541\Debug\BSP_IIC.o .\CortexM3\ARM_GCC_541\Debug\BSP_Disp.o .\CortexM3\ARM_GCC_541\Debug\BSP.o .\CortexM3\ARM_GCC_541\Debug\BSP_PAdj.o .\CortexM3\ARM_GCC_541\Debug\BSP_FOut.o .\CortexM3\ARM_GCC_541\Debug\BSP_VRef.o .\CortexM3\ARM_GCC_541\Debug\BSP_IRef.o .\CortexM3\ARM_GCC_541\Debug\BSP_VRMS.o .\CortexM3\ARM_GCC_541\Debug\BSP_IRMS.o .\CortexM3\ARM_GCC_541\Debug\BSP_POut.o .\CortexM3\ARM_GCC_541\Debug\BSP_EEP.o .\CortexM3\ARM_GCC_541\Debug\BSP_Key.o .\CortexM3\ARM_GCC_541\Debug\BSP_AM.o .\CortexM3\ARM_GCC_541\Debug\BSP_ExState.o .\CortexM3\ARM_GCC_541\Debug\BSP_CAN.o .\CortexM3\ARM_GCC_541\Debug\BSP_CentHz.o .\CortexM3\ARM_GCC_541\Debug\BSP_Phase.o .\CortexM3\ARM_GCC_541\Debug\BSP_UART.o .\CortexM3\ARM_GCC_541\Debug\BSP_PHUI.o .\CortexM3\ARM_GCC_541\Debug\SysTime.o .\CortexM3\ARM_GCC_541\Debug\Led.o .\CortexM3\ARM_GCC_541\Debug\Memory.o .\CortexM3\ARM_GCC_541\Debug\Power.o .\CortexM3\ARM_GCC_541\Debug\POUTClb.o .\CortexM3\ARM_GCC_541\Debug\VREFClb.o .\CortexM3\ARM_GCC_541\Debug\IREFClb.o .\CortexM3\ARM_GCC_541\Debug\PHUI.o .\CortexM3\ARM_GCC_541\Debug\AM.o .\CortexM3\ARM_GCC_541\Debug\CalcTick.o .\CortexM3\ARM_GCC_541\Debug\ExtState.o .\CortexM3\ARM_GCC_541\Debug\Fn.o .\CortexM3\ARM_GCC_541\Debug\PRP.o .\CortexM3\ARM_GCC_541\Debug\aes.o .\CortexM3\ARM_GCC_541\Debug\MD5.o .\CortexM3\ARM_GCC_541\Debug\Scheduler.o .\CortexM3\ARM_GCC_541\Debug\SystemCtrl.o .\CortexM3\ARM_GCC_541\Debug\Disp.o .\CortexM3\ARM_GCC_541\Debug\Key.o .\CortexM3\ARM_GCC_541\Debug\HMI.o .\CortexM3\ARM_GCC_541\Debug\HMI_Common.o .\CortexM3\ARM_GCC_541\Debug\HMI_MainBoard.o .\CortexM3\ARM_GCC_541\Debug\HMI_MainMenu.o .\CortexM3\ARM_GCC_541\Debug\HMI_MFreqSet.o .\CortexM3\ARM_GCC_541\Debug\HMI_AMSet.o .\CortexM3\ARM_GCC_541\Debug\HMI_PowerUp.o .\CortexM3\ARM_GCC_541\Debug\HMI_CtrlNumsSet.o .\CortexM3\ARM_GCC_541\Debug\HMI_TriTime.o .\CortexM3\ARM_GCC_541\Debug\HMI_PowerClb.o .\CortexM3\ARM_GCC_541\Debug\HMI_PowerCoeff.o .\CortexM3\ARM_GCC_541\Debug\StartUp.o .\CortexM3\ARM_GCC_541\Debug\IO.o .\CortexM3\ARM_GCC_541\Debug\CAN.o .\CortexM3\ARM_GCC_541\Debug\main.o .\CortexM3\ARM_GCC_541\Debug\Common.o .\CortexM3\ARM_GCC_541\Debug\cyfitter_cfg.o .\CortexM3\ARM_GCC_541\Debug\cymetadata.o .\CortexM3\ARM_GCC_541\Debug\Cm3Start.o .\CortexM3\ARM_GCC_541\Debug\MCU_B.a "C:\Program Files (x86)\Cypress\PSoC Creator\4.4\PSoC Creator\psoc\content\cycomponentlibrary\CyComponentLibrary.cylib\CortexM3\ARM_GCC_541\Debug\CyComponentLibrary.a" -mcpu=cortex-m3 -mthumb -l m -L Generated_Source\PSoC5 -Wl,-Map,.\CortexM3\ARM_GCC_541\Debug/MCU_B.map -T Generated_Source\PSoC5\cm3gcc.ld -specs=nano.specs -Wl,--gc-sections -g -ffunction-sections -O3 -ffat-lto-objects -Wl,--end-group
.\CortexM3\ARM_GCC_541\Debug\Cm3Start.o: In function `IntDefaultHandler':
C:\Users\86186\Desktop\MCU_B321\MCU_B.cydsn/Generated_Source\PSoC5/Cm3Start.c:99: undefined reference to `_errno'
collect2.exe: error: ld returned 1 exit status
The command 'arm-none-eabi-gcc.exe' failed with exit code '1'.
--------------- Build Failed: 04/02/2022 21:57:16 ---------------

0 Likes
2 Replies
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @Loren ,

Can you please share your project with us so we can debug the issue on our side to better help you with the issue?

Warm Regards
Alen

0 Likes
AlenAn14
Moderator
Moderator
Moderator
500 replies posted 100 solutions authored 250 replies posted

Hi @Loren ,

Thread was locked due to inactivity for long time, you can continue the discussion on the topic by opening a new thread with reference to the locked one. The continuous discussion in an inactive thread may mostly be unattended by community users.

Thanks and Regards,
Alen

0 Likes