- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have attached the following files :
DspCdefs.h
Test_Mod_Demod.cpp
XIPRx_Demodulator.h
XIPRx_Globals
XIPTx_CQPSK.cpp
XIPTx_CQPSK.h
After installing the 2016 Intel64 compiler for Linux I built these
files as follows :
icpc -Wall -o testApp Test_Mod_Demod.cpp XIPTx_CQPSK.cpp
1 - If none of the #ifdefs are removed everything builds correctly
2 - If XYZZY_1 is removed the following errors are seen :
/tmp/icpc62HujG.o: In function `GMR1_Modulator::TxDKAB(unsigned char*, unsigned char*, int, int, double, int, int, int)':
XIPTx_CQPSK.cpp:(.text+0xcc): undefined reference to `vslzConvNewTaskX1D'
XIPTx_CQPSK.cpp:(.text+0x10b): undefined reference to `vslzConvExecX1D'
XIPTx_CQPSK.cpp:(.text+0x12d): undefined reference to `vslConvDeleteTask'
[lab@localhost dspTest]$
3 - If XYZZY_2 is removed the same result is seen :
/tmp/icpckltcSq.o: In function `GMR1_Modulator::TxBurstCQPSK(unsigned char*, Burst, int, int, int, double, int, int)':
XIPTx_CQPSK.cpp:(.text+0xf6): undefined reference to `vslzCorrNewTaskX1D'
XIPTx_CQPSK.cpp:(.text+0x134): undefined reference to `vslzCorrExecX1D'
XIPTx_CQPSK.cpp:(.text+0x156): undefined reference to `vslCorrDeleteTask'
[lab@localhost dspTest]$
4 - If XYZZY_3 is removed the following is seen :
/tmp/icpcrAtwkl.o: In function `GMR1_Modulator::TxBurstCQPSK(unsigned char*, Burst, int, int, int, double, int, int)':
XIPTx_CQPSK.cpp:(.text+0x1ee): undefined reference to `vzMul'
[lab@localhost dspTest]$
Which include file am I missing? I have found nothing on the web.
The attached files represent the smallest set of code to clearly show the problem.
Many thanks in advance, Jim.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Solved :
I did this : icpc -Wall -o testApp Test_Mod_Demod.cpp XIPTx_CQPSK.cpp -lmkl_intel_lp64 -lmkl_sequential -lmkl_core
Which I found on this site : https://www.princeton.edu/researchcomputing/faq/how-to-build-using-intel-mkl/
Looks like the installation script did not set up the environment properly.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page