daemon/src/sip/sipvoiplink.h: In static member function ‘static pjsip_tpselector ring::SIPVoIPLink::getTransportSelector(pjsip_transport*)’:
Hey
get error on ./make-ring.py --install
+ make -j4
make all-recursive
make[1]: Entering directory '/root/ring-project/daemon'
Making all in src
make[2]: Entering directory '/root/ring-project/daemon/src'
Making all in client
make[3]: Entering directory '/root/ring-project/daemon/src/client'
CXX libclient_la-callmanager.lo
CXX libclient_la-videomanager.lo
In file included from callmanager.cpp:30:
/root/ring-project/daemon/src/sip/sipvoiplink.h: In static member function ‘static pjsip_tpselector ring::SIPVoIPLink::getTransportSelector(pjsip_transport*)’:
/root/ring-project/daemon/src/sip/sipvoiplink.h:162:75: error: braces around scalar initializer for type ‘pj_bool_t’ {aka ‘int’}
pjsip_tpselector tp = {PJSIP_TPSELECTOR_TRANSPORT, {transport}};
^
make[3]: *** [Makefile:564: libclient_la-callmanager.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/root/ring-project/daemon/src/client'
make[2]: *** [Makefile:1048: all-recursive] Error 1
make[2]: Leaving directory '/root/ring-project/daemon/src'
make[1]: *** [Makefile:551: all-recursive] Error 1
make[1]: Leaving directory '/root/ring-project/daemon'
make: *** [Makefile:482: all] Error 2
Traceback (most recent call last):
File "./make-ring.py", line 630, in <module>
main()
File "./make-ring.py", line 617, in main
run_install(parsed_args)
File "./make-ring.py", line 399, in run_install
return subprocess.run(["./scripts/install.sh"] + install_args, env=environ, check=True)
File "/usr/lib/python3.7/subprocess.py", line 487, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['./scripts/install.sh', '-p', '4', '-c', 'client-gnome']' returned non-zero exit status 2.