Compiling error on ./DVSwitch-System-Builder.sh


 

Running  Debian Stretch on  OVH VPS .   Asterisk is loaded  but was  stopped during compiling  ...


Got this error during compiling of the latest version



c++ -g -O3 -Wall -std=c++0x -pthread -c -o UDPSocket.o UDPSocket.cpp
UDPSocket.cpp: In member function ‘int CUDPSocket::read(unsigned char*, unsigned int, sockaddr_storage&, unsigned int&)’:
UDPSocket.cpp:294:50: error: ‘LogMessage’ was not declared in this scope
    LogMessage("Re-opening UDP port on %u", m_port);
                                                                                                ^
Makefile:15: recipe for target 'UDPSocket.o' failed
make: *** [UDPSocket.o] Error 1..

root@vps275731:/srv/DVSwitch-System-Builder#





 I am  out of clue  >>>


Richard VE2DJE


Steve N4IRS
 

Richard,
I suggest you use DVSwitch Server

If you are starting from scratch:

as root:
wget http://dvswitch.org/buster
chmod +x buster
./buster

apt-get update
apt-get install dvswitch will install analog-bridge, md380-emu, mmdvm-bridge, nxdngateway, nxdnparrot, p25gateway, p25parrot, ysfgateway, ysfparrot, ircddbgateway, quantar-bridge 

apt-get install dvswitch-server will install all of the above plus the menu and the dashboard.

If you want to continue from where you are:
edit /etc/apt/sources.list.d/dvswitch.list
change stretch to buster.
apt-get update
install from above.



On 11/1/20 5:50 PM, Richard (Joseph) VE2DJE wrote:

Running  Debian Stretch on  OVH VPS .   Asterisk is loaded  but was  stopped during compiling  ...


Got this error during compiling of the latest version



c++ -g -O3 -Wall -std=c++0x -pthread -c -o UDPSocket.o UDPSocket.cpp
UDPSocket.cpp: In member function ‘int CUDPSocket::read(unsigned char*, unsigned int, sockaddr_storage&, unsigned int&)’:
UDPSocket.cpp:294:50: error: ‘LogMessage’ was not declared in this scope
    LogMessage("Re-opening UDP port on %u", m_port);
                                                                                                ^
Makefile:15: recipe for target 'UDPSocket.o' failed
make: *** [UDPSocket.o] Error 1..

root@vps275731:/srv/DVSwitch-System-Builder#





 I am  out of clue  >>>


Richard VE2DJE



 

Thanks. Dvswitch installed and services are all running ok.
Will work on Android / Pyuc to clear out my questions.
No luck on Dvswitch  Server
Will get back to you 
We already have apache2 running.
Where can I get Dvswitch Dashboard to try installing it on the VPS. ??

Richard

Le dim. 1 nov. 2020 6 h 17 p.m., Steve N4IRS <szingman@...> a écrit :
Richard,
I suggest you use DVSwitch Server

If you are starting from scratch:

as root:
wget http://dvswitch.org/buster
chmod +x buster
./buster

apt-get update
apt-get install dvswitch will install analog-bridge, md380-emu, mmdvm-bridge, nxdngateway, nxdnparrot, p25gateway, p25parrot, ysfgateway, ysfparrot, ircddbgateway, quantar-bridge 

apt-get install dvswitch-server will install all of the above plus the menu and the dashboard.

If you want to continue from where you are:
edit /etc/apt/sources.list.d/dvswitch.list
change stretch to buster.
apt-get update
install from above.



On 11/1/20 5:50 PM, Richard (Joseph) VE2DJE wrote:

Running  Debian Stretch on  OVH VPS .   Asterisk is loaded  but was  stopped during compiling  ...


Got this error during compiling of the latest version



c++ -g -O3 -Wall -std=c++0x -pthread -c -o UDPSocket.o UDPSocket.cpp
UDPSocket.cpp: In member function ‘int CUDPSocket::read(unsigned char*, unsigned int, sockaddr_storage&, unsigned int&)’:
UDPSocket.cpp:294:50: error: ‘LogMessage’ was not declared in this scope
    LogMessage("Re-opening UDP port on %u", m_port);
                                                                                                ^
Makefile:15: recipe for target 'UDPSocket.o' failed
make: *** [UDPSocket.o] Error 1..

root@vps275731:/srv/DVSwitch-System-Builder#





 I am  out of clue  >>>


Richard VE2DJE



Steve N4IRS
 

apt-get install dvswitch-dashboard

On 11/2/20 6:58 AM, Richard (Joseph) VE2DJE wrote:
Thanks. Dvswitch installed and services are all running ok.
Will work on Android / Pyuc to clear out my questions.
No luck on Dvswitch  Server
Will get back to you 
We already have apache2 running.
Where can I get Dvswitch Dashboard to try installing it on the VPS. ??

Richard

Le dim. 1 nov. 2020 6 h 17 p.m., Steve N4IRS <szingman@...> a écrit :
Richard,
I suggest you use DVSwitch Server

If you are starting from scratch:

as root:
wget http://dvswitch.org/buster
chmod +x buster
./buster

apt-get update
apt-get install dvswitch will install analog-bridge, md380-emu, mmdvm-bridge, nxdngateway, nxdnparrot, p25gateway, p25parrot, ysfgateway, ysfparrot, ircddbgateway, quantar-bridge 

apt-get install dvswitch-server will install all of the above plus the menu and the dashboard.

If you want to continue from where you are:
edit /etc/apt/sources.list.d/dvswitch.list
change stretch to buster.
apt-get update
install from above.



On 11/1/20 5:50 PM, Richard (Joseph) VE2DJE wrote:

Running  Debian Stretch on  OVH VPS .   Asterisk is loaded  but was  stopped during compiling  ...


Got this error during compiling of the latest version



c++ -g -O3 -Wall -std=c++0x -pthread -c -o UDPSocket.o UDPSocket.cpp
UDPSocket.cpp: In member function ‘int CUDPSocket::read(unsigned char*, unsigned int, sockaddr_storage&, unsigned int&)’:
UDPSocket.cpp:294:50: error: ‘LogMessage’ was not declared in this scope
    LogMessage("Re-opening UDP port on %u", m_port);
                                                                                                ^
Makefile:15: recipe for target 'UDPSocket.o' failed
make: *** [UDPSocket.o] Error 1..

root@vps275731:/srv/DVSwitch-System-Builder#





 I am  out of clue  >>>


Richard VE2DJE




 

Got the problem ,  dvswitch-dashboard or  dvswitch-server would not install  because of a newer version of  libssl blocking lighttpd.

Here is what i did to fix it .

 SCREEN CAPTURE BEGINS

 root@vps275731:/tmp#apt-get install aptitude

root@vps275731:/tmp# aptitude  install lighttpd
The following NEW packages will be installed:
  libfam0{a} lighttpd
The following packages are RECOMMENDED but will NOT be installed:
  spawn-fcgi
0 packages upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 311 kB of archives. After unpacking 1,041 kB will be used.
The following packages have unmet dependencies:
 libssl1.1 : Breaks: lighttpd (< 1.4.49-2) but 1.4.45-1 is to be installed
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     lighttpd [Not Installed]

Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

     Downgrade the following packages:
1)     libssl1.1 [1.1.1g-1+0~20200421.17+debian9~1.gbpf6902f (<NULL>, now) -> 1.1.0l-1~deb9u1 (oldstable)]

Accept this solution? [Y/n/q/?] Y
The following packages will be DOWNGRADED:
  libssl1.1

SCREEN CAPTURE CONTINUES AND ENDS WITH FINISHED INSTALLATION


After  that ,  dvswitch-server is installing perfectly ...

There might be a more elegant way to resolve that  but it worked .


THANKS AGAIN FOR  YOUR GREAT WORK ...

MUCH APPRECIATED


Richard VE2DJE




Le 2020-11-02 à 07:22, Steve N4IRS a écrit :

apt-get install dvswitch-dashboard

On 11/2/20 6:58 AM, Richard (Joseph) VE2DJE wrote:
Thanks. Dvswitch installed and services are all running ok.
Will work on Android / Pyuc to clear out my questions.
No luck on Dvswitch  Server
Will get back to you 
We already have apache2 running.
Where can I get Dvswitch Dashboard to try installing it on the VPS. ??

Richard

Le dim. 1 nov. 2020 6 h 17 p.m., Steve N4IRS <szingman@...> a écrit :
Richard,
I suggest you use DVSwitch Server

If you are starting from scratch:

as root:
wget http://dvswitch.org/buster
chmod +x buster
./buster

apt-get update
apt-get install dvswitch will install analog-bridge, md380-emu, mmdvm-bridge, nxdngateway, nxdnparrot, p25gateway, p25parrot, ysfgateway, ysfparrot, ircddbgateway, quantar-bridge 

apt-get install dvswitch-server will install all of the above plus the menu and the dashboard.

If you want to continue from where you are:
edit /etc/apt/sources.list.d/dvswitch.list
change stretch to buster.
apt-get update
install from above.



On 11/1/20 5:50 PM, Richard (Joseph) VE2DJE wrote:

Running  Debian Stretch on  OVH VPS .   Asterisk is loaded  but was  stopped during compiling  ...


Got this error during compiling of the latest version



c++ -g -O3 -Wall -std=c++0x -pthread -c -o UDPSocket.o UDPSocket.cpp
UDPSocket.cpp: In member function ‘int CUDPSocket::read(unsigned char*, unsigned int, sockaddr_storage&, unsigned int&)’:
UDPSocket.cpp:294:50: error: ‘LogMessage’ was not declared in this scope
    LogMessage("Re-opening UDP port on %u", m_port);
                                                                                                ^
Makefile:15: recipe for target 'UDPSocket.o' failed
make: *** [UDPSocket.o] Error 1..

root@vps275731:/srv/DVSwitch-System-Builder#





 I am  out of clue  >>>


Richard VE2DJE




Virus-free. www.avg.com