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++

Compiler Problems

Altera_Forum
Honored Contributor II
949 Views

For 2 days now I've been fight with the %^$#^$! compile over whether or not a function is defined.  

 

Here is the error message I keep getting  

 

make -s all  

Compiling trex_fft_isr.cpp... 

../ISR/scr/trex_fft_isr.cpp:18: warning: 'void isr_dma(void*, alt_u32)' defined but not used 

../ISR/scr/trex_fft_isr.cpp:25: warning: 'void isr_pci(void*, alt_u32)' defined but not used 

Compiling pci_core.cpp... 

Compiling pci_dma.cpp... 

Compiling trex_fft_cpu_main.cpp... 

../ISR/inc/trex_fft_isr.h:16: error: 'void isr_dma(void*, alt_u32)' used but never defined 

../ISR/inc/trex_fft_isr.h:17: error: 'void isr_pci(void*, alt_u32)' used but never defined 

 

Could somebody please explain to me how the same function can be defined in one instance and undefined in another. If you have run into this problem before could you please let me know how you fixed it.  

 

Thanks 

Rob
0 Kudos
0 Replies
Reply