V2.24 does not compile

Please provide the following information with your question:

  1. Operating System: Raspberry Linux Bullseye, Debian 11
  2. Method of download attempted (from wfview.org, package manager, source code, etc):
    fullbuild-wfview.sh · master · Elliott Liggett / scripts · GitLab
  3. Radio Make and Model: IC7300
  4. Method of radio connectivity (USB, WiFi, Ethernet, etc): USB
  5. Did you check the FAQ and read the manual? yes

When I run the above mentioned script, it stopps with error:

../wfview/src/audio/plugins/triple_para.cpp
In file included from ../wfview/src/audio/plugins/mbeq.cpp:19:
/usr/include/eigen3/unsupported/Eigen/FFT:16:10: fatal error: Eigen/Core: Datei oder Verzeichnis nicht gefunden
16 | #include <Eigen/Core>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:2695: mbeq.o] Fehler 1
make: *** Es wird auf noch nicht beendete Prozesse gewartet…

I did similar compiles on this machine since end of 2023 and never saw this.

vy 73 de Thomas, DL3EL

Hi Thomas,

You never had this issue before most likely because you had not tried this version of wfview on your Pi.

I think the issue is the include path.

First make sure you have the library:

sudo apt install libeigen3-dev

Now link the missing file to help it be found:

sudo ln -s /usr/include/eigen3/Eigen /usr/include/Eigen

We are considering a pre-built binary for the Pi, and I suppose this issue highlights the need.

–E
de W6EL

Hi Elliot,

thank for the help. The lib was already installed. I’ve added the missing link, then tried again. After a long time of compiling, it stopped with another error:

libQt5Widgets.so /usr/lib/aarch64-linux-gnu/libQt5Gamepad.so /usr/lib/aarch64-linux-gnu/libQt5Gui.so /usr/lib/aarch64-linux-gnu/libQt5SerialPort.so /usr/lib/aarch64-linux-gnu/libQt5WebSockets.so /usr/lib/aarch64-linux-gnu/libQt5Network.so /usr/lib/aarch64-linux-gnu/libQt5Xml.so /usr/lib/aarch64-linux-gnu/libQt5Core.so -lGL -lpthread
/usr/bin/ld: loguru.o: undefined reference to symbol ‘dladdr@@GLIBC_2.17’
/usr/bin/ld: /lib/aarch64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make: *** [Makefile:669: wfview] Fehler 1

real 42m59,488s
user 38m44,146s
sys 3m21,837s
Error in make step.
wfview was not compiled.
Please consider posting the error(s) to https://forum.wfview.org/
The error text was logged to /tmp/build.log
Press enter to send the log to termbin (recommended). Press control-c to cancel.

any idea?

vy 73 de Thomas, DL3EL

Very interesting.

If possible, find the complete line that failed. You need to add -ldl to the line which will add a library to the linking.

Or, modify the wfview.pro file:

Change line 78 from:
linux:LIBS += -lpulse -lpulse-simple -lrtaudio -lpthread -ludev
to:
linux:LIBS += -lpulse -lpulse-simple -lrtaudio -lpthread -ludev -ldl

Then run qmake and make again.

For example, since you used the build script, something like this might be the sequence:

cd ~/Downloads
cd wfview-20260701--14-22-21
cd wfview
nano wfview.pro
# make edit as described above
cd ..
cd build
qmake ../wfview/wfview.pro
make -j2

Adjust the path as needed.

–E
de W6EL

EDIT: changed the path in the qmake command

Hi Elliot,

thanks a lot, that has helped. Now the latest version is up&running.

vy 73 de Thomas, DL3EL

1 Like

Glad to hear it!

I’ll think about how we can fold this fix into our repo.

–E
de W6EL

Elliott, Same problem on my attempt -

Raspberry Pi 3B+

Bullseye

IC-7300 - USB

Attempted to compile today using the fullbuild-wfview.sh script, downloaded this AM.

First error was the eigen3. Followed the steps that you provided and got further thriough the compile and it gave me errors again.

Followed the steps in your second post regarding wfiew.pro file and editing it. Ran qmake and ended up with more errors. Ran the wfview.sh script and the same errors appeared as those after running qmake.

Termbin file created, but window closed before I could get the file address. Was able to capture these -
gnueabihf/qt5/QtNetwork -I/usr/include/arm-linux-gnueabihf/qt5/QtXml -I/usr/include/arm-linux-gnueabihf/qt5/QtCore -I. -I. -I/usr/lib/arm-linux-gnueabihf/qt5/mkspecs/linux-g++ -o bandbuttons.o ../wfview/src/bandbuttons.cpp
{standard input}: Assembler messages:
{standard input}:114: Error: selected processor does not support vld1.32 {q4},[r2]!' in ARM mode {standard input}:115: Error: selected processor does not support vld1.32 {q8},[r3]!’ in ARM mode
{standard input}:117: Error: selected FPU does not support instruction – vmul.f32 q0,q4,q8' {standard input}:120: Error: selected processor does not support vld1.32 {q4,q5},[r2]!’ in ARM mode
{standard input}:121: Error: selected processor does not support vld1.32 {q8,q9},[r3]!' in ARM mode {standard input}:122: Error: selected processor does not support vld1.32 {q6,q7},[r2]!’ in ARM mode
{standard input}:123: Error: selected processor does not support vld1.32 {q10,q11},[r3]!' in ARM mode {standard input}:125: Error: selected FPU does not support instruction -- vmul.f32 q0,q4,q8’
{standard input}:126: Error: selected FPU does not support instruction – vmul.f32 q1,q5,q9' {standard input}:127: Error: selected FPU does not support instruction -- vmul.f32 q2,q6,q10’
{standard input}:128: Error: selected FPU does not support instruction – vmul.f32 q3,q7,q11' {standard input}:130: Error: selected processor does not support vld1.32 {q4,q5},[r2]!’ in ARM mode
{standard input}:131: Error: selected processor does not support vld1.32 {q8,q9},[r3]!' in ARM mode {standard input}:132: Error: selected processor does not support vld1.32 {q6,q7},[r2]!’ in ARM mode
{standard input}:133: Error: selected processor does not support vld1.32 {q10,q11},[r3]!' in ARM mode {standard input}:135: Error: selected FPU does not support instruction -- vmla.f32 q0,q4,q8’
{standard input}:136: Error: selected FPU does not support instruction – vmla.f32 q1,q5,q9' {standard input}:137: Error: selected FPU does not support instruction -- vmla.f32 q2,q6,q10’
{standard input}:138: Error: selected FPU does not support instruction – vmla.f32 q3,q7,q11' {standard input}:140: Error: selected FPU does not support instruction -- vadd.f32 q4,q0,q1’
{standard input}:141: Error: selected FPU does not support instruction – vadd.f32 q5,q2,q3' {standard input}:143: Error: selected FPU does not support instruction -- vadd.f32 q0,q4,q5’
{standard input}:145: Error: selected processor does not support vld1.32 {q6},[r2]!' in ARM mode {standard input}:146: Error: selected processor does not support vld1.32 {q10},[r3]!’ in ARM mode
{standard input}:148: Error: selected FPU does not support instruction – vmla.f32 q0,q6,q10' {standard input}:150: Error: selected FPU does not support instruction -- vadd.f32 d0,d0,d1’
{standard input}:151: Error: selected processor does not support vpadd.f32 d0,d0,d0' in ARM mode {standard input}:1662: Error: selected FPU does not support instruction -- vcvt.s32.f32 d0,d0,#15’
{standard input}:1663: Error: selected processor does not support vqrshrn.s32 d0,q0,#15' in ARM mode {standard input}:1664: Error: selected FPU does not support instruction -- vmov.s16 r3,d0[0]’

What are the next steps?

Thanks Michael - KG5UMH

Hi Michael,

Do you know if you are using a 32 or 64 bit system?

–E
de W6EL

Elliott

32-Bit System

Hi Michael,

Did you add any third party repositories to the system? The error implies that you are compiling for the wrong architecture, or that some library we are linking against is a different architecture.

—E
de W6EL

Elliott,

The only “other” repositories were those that you had listed in the original post on July 3 or July 4.
I am currently flashing 64-bit OS trixie and will be trying it. Will download fullbuild-wfview.sh and using that to install.
Thanks

Elliott;

Installed Raspberry Pi OS Trixie 64-bit on the Pi 3B+.

Downloaded and ran the wfview.sh file.

Error message - could not find librtaudio6. Found another post on here regarding the same error. Followed the steps listed. In wfview.sh changed librtaudio6 to librtaudio7 and the program compiled fine.

In the process of configuring wfview server for Internet access.

Thanks

That’s great!

Unfortunately having a script that builds for various Linux distributions means it has to know about every version of every package, which is quite a moving target!

Glad you sorted it, we will get librtaudio7 added as an option.

Phil