-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Freedv 1.9.3 cannot be compiled on Linux Mint 19.3 #576
Comments
Looks like Mint 19.3 is no longer a supported release, are you in a position to try a newer Mint LTS release? From what I see the earliest LTS release is Mint 20.x which is supported until April 2025, but Mint 21.x is supported until April 2027. I'm thinking this could be a library versioning issue, requiring something not available in Mint 19.x any more. |
Hi Tyrbiter, |
On Mint 21.2 (19.3 doesn't seem to be available for download anymore), I can't seem to duplicate that error:
That said, does #578 help at all? I made some changes based on the errors you provided. |
I see, that does make it difficult. Maybe @tmiw has fixed this now, please comment so we know. |
I was able to find a 19.3 ISO but it looks like Codec2 needs CMake 3.13, which that version doesn't have. What version of Codec2 are you using, @vwpolo16? |
I was able to use snap to download a newer CMake and finish resolving the remaining compiler errors. Those changes are now in master and will be in the next FreeDV release. Let me know if you run into any additional issues. BTW it looks like PulseAudio support wasn't building, either, so you should also be able to use that now instead of PortAudio. |
Hello tmiw, |
Compile_Error_1_9_3.txt
Hello all,
I tried to compile the freedv 1.9.3 with Linux Mint 19.3 and get the following error:
With the last 10 official versions I had no problem to compile it.
[ 59%] Building CXX object src/rig_control/CMakeFiles/fdv_rig_control.dir/HamlibRigController.cpp.o
cd /home/manfred/freedv_1_9_3/freedv-gui/build_linux/src/rig_control && /usr/bin/c++ -DGIT_HASH="None" -DWXUSINGDLL -D_FILE_OFFSET_BITS=64 -D__WXGTK__ -I/home/manfred/freedv_1_9_3/freedv-gui/build_linux -I/home/manfred/freedv_1_9_3/freedv-gui/build_linux/sioclient_src/src -I/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/.. -I/home/manfred/freedv_1_9_3/freedv-gui/build_linux/src/rig_control/.. -isystem /usr/lib/x86_64-linux-gnu/wx/include/gtk3-unicode-3.0 -isystem /usr/include/wx-3.0 -Wall -pthread -g -std=c++14 -MD -MT src/rig_control/CMakeFiles/fdv_rig_control.dir/HamlibRigController.cpp.o -MF CMakeFiles/fdv_rig_control.dir/HamlibRigController.cpp.o.d -o CMakeFiles/fdv_rig_control.dir/HamlibRigController.cpp.o -c /home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp: In static member function ‘static bool HamlibRigController::RigCompare_(const rig_caps*, const rig_caps*)’:
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:43:13: error: ‘strcasecmp’ was not declared in this scope
int r = strcasecmp(rig1->mfg_name, rig2->mfg_name);
^~~~~~~~~~
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:43:13: note: suggested alternative: ‘wcscasecmp’
int r = strcasecmp(rig1->mfg_name, rig2->mfg_name);
^~~~~~~~~~
wcscasecmp
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp: In constructor ‘HamlibRigController::HamlibRigController(std::__cxx11::string, std::cxx11::string, int, int, HamlibRigController::PttType, std::cxx11::string, bool)’:
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:70:18: error: invalid conversion from ‘int’ to ‘rmode_t’ [-fpermissive]
, origMode(0)
^
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:70:18: error: invalid conversion from ‘int’ to ‘rmode_t’ [-fpermissive]
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp: In constructor ‘HamlibRigController::HamlibRigController(int, std::cxx11::string, int, int, HamlibRigController::PttType, std::cxx11::string, bool)’:
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:88:18: error: invalid conversion from ‘int’ to ‘rmode_t’ [-fpermissive]
, origMode(0)
^
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp: In member function ‘void HamlibRigController::connectImpl()’:
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:223:17: error: invalid conversion from ‘int’ to ‘rmode_t’ [-fpermissive]
origMode = 0;
^
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:237:10: error: ‘strncmp’ was not declared in this scope
if (!strncmp(RigList[rigIndex]->mfg_name, "Icom", 4))
^~~~~~~
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:237:10: note: suggested alternative: ‘wcsncmp’
if (!strncmp(RigList[rigIndex]->mfg_name, "Icom", 4))
^~~~~~~
wcsncmp
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp: In member function ‘void HamlibRigController::disconnectImpl()’:
/home/manfred/freedv_1_9_3/freedv-gui/src/rig_control/HamlibRigController.cpp:330:21: error: invalid conversion from ‘int’ to ‘rmode_t’ [-fpermissive]
origMode = 0;
^
src/rig_control/CMakeFiles/fdv_rig_control.dir/build.make:75: recipe for target 'src/rig_control/CMakeFiles/fdv_rig_control.dir/HamlibRigController.cpp.o' failed
make[2]: *** [src/rig_control/CMakeFiles/fdv_rig_control.dir/HamlibRigController.cpp.o] Error 1
make[2]: Verzeichnis „/home/manfred/freedv_1_9_3/freedv-gui/build_linux“ wird verlassen
CMakeFiles/Makefile2:510: recipe for target 'src/rig_control/CMakeFiles/fdv_rig_control.dir/all' failed
make[1]: *** [src/rig_control/CMakeFiles/fdv_rig_control.dir/all] Error 2
make[1]: Verzeichnis „/home/manfred/freedv_1_9_3/freedv-gui/build_linux“ wird verlassen
Makefile:155: recipe for target 'all' failed
make: *** [all] Error 2
manfred@Cubi-5:
/freedv_1_9_3/freedv-gui$ ^C/freedv_1_9_3/freedv-gui$manfred@Cubi-5:
VY 73
Manfred
The text was updated successfully, but these errors were encountered: