jgaeddert / liquid-dsp

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

make liquid-dsp with error #67

Open w79110007 opened 7 years ago

w79110007 commented 7 years ago

I run ./bootstrap.sh and ./configure , and they all succeed.

when run make, it shows: andy@andy-Mac-Laptop:~/liquid-dsp$ make gcc -I . -I include -Wall -fPIC -g -O2 -c -o src/dotprod/src/dotprod_cccf.mmx.o src/dotprod/src/dotprod_cccf.mmx.c In file included from src/dotprod/src/dotprod_cccf.mmx.c:49:0: src/dotprod/src/dotprod_cccf.mmx.c: In function ‘dotprod_cccf_execute_mmx’: /usr/lib/gcc/x86_64-linux-gnu/5/include/pmmintrin.h:50:1: error: inlining failed in call to always_inline ‘_mm_addsub_ps’: target specific option mismatch _mm_addsub_ps (m128 X, m128 Y) ^ src/dotprod/src/dotprod_cccf.mmx.c:255:11: error: called from here s = _mm_addsub_ps( ci, cq ); ^ In file included from src/dotprod/src/dotprod_cccf.mmx.c:49:0: /usr/lib/gcc/x86_64-linux-gnu/5/include/pmmintrin.h:50:1: error: inlining failed in call to always_inline ‘_mm_addsub_ps’: target specific option mismatch _mm_addsub_ps (m128 X, m128 Y) ^ src/dotprod/src/dotprod_cccf.mmx.c:255:11: error: called from here s = _mm_addsub_ps( ci, cq ); ^

: recipe for target 'src/dotprod/src/dotprod_cccf.mmx.o' failed make: *** [src/dotprod/src/dotprod_cccf.mmx.o] Error 1
w79110007 commented 7 years ago

sorry, it seems to have answer below, I will read and hope to solve it.

corq commented 7 years ago

Anyone following this error or arriving from Google searches, see issue 'Ubuntu 16 - problem to install #66' for steps to resolve.