jgaeddert / liquid-dsp

digital signal processing library for software-defined radios
http://liquidsdr.org
MIT License
1.9k stars 442 forks source link

undefined reference to `volk_32fc_x2_dot_prod_32fc' #258

Closed solomonbstoner closed 3 years ago

solomonbstoner commented 3 years ago

I successfully ran make and sudo make install, but running make check and make examples give me the following error. I installed volk successfully before installing liquid-dsp.

/usr/bin/ld: libliquid.a(dotprod_crcf.mmx.o): in function `dotprod_crcf_execute':
/home/solomonbstoner/Documents/GitClones/liquid-dsp/src/dotprod/src/dotprod_crcf.mmx.c:176: undefined reference to `volk_32fc_x2_dot_prod_32fc'
collect2: error: ld returned 1 exit status
make: *** [makefile:1322: xautotest] Error 1
solomonbstoner commented 3 years ago

Deleted liquid-dsp and redownloaded it using git clone. Installation works now

jgaeddert commented 3 years ago

That's quite odd. Liquid doesn't (and hasn't ever) used volk for any of its processing. Not sure why it would try to link to it.

solomonbstoner commented 3 years ago

Oops, my bad. It was the modified version of liquiddsp for another software for radio reslience competition. i mixed up the original and modified liquiddsp. This completely slipped my mind

jgaeddert commented 3 years ago

Oh no worries! I was just quite confused by the error. Good luck!