psi-plus / main

Main repository with patches and required resources
https://psi-plus.com/
GNU Lesser General Public License v2.1
68 stars 20 forks source link

iris/tools/nettool compile issue #701

Open vitlav opened 6 years ago

vitlav commented 6 years ago

/usr/bin/qmake-qt5 -o Makefile nettool.pro g++ -c -pipe -g -O2 -std=gnu++11 -Wall -W -D_REENTRANT -fPIC -DQT_NO_DEBUG -DQT_NETWORK_LIB -DQT_CORE_LIB -I. -I../../include -I../../include/iris -isystem /usr/include/qt5/Qca-qt5/QtCrypto -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -I. -I/usr/lib64/qt5/mkspecs/linux-g++ -o main.o main.cpp Creating/updating '../../lib/libirisnet.a' (cd /tmp/.private/lav/RPM/BUILD/psi-plus-snapshots-1.2.71/iris/src/irisnet/noncore;make) make[1]: Вход в каталог /tmp/.private/lav/RPM/BUILD/psi-plus-snapshots-1.2.71/iris/src/irisnet/noncore' make[1]: Цельfirst' не требует выполнения команд. make[1]: Выход из каталога `/tmp/.private/lav/RPM/BUILD/psi-plus-snapshots-1.2.71/iris/src/irisnet/noncore' main.cpp: In member function ‘void ResolveService::start()’: main.cpp:387:8: error: ‘class XMPP::ServiceResolver’ has no member named ‘startFromInstance’ dns.startFromInstance(instance.toLatin1() + '.' + type.toLatin1() + ".local."); ^~~~~ main.cpp:389:8: error: ‘class XMPP::ServiceResolver’ has no member named ‘startFromDomain’ dns.startFromDomain(domain, type); ^~~~~~~ main.cpp:391:8: error: ‘class XMPP::ServiceResolver’ has no member named ‘startFromPlain’ dns.startFromPlain(domain, port); ^~~~~~

psi-plus-snapshots-1.2.71

Vitozz commented 6 years ago

Try to disable iris test tools in iris.pro file before: iris_tests:SUBDIRS += sub_tools after:

iris_tests:SUBDIRS += sub_tools

Ri0n commented 6 years ago

from instance was removed by 70b6fb2ed4e3909eaf5eb15951c9c27146c27399 in 2009.

Ri0n commented 6 years ago

may be should just remove the nettool

vitlav commented 6 years ago

I need a tool to debug STUN issues in psi. I guess nettool can helps in it.