Closed arvatoth-vcc closed 2 years ago
Hi,
I have tried to compile sniffer from source code on Ubuntu Jammy, but compile has stopped.
jitterbuffer/asterisk/utils.h:74:21: error: conflicting declaration of 'unsigned int HeapSafeCheck' with 'C' linkage 74 | extern unsigned int HeapSafeCheck; |
g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0
I tried with master and develop branch too.
Steps to reproduce:
docker run -it --rm ubuntu:22.04 apt update apt install git curl debhelper quilt dh-apparmor autotools-dev libmysqlclient-dev libvorbis-dev libpcap-dev libsnappy-dev libssl-dev unixodbc-dev librrd-dev libjson-c-dev libsnappy-dev libpcap-dev libvorbis-dev libcurl4-openssl-dev libicu-dev libgoogle-perftools-dev libfftw3-dev libpng-dev libxml2-dev liblzo2-dev libgcrypt20-dev libglib2.0-dev gnutls-dev libmysqlclient-dev git clone https://github.com/voipmonitor/sniffer.git cd sniffer && ./configure && make
Thank you!
I can compile with gcc-10 instead of gcc-11.
This is already fixed in the git, GCC11 will work with the latest sources.
Hi,
I have tried to compile sniffer from source code on Ubuntu Jammy, but compile has stopped.
g++ (Ubuntu 11.2.0-19ubuntu1) 11.2.0
I tried with master and develop branch too.
Steps to reproduce:
Thank you!