Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
9 years ago

Use Monitor Program compiler Cortex- A9 program, prompt math library error

I use a tersic DE1 - SoC development board.Have joined in the program header file < math.h >,but when I use Monitor Program(v14.1) compiler architecture A9 program, the compiler shows the following error:

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/BDS_ISR.c:321: undefined reference to `log10'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/BDS_ISR.c:321: undefined reference to `log10'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:331: undefined reference to `round'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2158: undefined reference to `round'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2224: undefined reference to `round'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2264: undefined reference to `trunc'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2265: undefined reference to `trunc'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2265: undefined reference to `trunc'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2269: undefined reference to `trunc'

E:/DE1_SoC_Workspace/DE1_Soc_B1_B2_hps_v1.0/Monitor_software/hps_bdsv1.0/DSP_Message1.c:2269: undefined reference to `trunc'
No RepliesBe the first to reply