juribeparada / MMDVM_CM

Cross-mode conversion tools for MMDVM software
43 stars 53 forks source link

YSF2DMR not compling #34

Closed m0glj closed 4 years ago

m0glj commented 4 years ago
root@vps-4a62c445:~/MMDVM_CM# make make -C DMR2NXDN make[1]: Entering directory '/root/MMDVM_CM/DMR2NXDN' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/MMDVM_CM/DMR2NXDN' make -C DMR2YSF make[1]: Entering directory '/root/MMDVM_CM/DMR2YSF' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/MMDVM_CM/DMR2YSF' make -C NXDN2DMR make[1]: Entering directory '/root/MMDVM_CM/NXDN2DMR' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/root/MMDVM_CM/NXDN2DMR' make -C YSF2DMR make[1]: Entering directory '/root/MMDVM_CM/YSF2DMR' g++ -g -O3 -Wall -std=c++0x -pthread -c -o Conf.o Conf.cpp In file included from Conf.cpp:21:0: Conf.h:57:18: error: ‘unsigned char* CConf::getYsfDT1()’ cannot be overloaded unsigned char* getYsfDT1(); ^~~~~~~~~ Conf.h:54:30: error: with ‘std::vector CConf::getYsfDT1()’ std::vector getYsfDT1(); ^~~~~~~~~ Conf.h:58:18: error: ‘unsigned char* CConf::getYsfDT2()’ cannot be overloaded unsigned char* getYsfDT2(); ^~~~~~~~~ Conf.h:55:30: error: with ‘std::vector CConf::getYsfDT2()’ std::vector getYsfDT2(); ^~~~~~~~~ Conf.h:59:17: error: ‘char* CConf::getYsfRadioID()’ cannot be overloaded char* getYsfRadioID(); ^~~~~~~~~~~~~ Conf.h:56:16: error: with ‘std::__cxx11::string CConf::getYsfRadioID()’ std::string getYsfRadioID(); ^~~~~~~~~~~~~ Makefile:20: recipe for target 'Conf.o' failed make[1]: *** [Conf.o] Error 1 make[1]: Leaving directory '/root/MMDVM_CM/YSF2DMR' Makefile:7: recipe for target 'YSF2DMR' failed make: *** [YSF2DMR] Error 2 root@vps-4a62c445:~/MMDVM_CM#
AndyTaylorTweet commented 4 years ago

PR coming

AndyTaylorTweet commented 4 years ago

PR submitted / pulled and tested. The code now compiles clean again - you just need to "git pull" to bring your local copy up to date, then "make clean" and "make" again and you should be in good shape.

m0glj commented 4 years ago

Complies Now