Install fails on RPI 3B

I’m trying to install on my RPU 3B, which has a recent install of bullseye version 11.
I’m following the instructions found in the INSTALL.md.
I’ve changed Make -j to make and I’m getting the error below with or without the -j:

make
/usr/lib/qt5/bin/uic …/wfview/wfmain.ui -o ui_wfmain.h
/usr/lib/qt5/bin/uic …/wfview/calibrationwindow.ui -o ui_calibrationwindow.h
/usr/lib/qt5/bin/uic …/wfview/satellitesetup.ui -o ui_satellitesetup.h
/usr/lib/qt5/bin/uic …/wfview/selectradio.ui -o ui_selectradio.h
/usr/lib/qt5/bin/uic …/wfview/repeatersetup.ui -o ui_repeatersetup.h
/usr/lib/qt5/bin/uic …/wfview/transceiveradjustments.ui -o ui_transceiveradjustments.h
/usr/lib/qt5/bin/uic …/wfview/aboutbox.ui -o ui_aboutbox.h
g++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2e” -DBUILD_WFVIEW -D__LINUX_PULSE__ -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DEIGEN_MPL2_ONLY -DEIGEN_DONT_VECTORIZE -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“5dcb081” -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/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtSerialPort -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o …/wfview/main.cpp
g++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2e” -DBUILD_WFVIEW -D__LINUX_PULSE__ -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DEIGEN_MPL2_ONLY -DEIGEN_DONT_VECTORIZE -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“5dcb081” -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/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtSerialPort -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o wfmain.o …/wfview/wfmain.cpp
{standard input}: Assembler messages:
{standard input}:105916: Warning: end of file not at end of a line; newline inserted
{standard input}:106784: Error: unknown pseudo-op: `.t’
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:985: wfmain.o] Error 1

I thought maybe I was short on space but df -h shows 21G free:
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 29G 7.5G 21G 27% /
devtmpfs 326M 0 326M 0% /dev
tmpfs 455M 0 455M 0% /dev/shm
tmpfs 182M 1.1M 181M 1% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 253M 32M 221M 13% /boot
tmpfs 91M 28K 91M 1% /run/user/1000

Good morning,

Can you try using the build script to see if the error is the same? Our INSTALL.md file may be a bit outdated.

https://wfview.org/download/#pi

—E
de W6EL

The last part of the output from the script is as follows:

++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2e” -DBUILD_WFVIEW -D__LINUX_PULSE__ -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DEIGEN_MPL2_ONLY -DEIGEN_DONT_VECTORIZE -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“5dcb081” -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/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtSerialPort -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o …/wfview/main.cpp
g++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2e” -DBUILD_WFVIEW -D__LINUX_PULSE__ -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DEIGEN_MPL2_ONLY -DEIGEN_DONT_VECTORIZE -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“5dcb081” -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/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtSerialPort -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o wfmain.o …/wfview/wfmain.cpp
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:985: wfmain.o] Error 1
make: *** Waiting for unfinished jobs…
Error in make step.
wfview was not compiled.

As it is a Pi3B, it is likely running out of RAM during the compile, try editing line 153 and remove “-j2” from the line “make -j2” and then run the script again. -j2 tells Make to run up to two simultaneous compiles.

73 Phil M0VSE

After 2+ days compiling on the RPI it failed with the error below:
./fullbuild-wfview.sh
This script will download dependencies, build, and install wfview.
It is designed for debian-based systems and
makes use of the apt command to satisfy dependencies.

If it has been a while since this script was downloaded,
or if there are build errors, please use this command to
download a newer version of this script:

wget https://gitlab.com/eliggett/scripts/-/raw/master/fullbuild-wfview.sh?inline=false -O fullbuild-wfview.sh; chmod 755 fullbuild-wfview.sh

The ‘sudo’ command is used to run some commands as root.
It (the sudo command) will ask for your password during this process.
You should look at the source of this script if you have any doubts.

Do you wish to install dependencies first?
If this is your first time building wfview,
or, if you have not done so in a while,
please select ‘y’, otherwise, press ‘n’.
If you are not sure, select ‘y’ to be safe.

Press Y to install dependencies (Y/n): n
Skipping dependency install steps.
Press enter to download wfview’s source code.
Now downloading the latest source code from the master branch.
The files will be downloaded into a directory named: wfview–20220613–09-19-23
Cloning into ‘wfview’…
remote: Enumerating objects: 161, done.
remote: Counting objects: 100% (161/161), done.
remote: Compressing objects: 100% (152/152), done.
remote: Total 161 (delta 14), reused 109 (delta 8), pack-reused 0
Receiving objects: 100% (161/161), 1.44 MiB | 3.43 MiB/s, done.
Resolving deltas: 100% (14/14), done.
Creating build directory ‘build’:
The build process may take a few minutes.
Press enter to start.
Starting build process.
Info: creating stash file /home/pi/Downloads/wfview–20220613–09-19-23/build/.qmake.stash
/usr/lib/qt5/bin/uic …/wfview/wfmain.ui -o ui_wfmain.h
/usr/lib/qt5/bin/uic …/wfview/calibrationwindow.ui -o ui_calibrationwindow.h
/usr/lib/qt5/bin/uic …/wfview/satellitesetup.ui -o ui_satellitesetup.h
/usr/lib/qt5/bin/uic …/wfview/selectradio.ui -o ui_selectradio.h
/usr/lib/qt5/bin/uic …/wfview/repeatersetup.ui -o ui_repeatersetup.h
/usr/lib/qt5/bin/uic …/wfview/transceiveradjustments.ui -o ui_transceiveradjustments.h
/usr/lib/qt5/bin/uic …/wfview/aboutbox.ui -o ui_aboutbox.h
g++ -c -pipe -s -fvisibility=hidden -fvisibility-inlines-hidden -faligned-new -O2 -Wall -Wextra -D_REENTRANT -fPIC -DWFVIEW_VERSION=“1.2e” -DBUILD_WFVIEW -D__LINUX_PULSE__ -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DEIGEN_MPL2_ONLY -DEIGEN_DONT_VECTORIZE -DPREFIX="/usr/local" -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“5dcb081” -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/aarch64-linux-gnu/qt5 -I/usr/include/aarch64-linux-gnu/qt5/QtMultimedia -I/usr/include/aarch64-linux-gnu/qt5/QtPrintSupport -I/usr/include/aarch64-linux-gnu/qt5/QtWidgets -I/usr/include/aarch64-linux-gnu/qt5/QtGui -I/usr/include/aarch64-linux-gnu/qt5/QtSerialPort -I/usr/include/aarch64-linux-gnu/qt5/QtNetwork -I/usr/include/aarch64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/aarch64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o …/wfview/main.cpp
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make: *** [Makefile:951: main.o] Error 1
Error in make step.
wfview was not compiled.
Please consider posting the error(s) to https://forum.wfview.org/

Hi

That’s annoying as I had hoped reducing the number of simultaneous compiles would help? Are you running the latest Pi OS as there may be issues in older versions?

I am pretty sure people have successfully compiled wfview on the 3B? I know it works on the Pi4 but haven’t tried it on older models myself?

73 Phil M0VSE

Hi Roninbako,

How much ram do you have on the Pi? Can you run the command dmesg right after the crash to see if there are any useful messages?

You might be able to scrape by (if it is a memory issue) by creating a large swap space temporarily. And also making sure you’re using make -j1 in the build script so that it is only one CPU chugging at a time.

–E
de W6EL

See here for the swap command:

https://forums.raspberrypi.com/viewtopic.php?t=142243

Also try reducing your GPU memory to the minimum that you can, just while you’re doing the compile.

I’m confident memory is your issue, it seems to be something that comes up with the Pi.

–E
de W6EL

Never saw an end to this story so today I installed latest raspbian (220922?) on a Pi3B
and it works OK, installed the usual prerequisites first and then the fullbuild script.
I got a strange stop with no error and restarted the fullbuild script once and then make install
and it runs.
CPU usage is 20-23 % mem 9%.
(Total memory is 922 MB. Load average after 30 minutes 0.4, 0.33 0.29)
Made server active and that works OK too.

/ Tommy