Ubuntu 16 - problem to install #66

Open
caiotelles opened this Issue Nov 22, 2016 · 4 comments

Comments

Projects
None yet
3 participants
@caiotelles

I was following the Installation guide, but when I executed the make I had some issues.

Can anyone help me?

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

@brian-armstrong

This comment has been minimized.

Show comment
Hide comment
@brian-armstrong

brian-armstrong Nov 22, 2016

Contributor

Hi,

I believe this is the same issue as #47

Contributor

brian-armstrong commented Nov 22, 2016

Hi,

I believe this is the same issue as #47

@caiotelles

This comment has been minimized.

Show comment
Hide comment
@caiotelles

caiotelles Nov 22, 2016

Sorry brian, you are correct.

Just to document:

  1. edit the makefile
  2. change the CONFIG_CFLAGS line and add -msse3 (CONFIG_CFLAGS = -g -O2 -msse3)
  3. save the file and NOT rerun ./configure
  4. run make (now will work 👍 )

Thanks people!!

Sorry brian, you are correct.

Just to document:

  1. edit the makefile
  2. change the CONFIG_CFLAGS line and add -msse3 (CONFIG_CFLAGS = -g -O2 -msse3)
  3. save the file and NOT rerun ./configure
  4. run make (now will work 👍 )

Thanks people!!

@brian-armstrong

This comment has been minimized.

Show comment
Hide comment
@brian-armstrong

brian-armstrong Nov 30, 2016

Contributor

Another, probably more stable option, is to apply #65 and rerun autoconf (or bootstrap.sh) which will cause configure to emit the right msse flag into the makefile. Then you won't have to worry about accidentally rerunning configure.

Contributor

brian-armstrong commented Nov 30, 2016

Another, probably more stable option, is to apply #65 and rerun autoconf (or bootstrap.sh) which will cause configure to emit the right msse flag into the makefile. Then you won't have to worry about accidentally rerunning configure.

@charlieh0tel

This comment has been minimized.

Show comment
Hide comment
@charlieh0tel

charlieh0tel Jan 8, 2017

./configure CFLAGS="-O -msse3"

also works.

./configure CFLAGS="-O -msse3"

also works.

cjcliffe added a commit to cjcliffe/CubicSDR-flatpak that referenced this issue Jan 19, 2017

Merge pull request #2 from casept/fix-liquid-dsp
Work around jgaeddert/liquid-dsp#66. This was preventing the image from building.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment