Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
All support for Intel NUC 7 - 13 systems has transitioned to ASUS. Read latest update.
12583 Discussions

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

Altera_Forum
Honored Contributor II
1,081 Views

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'
0 Kudos
0 Replies
Reply