Config seems to be working now, but then make shows several errors that I dont understand. They appear to be warnings, but it literally says that they will be treated as errors
`which git` rev-parse HEAD | awk 'BEGIN {print "#include \"version.h\""} {print "const char *janus_build_git_sha = \"" $0"\";"} END {}' > version.c
echo "Tue Feb 23 13:11:29 EST 2021" | awk 'BEGIN {} {print "const char *janus_build_git_time = \""$0"\";"} END {} ' >> version.c
echo "111" | awk 'BEGIN {} {print "int janus_version = "$0";"} END {} ' >> version.c
echo "0.11.1" | awk 'BEGIN {} {print "const char *janus_version_string = \""$0"\";"} END {} ' >> version.c
PKG_CONFIG_PATH="" pkg-config --modversion nice | awk 'BEGIN {} {print "const char *libnice_version_string = \""$0"\";"} END {} ' >> version.c
make all-recursive
make[1]: Entering directory `/home/charles/janus-gateway'
Making all in html
make[2]: Entering directory `/home/charles/janus-gateway/html'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/charles/janus-gateway/html'
make[2]: Entering directory `/home/charles/janus-gateway'
CC janus-ice.o
ice.c: In function âjanus_ice_test_stun_serverâ:
ice.c:1026:94: warning: passing argument 3 of âstun_message_find_xor_addrâ from incompatible pointer type [-Wincompatible-pointer-types]
StunMessageReturn ret = stun_message_find_xor_addr(&msg, STUN_ATTRIBUTE_XOR_MAPPED_ADDRESS, (struct sockaddr_storage *)address, &addrlen);
^
In file included from /usr/include/stun/stunagent.h:73:0,
from /usr/include/stun/usages/bind.h:61,
from ice.c:24:
/usr/include/stun/stunmessage.h:666:19: note: expected âstruct sockaddr *â but argument is of type âstruct sockaddr_storage *â
StunMessageReturn stun_message_find_xor_addr (const StunMessage *msg,
^~~~~~~~~~~~~~~~~~~~~~~~~~
ice.c:1044:68: warning: passing argument 3 of âstun_message_find_addrâ from incompatible pointer type [-Wincompatible-pointer-types]
ret = stun_message_find_addr(&msg, STUN_ATTRIBUTE_MAPPED_ADDRESS, (struct sockaddr_storage *)address, &addrlen);
^
In file included from /usr/include/stun/stunagent.h:73:0,
from /usr/include/stun/usages/bind.h:61,
from ice.c:24:
/usr/include/stun/stunmessage.h:647:19: note: expected âstruct sockaddr *â but argument is of type âstruct sockaddr_storage *â
StunMessageReturn stun_message_find_addr (const StunMessage *msg,
^~~~~~~~~~~~~~~~~~~~~~
ice.c: In function âjanus_ice_cb_new_local_candidateâ:
ice.c:2127:19: error: implicit declaration of function ânice_address_ip_versionâ; did you mean ânice_address_is_validâ? [-Werror=implicit-function-declaration]
gboolean ipv6 = (nice_address_ip_version(&candidate->addr) == 6);
^~~~~~~~~~~~~~~~~~~~~~~
nice_address_is_valid
ice.c:2127:19: warning: nested extern declaration of ânice_address_ip_versionâ [-Wnested-externs]
ice.c: In function âjanus_ice_candidate_to_stringâ:
ice.c:3183:17: warning: variable âbase_portâ set but not used [-Wunused-but-set-variable]
gint port = 0, base_port = 0;
^~~~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [janus-ice.o] Error 1
make[2]: Leaving directory `/home/charles/janus-gateway'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/charles/janus-gateway'
make: *** [all] Error 2