Debian installation failed

Hi,
Been trying with installing wfview,twice, with no success!!

The last few lines from the terminal are given below:

make: *** [Makefile:901: resample.o] Error 1
make: *** Waiting for unfinished jobs…
Error in make step.
wfview was not compiled.
Please consider posting the error(s) to https://forum.wfview.org/

Any idea what went wrong?
best 73
Raj
vu3voc / ak4ec

Hi Rajesh,

Can you show us about a dozen lines before this error?

Thanks,

—E
de W6EL

Hi Elliot,

Tried the installation today and here are a few lines before this error came up:

73 and Thanks
Raj
AK4EC /VU3VOC

…/wfview/pttyhandler.cpp:222:69: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
222 | qInfo(logSerial()) << “pty remote CI-V changed:” << hex << (quint8)civId;
| ^~~

In file included from /usr/include/i386-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/i386-linux-gnu/qt5/QtCore/QDebug:1,
from …/wfview/freqmemory.h:4,
from …/wfview/rigidentities.h:9,
from …/wfview/pttyhandler.h:12,
from …/wfview/pttyhandler.cpp:1:
/usr/include/i386-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | QT_DEPRECATED_VERSION_X(5, 15, “Use Qt::hex”) QTextStream &hex(QTextStream &s);
| ^~~

…/wfview/pttyhandler.cpp:222:69: warning: ‘QTextStream& QTextStreamFunctions::hex(QTextStream&)’ is deprecated: Use Qt::hex [-Wdeprecated-declarations]
222 | qInfo(logSerial()) << “pty remote CI-V changed:” << hex << (quint8)civId;
| ^~~

In file included from /usr/include/i386-linux-gnu/qt5/QtCore/qdebug.h:49,
from /usr/include/i386-linux-gnu/qt5/QtCore/QDebug:1,
from …/wfview/freqmemory.h:4,
from …/wfview/rigidentities.h:9,
from …/wfview/pttyhandler.h:12,
from …/wfview/pttyhandler.cpp:1:
/usr/include/i386-linux-gnu/qt5/QtCore/qtextstream.h:277:74: note: declared here
277 | QT_DEPRECATED_VERSION_X(5, 15, “Use Qt::hex”) QTextStream &hex(QTextStream &s);
| ^~~

In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h: In function ‘inner_product_single’:
…/wfview/resampler/resample_sse.h:45:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
45 | for (i = 0; i < len; i += 8)
| ^
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h: In function ‘interpolate_product_single’:
…/wfview/resampler/resample_sse.h:62:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
62 | for (i = 0; i < len; i += 2)
| ^
…/wfview/resampler/resample_sse.h: In function ‘inner_product_double’:
…/wfview/resampler/resample_sse.h:84:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
84 | for (i = 0; i < len; i += 8)
| ^
…/wfview/resampler/resample_sse.h: In function ‘interpolate_product_double’:
…/wfview/resampler/resample_sse.h:110:19: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
110 | for (i = 0; i < len; i += 2)
| ^
…/wfview/resampler/resample.c: In function ‘update_filter’:
…/wfview/resampler/resample.c:676:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
676 | for (j = 0; j < st->filt_len; j++)
| ^
…/wfview/resampler/resample.c: In function ‘wf_resampler_process_float’:
…/wfview/resampler/resample.c:953:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
953 | for (j = 0; j < ichunk; ++j)
| ^
…/wfview/resampler/resample.c:957:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
957 | for (j = 0; j < ichunk; ++j)
| ^
…/wfview/resampler/resample.c: In function ‘wf_resampler_process_int’:
…/wfview/resampler/resample.c:1009:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1009 | for (j = 0; j < ichunk; ++j)
| ^
…/wfview/resampler/resample.c:1017:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1017 | for (j = 0; j < ichunk; ++j)
| ^
…/wfview/resampler/resample.c:1028:23: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare]
1028 | for (j = 0; j < ochunk + omagic; ++j)
| ^
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h: In function ‘interpolate_product_single’:
…/wfview/resampler/resample_sse.h:60:12: warning: SSE vector return without SSE enabled changes the ABI [-Wpsabi]
60 | __m128 sum = _mm_setzero_ps();
| ^~~
g++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2d” -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DUSE_SSE -DUSE_SSE2 -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“f8351ad” -DQT_NO_DEBUG -DQT_MULTIMEDIA_LIB -DQT_PRINTSUPPORT_LIB -DQT_WIDGETS_LIB -DQT_GUI_LIB -DQT_SERIALPORT_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -I…/wfview -I. -I…/wfview/resampler -I/usr/include/i386-linux-gnu/qt5 -I/usr/include/i386-linux-gnu/qt5/QtMultimedia -I/usr/include/i386-linux-gnu/qt5/QtPrintSupport -I/usr/include/i386-linux-gnu/qt5/QtWidgets -I/usr/include/i386-linux-gnu/qt5/QtGui -I/usr/include/i386-linux-gnu/qt5/QtSerialPort -I/usr/include/i386-linux-gnu/qt5/QtNetwork -I/usr/include/i386-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/i386-linux-gnu/qt5/mkspecs/linux-g++ -o repeatersetup.o …/wfview/repeatersetup.cpp
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h: In function ‘inner_product_single’:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:118:1: error: inlining failed in call to ‘always_inline’ ‘_mm_setzero_ps’: target specific option mismatch
118 | _mm_setzero_ps (void)
| ^~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:44:18: note: called from here
44 | __m128 sum = _mm_setzero_ps();
| ^~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:184:1: error: inlining failed in call to ‘always_inline’ ‘_mm_add_ps’: target specific option mismatch
184 | _mm_add_ps (__m128 __A, __m128 __B)
| ^~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:48:15: note: called from here
48 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i + 4), _mm_loadu_ps(b + i + 4)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:196:1: error: inlining failed in call to ‘always_inline’ ‘_mm_mul_ps’: target specific option mismatch
196 | _mm_mul_ps (__m128 __A, __m128 __B)
| ^~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:48:15: note: called from here
48 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i + 4), _mm_loadu_ps(b + i + 4)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:932:1: error: inlining failed in call to ‘always_inline’ ‘_mm_loadu_ps’: target specific option mismatch
932 | _mm_loadu_ps (float const *__P)
| ^~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:48:15: note: called from here
48 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i + 4), _mm_loadu_ps(b + i + 4)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:932:1: error: inlining failed in call to ‘always_inline’ ‘_mm_loadu_ps’: target specific option mismatch
932 | _mm_loadu_ps (float const *__P)
| ^~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:48:15: note: called from here
48 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i + 4), _mm_loadu_ps(b + i + 4)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:184:1: error: inlining failed in call to ‘always_inline’ ‘_mm_add_ps’: target specific option mismatch
184 | _mm_add_ps (__m128 __A, __m128 __B)
| ^~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:47:15: note: called from here
47 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i), _mm_loadu_ps(b + i)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:196:1: error: inlining failed in call to ‘always_inline’ ‘_mm_mul_ps’: target specific option mismatch
196 | _mm_mul_ps (__m128 __A, __m128 __B)
| ^~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:47:15: note: called from here
47 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i), _mm_loadu_ps(b + i)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:932:1: error: inlining failed in call to ‘always_inline’ ‘_mm_loadu_ps’: target specific option mismatch
932 | _mm_loadu_ps (float const *__P)
| ^~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:47:15: note: called from here
47 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i), _mm_loadu_ps(b + i)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:932:1: error: inlining failed in call to ‘always_inline’ ‘_mm_loadu_ps’: target specific option mismatch
932 | _mm_loadu_ps (float const *__P)
| ^~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:47:15: note: called from here
47 | sum = _mm_add_ps(sum, _mm_mul_ps(_mm_loadu_ps(a + i), _mm_loadu_ps(b + i)));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:961:1: error: inlining failed in call to ‘always_inline’ ‘_mm_store_ss’: target specific option mismatch
961 | _mm_store_ss (float *__P, __m128 __A)
| ^~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:52:5: note: called from here
52 | _mm_store_ss(&ret, sum);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:128:1: error: inlining failed in call to ‘always_inline’ ‘_mm_add_ss’: target specific option mismatch
128 | _mm_add_ss (__m128 __A, __m128 __B)
| ^~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:51:11: note: called from here
51 | sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:744:1: error: inlining failed in call to ‘always_inline’ ‘_mm_shuffle_ps’: target specific option mismatch
744 | _mm_shuffle_ps (__m128 __A, __m128 __B, int const __mask)
| ^~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:51:11: note: called from here
51 | sum = _mm_add_ss(sum, _mm_shuffle_ps(sum, sum, 0x55));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:184:1: error: inlining failed in call to ‘always_inline’ ‘_mm_add_ps’: target specific option mismatch
184 | _mm_add_ps (__m128 __A, __m128 __B)
| ^~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:50:11: note: called from here
50 | sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from …/wfview/resampler/resample_sse.h:37,
from …/wfview/resampler/resample.c:100:
/usr/lib/gcc/i686-linux-gnu/10/include/xmmintrin.h:785:1: error: inlining failed in call to ‘always_inline’ ‘_mm_movehl_ps’: target specific option mismatch
785 | _mm_movehl_ps (__m128 __A, __m128 __B)
| ^~~~~~~~~~~~~
In file included from …/wfview/resampler/resample.c:100:
…/wfview/resampler/resample_sse.h:50:11: note: called from here
50 | sum = _mm_add_ps(sum, _mm_movehl_ps(sum, sum));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make: *** [Makefile:922: resample.o] Error 1
make: *** Waiting for unfinished jobs…
Error in make step.
wfview was not compiled.
Please consider posting the error(s) to https://forum.wfview.org/

Hi Rajesh,

Ok, a lot going on here with warnings, but the big deal is something to do with an SSE version of the resampler. My guess is that if you delete this line in wfview.pro:
equals(QT_ARCH, i386): DEFINES += USE_SSE
then rebuild, it will work.
To re-build, after you edit that file, run these commands (edit the first one so that you end up in the build directory):

cd build
make clean
rm Makefile
rm wfview
qmake ../wfview/wfview.pro
make -j2

By the way, exactly what CPU do you have and what version of linux?

–E
de W6EL

Dear Elliot,

I am using an old Desktop running AntiX Linux; pasting some more info here:

Architecture: i686
CPU op-mode(s): 32-bit, 64-bit
Byte Order: Little Endian
Address sizes: 48 bits physical, 48 bits virtual
CPU(s): 2
On-line CPU(s) list: 0,1
Thread(s) per core: 1
Core(s) per socket: 2
Socket(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
Model: 2
Model name: AMD Athlon™ 7750 Dual-Core Processor
Stepping: 3
CPU MHz: 1350.000
CPU max MHz: 2700.0000
CPU min MHz: 1350.0000
BogoMIPS: 5410.87
Virtualization: AMD-V

I know that this CPU is long due to the garbage, but it still works :slight_smile:

I’ll surely let you know the results once the line is edited.

Thanks again
best 73
Rajesh
AK4EC / VU3VOC

I suspect that’s it, that cpu might not support SSE in the way that this resample code expects.

95 watts is a power hungry CPU! But it should be able to run wfview. Initial development here was on an AMD E-350 if you can believe that, which was 3x slower than yours!

Hi Elliot,

The installation worked…edited the line in wfview.pro…compiled and got the UI.
Will test with the 7300 tomorrow and let you know.
Thanks again !! :+1: :+1: :+1:

73 de
Raj
AK4EC / VU3VOC

1 Like

Hi Elliot,
Success…success… It works on the 7300!!
73
AK4EC / VU3VOC

Hi Raj,

Excellent, glad it’s working.

Keep us posted as your adventures continue,

–E
de W6EL

1 Like