Forum Discussion

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

Compiler Problems

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
No RepliesBe the first to reply