Build fails, Pop! OS 20.04 (based on ubuntu 20.04

Howdy, KB9RLW, Kevin here.

I’m attempting to build this for a video on my youtube channel. I’m no stranger to building from source, and I followed the build directions to the letter. Everything was fine up to the make -j step. Several errors were reported, I’ll paste the output below this text. There is no ‘install.sh’ script in the build or the wfview directories, so I’m assuming that was supposed to be created by the make process?
Here’s the output of the make -j command. I’d love to get this going with my IC705. Thanks for any help,

Kevin.

------------------> output of make -j command below <----------------

loughkb@darter-pro:~/Documents/build$ make -j

/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/udpserversetup.ui -o ui_udpserversetup.h

/usr/lib/qt5/bin/uic …/wfview/repeatersetup.ui -o ui_repeatersetup.h

g++ -c -pipe -march=native -s -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“96f85a3” -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. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o main.o …/wfview/main.cpp

g++ -c -pipe -march=native -s -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“96f85a3” -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. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o commhandler.o …/wfview/commhandler.cpp

g++ -c -pipe -march=native -s -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“96f85a3” -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. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o rigcommander.o …/wfview/rigcommander.cpp

g++ -c -pipe -march=native -s -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“96f85a3” -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. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o freqmemory.o …/wfview/freqmemory.cpp

cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch

cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native

cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch

cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native

cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch

cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native

cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch

cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native

g++ -c -pipe -march=native -s -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DQT_DEPRECATED_WARNINGS -DQCUSTOMPLOT_COMPILE_LIBRARY -DOUTSIDE_SPEEX -DRANDOM_PREFIX=wf -DHOST="hostname" -DUNAME="whoami" -DGITSHORT=“96f85a3” -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. -isystem /usr/include/x86_64-linux-gnu/qt5 -isystem /usr/include/x86_64-linux-gnu/qt5/QtMultimedia -isystem /usr/include/x86_64-linux-gnu/qt5/QtPrintSupport -isystem /usr/include/x86_64-linux-gnu/qt5/QtWidgets -isystem /usr/include/x86_64-linux-gnu/qt5/QtGui -isystem /usr/include/x86_64-linux-gnu/qt5/QtSerialPort -isystem /usr/include/x86_64-linux-gnu/qt5/QtNetwork -isystem /usr/include/x86_64-linux-gnu/qt5/QtCore -I. -I. -I/usr/lib/x86_64-linux-gnu/qt5/mkspecs/linux-g++ -o rigidentities.o …/wfview/rigidentities.cpp

cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch

make: *** [Makefile:719: commhandler.o] Error 1

make: *** Waiting for unfinished jobs…

cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native

make: *** [Makefile:693: main.o] Error 1

cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch

cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native

cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch

cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native

cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch

cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native

make: *** [Makefile:731: rigcommander.o] Error 1

make: *** [Makefile:735: freqmemory.o] Error 1

cc1plus: error: bad value (‘tigerlake’) for ‘-march=’ switch

cc1plus: note: valid arguments to ‘-march=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 native

cc1plus: error: bad value (‘tigerlake’) for ‘-mtune=’ switch

cc1plus: note: valid arguments to ‘-mtune=’ switch are: nocona core2 nehalem corei7 westmere sandybridge corei7-avx ivybridge core-avx-i haswell core-avx2 broadwell skylake skylake-avx512 cannonlake icelake-client icelake-server cascadelake bonnell atom silvermont slm goldmont goldmont-plus tremont knl knm intel x86-64 eden-x2 nano nano-1000 nano-2000 nano-3000 nano-x2 eden-x4 nano-x4 k8 k8-sse3 opteron opteron-sse3 athlon64 athlon64-sse3 athlon-fx amdfam10 barcelona bdver1 bdver2 bdver3 bdver4 znver1 znver2 btver1 btver2 generic native

make: *** [Makefile:739: rigidentities.o] Error 1

loughkb@darter-pro:~/Documents/build$ ls

Makefile ui_repeatersetup.h ui_udpserversetup.h

ui_calibrationwindow.h ui_satellitesetup.h ui_wfmain.h

loughkb@darter-pro:~/Documents/build$ cd …/wfview

loughkb@darter-pro:~/Documents/wfview$ ls

audiohandler.cpp pttyhandler.h satellitesetup.ui

audiohandler.h qdarkstyle udphandler.cpp

calibrationwindow.cpp qledlabel.cpp udphandler.h

calibrationwindow.h qledlabel.h udpserver.cpp

calibrationwindow.ui README.md udpserver.h

CHANGELOG repeaterattributes.h udpserversetup.cpp

commhandler.cpp repeatersetup.cpp udpserversetup.h

commhandler.h repeatersetup.h udpserversetup.ui

CONTRIBUTING.md repeatersetup.ui USERMANUAL

freqmemory.cpp resampler wfmain.cpp

freqmemory.h resources wfmain.h

INSTALL.md rigcommander.cpp wfmain.ui

INSTALL_PREBUILT_BINARY.md rigcommander.h wfview.code-workspace

LICENSE rigctld.cpp wfview.icns

logcategories.cpp rigctld.h wfview.pro

logcategories.h rigidentities.cpp wfview.sln

main.cpp rigidentities.h wfview.vcxproj

meter.cpp rxaudiohandler.cpp wfview.vcxproj.filters

meter.h rxaudiohandler.h wfview.vcxproj.user

packettypes.h satellitesetup.cpp

pttyhandler.cpp satellitesetup.h

Hi Kevin,

I can tell you that the install.sh script only gets copied in after the build completes.

As for the -mtune flag, this is a flag to gcc to tune the operation for a specific CPU. Linux does provide ways to set global flags for building, and I suspect that Pop has defined something that is not compatible with our “-march=native” flag.

What I would try, is editing the wfview.pro file and removing these two lines:

QMAKE_CXXFLAGS += -march=native
and
QMAKE_LFLAGS += -O2 -march=native -s

This will make your build more “normal” and likely not conflict with any defaults in Pop.

Once you make this change, completely remove the “build” directory and make a new build directory. Then follow the qmake and make steps as you normally would. If this works, I would like to hear from you and I’ll consider removing those flags from the code. I’m not sure they serve us that well anyway.

Thanks and 73!

–E
de W6EL

Thanks Elliot, that worked and it built fine. Connects to my 705 and it worked once. On second launch it says IC705 available but after hitting connect in the lan settings it won’t talk again, no waterfall activity.

I’ll keep fiddling around with it. I’ll get it going.

Hi Kevin.

That sounds like wfview may not have exited cleanly? When it is closed, it sends various commands to the rig to disconnect it. You can tell if that has happened as the “WLAN” icon will still be displayed on the 705 display.

The radio will eventually realise that it has lost the connection or you can reboot the radio.

73 Phil

Yeah, that was probably it. It’s working fine now. Surprisingly well actually.

Has anyone used this over the internet with port forwarding through their router? I’m sure to get that question on the eventual video so I’d rather answer it in the video if possible. I’m on cellular internet and the cell companies do not pass incoming requests on high ports so I can’t test it.

This sure beats icom’s ridiculously expensive software! Now we just need some talented android and iOS programmers to make phone/tablet versions. :slight_smile:

I just heard from Dave, the creator of HamPi. He’s probably going to include this in the next version he releases.

73,
Kevin

Hi Kevin.

Yes to operating over the Internet. During development, I regularly took control of Roeland’s IC7851 from here and it was surprisingly usable. I spent quite a lot of time on the retransmit and recovery side of the code and it can tolerate quite poor connections!

One of the benefits of Qt is that it already works on Android/IOS (I did get wfview working on my iPad for a time) We would need to rework the UI for this though.

73 Phil M0VSE

Hi Kevin,

I’ll also tag on here that I too tried a rig in The Netherlands (IC-7610) from my location in California. I was using wifi too! The protocol seems extremely robust to jitter and other trans-oceanianic internet issues. It remained incredibly responsive the entire time. I’ve also ran my rigs at home from the local Starbucks wifi without issue. It’s surprisingly good.

–E

Has anyone used this over the internet with port forwarding through their router? I’m sure to get that question on the eventual video so I’d rather answer it in the video if possible. I’m on cellular internet and the cell companies do not pass incoming requests on high ports so I can’t test it.

I’ve used it remotely over the Internet with my Icom 7610 and it works well. I forwarded ports 50001, 50002, and 50003 to the LAN IP of my radio and stuff just worked. I have fiber service at home, so way more bandwidth than I need. I ran it for several hours yesterday from my office and had no lost packets and no disconnects. Excellent audio quality.
73,
Doug K4DSP