Please find attached patch to fix this issue.
-- Antoni Villalonga https://friki.cat/
Description: fixes gcc-10 build issues Author: Antoni Villalonga <ant...@friki.cat> Last-Update: 2020-08-02 --- a/common/includes/debug.h +++ b/common/includes/debug.h @@ -24,7 +24,7 @@ #include <stdio.h> #include <time.h> -int debug; +extern int debug; #ifndef _WIN32 #define DPRINTF(level, fmt, args...) \ --- a/server/main.c +++ b/server/main.c @@ -42,6 +42,8 @@ #include "myerror.h" #include "log.h" +int debug; + int detach_process(t_conf *conf) { int fd; --- a/client/main.c +++ b/client/main.c @@ -36,6 +36,8 @@ #include "myerror.h" #include "dns.h" +int debug; + /** * @brief main part * @retval 0 on success