Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12422 Discussions

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

Altera_Forum
Honored Contributor II
828 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