* Package: net-irc/psybnc-2.3.2.9-r3 * Repository: gentoo * USE: abi_x86_64 amd64 elibc_glibc ipv6 kernel_linux ssl userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Adding group 'psybnc' to your system ... * - Groupid: next available * Adding user 'psybnc' to your system ... * - Userid: 913 * - Shell: /sbin/nologin * - Home: /var/lib/psybnc * - Groups: psybnc * - GECOS: added by portage for psybnc * - Creating /var/lib/psybnc in >>> Unpacking source... >>> Unpacking psyBNC-2.3.2-9.tar.gz to /var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work tar: A lone zero block at 3084 >>> Source unpacked in /var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work >>> Preparing source in /var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc ... * Applying compile.diff ... [ ok ] * Applying ldflags-fix.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc ... make -j4 CC=x86_64-pc-linux-gnu-gcc 'CFLAGS=-O2 -pipe -march=native -frecord-gcc-switches' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0' Initializing bouncer compilation [*] Running Conversion Tool for older psyBNC Data. Using existent configuration File. [*] Running Autoconfig. tools/autoconf.c: In function ‘main’: tools/autoconf.c:483:13: warning: implicit declaration of function ‘time’; did you mean ‘utimes’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 483 | srand(time(NULL)+getpid()); | ^~~~ | utimes System: Linux Socket Libs: External, -lbind required. Environment: No internal Routines. Time-Headers: in time.h and sys/time.h Byte order: Low Endian. IPv6-Support: No. async-DNS-Support: No, using blocking DNS. SSL-Support: No openssl found. Get openssl at www.openssl.org Creating Makefile [*] Compiling MakeSalt for Encryption.. Creating Salt File Salt File created. Move the Salt File to a safe location after psyBNC was compiled and delete it on your shell. You will need the File later for update Compiling. [*] Compiling Bouncer.. make[1]: warning: jobserver unavailable: using -j1. Add '+' to parent make rule. make[1]: Entering directory '/var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc' x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/psybnc.c -o src/psybnc.o In file included from ./src/p_global.h:44, from src/psybnc.c:40: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/psybnc.c: In function ‘bncalarm’: src/psybnc.c:122:5: warning: ‘return’ with no value, in function returning non-void 122 | return; | ^~~~~~ src/psybnc.c:103:5: note: declared here 103 | int bncalarm(void) | ^~~~~~~~ src/psybnc.c: In function ‘printbanner’: src/psybnc.c:155:8: warning: format not a string literal and no format arguments []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Wformat-security]8;;] 155 | fprintf(stdout,lngtxt(990)); | ^~~~~~~ src/psybnc.c: In function ‘main’: src/psybnc.c:180:34: warning: format ‘%s’ expects argument of type ‘char *’, but argument 2 has type ‘FILE *’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat=-Wformat=]8;;] 180 | printf("Configuration File %s not found, aborting\nRun 'make menuconfig' for creating a configuration or create the file manually.\n",conffile); /* rcsid */ | ~^ ~~~~~~~~ | | | | char * FILE * src/psybnc.c:181:6: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 181 | exit (0x0); | ^~~~ src/psybnc.c:181:6: warning: incompatible implicit declaration of built-in function ‘exit’ src/psybnc.c:42:1: note: include ‘’ or provide a declaration of ‘exit’ 41 | #include +++ |+#include 42 | src/psybnc.c:197:7: warning: incompatible implicit declaration of built-in function ‘exit’ 197 | exit(0x0); | ^~~~ src/psybnc.c:197:7: note: include ‘’ or provide a declaration of ‘exit’ src/psybnc.c:205:6: warning: format not a string literal and no format arguments []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Wformat-security]8;;] 205 | printf(lngtxt(996)); | ^~~~~~ src/psybnc.c:206:6: warning: incompatible implicit declaration of built-in function ‘exit’ 206 | exit (0x0); | ^~~~ src/psybnc.c:206:6: note: include ‘’ or provide a declaration of ‘exit’ src/psybnc.c:208:16: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 208 | listenport = atoi(value); | ^~~~ src/psybnc.c:219:6: warning: format not a string literal and no format arguments []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Wformat-security]8;;] 219 | printf(lngtxt(1000)); | ^~~~~~ src/psybnc.c:231:5: warning: format not a string literal and no format arguments []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Wformat-security]8;;] 231 | printf(lngtxt(1002)); | ^~~~~~ src/psybnc.c:232:5: warning: incompatible implicit declaration of built-in function ‘exit’ 232 | exit (0x0); | ^~~~ src/psybnc.c:232:5: note: include ‘’ or provide a declaration of ‘exit’ src/psybnc.c:238:7: warning: format not a string literal and no format arguments []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wformat-security-Wformat-security]8;;] 238 | printf(lngtxt(1004)); | ^~~~~~ src/psybnc.c:239:7: warning: incompatible implicit declaration of built-in function ‘exit’ 239 | exit(0x0); | ^~~~ src/psybnc.c:239:7: note: include ‘’ or provide a declaration of ‘exit’ src/psybnc.c:253:6: warning: implicit declaration of function ‘makesalt’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 253 | makesalt(); | ^~~~~~~~ src/psybnc.c:293:6: warning: incompatible implicit declaration of built-in function ‘exit’ 293 | exit (0x0); | ^~~~ src/psybnc.c:293:6: note: include ‘’ or provide a declaration of ‘exit’ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/match.c -o src/match.o In file included from ./src/p_global.h:44, from src/match.c:39: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_client.c -o src/p_client.o In file included from ./src/p_global.h:44, from src/p_client.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_client.c: In function ‘cmdbwho’: src/p_client.c:196:5: warning: type of ‘usern’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 196 | int cmdbwho(usern) | ^~~~~~~ src/p_client.c: In function ‘firstwelcome’: src/p_client.c:258:5: warning: implicit declaration of function ‘printhelp’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 258 | printhelp(0); | ^~~~~~~~~ src/p_client.c: In function ‘firstuser’: src/p_client.c:264:5: warning: type of ‘npeer’ defaults to ‘int’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-int-Wimplicit-int]8;;] 264 | int firstuser(npeer) { | ^~~~~~~~~ src/p_client.c:276:12: warning: implicit declaration of function ‘cmdadduser’; did you mean ‘cmdintuser’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 276 | linkto=cmdadduser(0); | ^~~~~~~~~~ | cmdintuser src/p_client.c: In function ‘cmdpassword’: src/p_client.c:613:12: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 613 | if(pw) free(pw); | ^~~~ src/p_client.c:613:12: warning: incompatible implicit declaration of built-in function ‘free’ src/p_client.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_client.c: In function ‘cmdjump’: src/p_client.c:636:9: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 636 | if(atoi(irccontent)>0 && atoi(irccontent)<21) | ^~~~ src/p_client.c: In function ‘cmdlinkfrom’: src/p_client.c:1040:5: warning: implicit declaration of function ‘cmdaddlink’; did you mean ‘cmdaidle’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1040 | cmdaddlink(usern,LI_ALLOW); | ^~~~~~~~~~ | cmdaidle src/p_client.c: In function ‘cmddcccancel’: src/p_client.c:1389:2: warning: implicit declaration of function ‘canceldcc’; did you mean ‘cmddeldcc’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1389 | canceldcc(usern,irccontent,NULL); | ^~~~~~~~~ | cmddeldcc src/p_client.c: In function ‘cmdquit’: src/p_client.c:2280:2: warning: implicit declaration of function ‘quitclient’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 2280 | quitclient(usern); | ^~~~~~~~~~ src/p_client.c: In function ‘checkcrypt’: src/p_client.c:2417:4: warning: incompatible implicit declaration of built-in function ‘free’ 2417 | free(pt2); | ^~~~ src/p_client.c:2417:4: note: include ‘’ or provide a declaration of ‘free’ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_crypt.c -o src/p_crypt.o In file included from ./src/p_global.h:44, from src/p_crypt.c:51: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_dcc.c -o src/p_dcc.o In file included from ./src/p_global.h:44, from src/p_dcc.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_dcc.c: In function ‘loaddccs’: src/p_dcc.c:133:9: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 133 | port=atoi(spt); | ^~~~ src/p_dcc.c: In function ‘listdccs’: src/p_dcc.c:175:5: warning: implicit declaration of function ‘listpdccs’; did you mean ‘listdccs’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 175 | listpdccs(usern); | ^~~~~~~~~ | listdccs src/p_dcc.c: In function ‘erasedcc’: src/p_dcc.c:224:6: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 224 | free(thisdcc->link); | ^~~~ src/p_dcc.c:224:6: warning: incompatible implicit declaration of built-in function ‘free’ src/p_dcc.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_dcc.c:228:6: warning: incompatible implicit declaration of built-in function ‘free’ 228 | free(thisdcc->link); | ^~~~ src/p_dcc.c:228:6: note: include ‘’ or provide a declaration of ‘free’ src/p_dcc.c:233:2: warning: incompatible implicit declaration of built-in function ‘free’ 233 | free(thisdcc->link); | ^~~~ src/p_dcc.c:233:2: note: include ‘’ or provide a declaration of ‘free’ src/p_dcc.c: In function ‘randport’: src/p_dcc.c:523:10: warning: implicit declaration of function ‘random’; did you mean ‘randport’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 523 | port=random(); | ^~~~~~ | randport src/p_dcc.c: In function ‘removepdcc’: src/p_dcc.c:634:6: warning: incompatible implicit declaration of built-in function ‘free’ 634 | free(pdcc); | ^~~~ src/p_dcc.c:634:6: note: include ‘’ or provide a declaration of ‘free’ src/p_dcc.c: In function ‘checkdcctimeouts’: src/p_dcc.c:1512:8: warning: incompatible implicit declaration of built-in function ‘free’ 1512 | free(pdcc); | ^~~~ src/p_dcc.c:1512:8: note: include ‘’ or provide a declaration of ‘free’ src/p_dcc.c: In function ‘parsectcps’: src/p_dcc.c:1717:13: warning: implicit declaration of function ‘atol’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1717 | filelen=atol(pt); | ^~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_hash.c -o src/p_hash.o In file included from ./src/p_global.h:44, from src/p_hash.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_idea.c -o src/p_idea.o In file included from src/p_idea.c:57: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_idea.c: In function ‘IDEA_MUL’: src/p_idea.c:63:20: warning: implicit declaration of function ‘strmncpy’; did you mean ‘strncpy’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 63 | #define pcontext { strmncpy(ctxt,__FILE__,sizeof(ctxt));strmncpy(cfunc,__FUNCTION__,sizeof(cfunc)); cline=__LINE__; } | ^~~~~~~~ src/p_idea.c:85:5: note: in expansion of macro ‘pcontext’ 85 | pcontext; | ^~~~~~~~ src/p_idea.c: In function ‘IDEAencrypt’: src/p_idea.c:64:20: warning: implicit declaration of function ‘__pmalloc’; did you mean ‘pmalloc’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 64 | #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) | ^~~~~~~~~ src/p_idea.c:329:20: note: in expansion of macro ‘pmalloc’ 329 | output=(char *)pmalloc(msize+size); | ^~~~~~~ src/p_idea.c:329:12: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 329 | output=(char *)pmalloc(msize+size); | ^ src/p_idea.c: In function ‘IDEAdecrypt’: src/p_idea.c:352:12: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 352 | output=(char *)pmalloc(size+9); | ^ src/p_idea.c: In function ‘hashstring’: src/p_idea.c:440:13: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 440 | bstring=(char *)pmalloc(usize*2+1); | ^ src/p_idea.c: In function ‘unhashstring’: src/p_idea.c:460:12: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 460 | result=(char *)pmalloc(size+9); | ^ src/p_idea.c: In function ‘IDEA_gethasheddecryptionkey’: src/p_idea.c:516:10: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 516 | hkey=(char *)pmalloc(size); | ^ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_inifunc.c -o src/p_inifunc.o In file included from ./src/p_global.h:44, from src/p_inifunc.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_inifunc.c: In function ‘resetconfig’: src/p_inifunc.c:41:6: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 41 | free(wconf->entry); | ^~~~ src/p_inifunc.c:41:6: warning: incompatible implicit declaration of built-in function ‘free’ src/p_inifunc.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_inifunc.c:44:2: warning: incompatible implicit declaration of built-in function ‘free’ 44 | free(owconf); | ^~~~ src/p_inifunc.c:44:2: note: include ‘’ or provide a declaration of ‘free’ src/p_inifunc.c: In function ‘clearsectionconfig’: src/p_inifunc.c:126:7: warning: incompatible implicit declaration of built-in function ‘free’ 126 | free(wconf->entry); | ^~~~ src/p_inifunc.c:126:7: note: include ‘’ or provide a declaration of ‘free’ src/p_inifunc.c: In function ‘writeini’: src/p_inifunc.c:208:7: warning: incompatible implicit declaration of built-in function ‘free’ 208 | free(wconf->entry); | ^~~~ src/p_inifunc.c:208:7: note: include ‘’ or provide a declaration of ‘free’ src/p_inifunc.c:213:7: warning: incompatible implicit declaration of built-in function ‘free’ 213 | free(wconf->entry); | ^~~~ src/p_inifunc.c:213:7: note: include ‘’ or provide a declaration of ‘free’ src/p_inifunc.c: In function ‘getserver’: src/p_inifunc.c:290:79: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 290 | user(usernum)->port = 6667; } else { user(usernum)->port = atoi(value); } | ^~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_link.c -o src/p_link.o In file included from ./src/p_global.h:44, from src/p_link.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_link.c: In function ‘processlink’: src/p_link.c:555:2: warning: implicit declaration of function ‘internalinbound’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 555 | internalinbound(0,nlink); | ^~~~~~~~~~~~~~~ src/p_link.c: In function ‘checklinkerror’: src/p_link.c:565:5: warning: implicit declaration of function ‘checklinkkill’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 565 | checklinkkill(nlink); | ^~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_log.c -o src/p_log.o In file included from ./src/p_global.h:44, from src/p_log.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_memory.c -o src/p_memory.o In file included from ./src/p_global.h:44, from src/p_memory.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_memory.c: In function ‘__pmalloc’: src/p_memory.c:38:31: warning: implicit declaration of function ‘malloc’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 38 | if (!(rc=(unsigned long *)malloc(size))) | ^~~~~~ src/p_memory.c:38:31: warning: incompatible implicit declaration of built-in function ‘malloc’ src/p_memory.c:30:1: note: include ‘’ or provide a declaration of ‘malloc’ 29 | #include +++ |+#include 30 | src/p_memory.c:41:2: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 41 | exit(0x0); | ^~~~ src/p_memory.c:41:2: warning: incompatible implicit declaration of built-in function ‘exit’ src/p_memory.c:41:2: note: include ‘’ or provide a declaration of ‘exit’ src/p_memory.c: In function ‘_pfree’: src/p_memory.c:67:5: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 67 | free(pointer); | ^~~~ src/p_memory.c:67:5: warning: incompatible implicit declaration of built-in function ‘free’ src/p_memory.c:67:5: note: include ‘’ or provide a declaration of ‘free’ src/p_memory.c: In function ‘bus_error’: src/p_memory.c:337:5: warning: incompatible implicit declaration of built-in function ‘exit’ 337 | exit(0x0); | ^~~~ src/p_memory.c:337:5: note: include ‘’ or provide a declaration of ‘exit’ src/p_memory.c: In function ‘segv_error’: src/p_memory.c:348:5: warning: incompatible implicit declaration of built-in function ‘exit’ 348 | exit(0x0); | ^~~~ src/p_memory.c:348:5: note: include ‘’ or provide a declaration of ‘exit’ src/p_memory.c: In function ‘fpe_error’: src/p_memory.c:359:5: warning: incompatible implicit declaration of built-in function ‘exit’ 359 | exit(0x0); | ^~~~ src/p_memory.c:359:5: note: include ‘’ or provide a declaration of ‘exit’ src/p_memory.c: In function ‘int_error’: src/p_memory.c:551:5: warning: incompatible implicit declaration of built-in function ‘exit’ 551 | exit(0x0); | ^~~~ src/p_memory.c:551:5: note: include ‘’ or provide a declaration of ‘exit’ src/p_memory.c: In function ‘kill_error’: src/p_memory.c:574:5: warning: incompatible implicit declaration of built-in function ‘exit’ 574 | exit(0x0); | ^~~~ src/p_memory.c:574:5: note: include ‘’ or provide a declaration of ‘exit’ src/p_memory.c: In function ‘errorhandling’: src/p_memory.c:619:3: warning: implicit declaration of function ‘srand’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 619 | srand( time( NULL) ); | ^~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_network.c -o src/p_network.o In file included from ./src/p_global.h:44, from src/p_network.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_network.c: In function ‘netwhoischannels’: src/p_network.c:436:5: warning: implicit declaration of function ‘netdefault’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 436 | netdefault(usern,netname,myparentnick); | ^~~~~~~~~~ src/p_network.c: In function ‘netdefault’: src/p_network.c:513:8: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 513 | if(atoi(irccommand)!=0) | ^~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_parse.c -o src/p_parse.o In file included from ./src/p_global.h:44, from src/p_parse.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_parse.c: In function ‘generalparse’: src/p_parse.c:46:22: warning: ‘return’ with no value, in function returning non-void 46 | if (p1 == NULL) { return; } | ^~~~~~ src/p_parse.c:33:5: note: declared here 33 | int generalparse () | ^~~~~~~~~~~~ src/p_parse.c:51:24: warning: ‘return’ with no value, in function returning non-void 51 | if (p2 == NULL) {return;} | ^~~~~~ src/p_parse.c:33:5: note: declared here 33 | int generalparse () | ^~~~~~~~~~~~ src/p_parse.c:60:10: warning: ‘return’ with no value, in function returning non-void 60 | return; | ^~~~~~ src/p_parse.c:33:5: note: declared here 33 | int generalparse () | ^~~~~~~~~~~~ src/p_parse.c:72:10: warning: ‘return’ with no value, in function returning non-void 72 | return; | ^~~~~~ src/p_parse.c:33:5: note: declared here 33 | int generalparse () | ^~~~~~~~~~~~ src/p_parse.c:90:3: warning: ‘return’ with no value, in function returning non-void 90 | return; | ^~~~~~ src/p_parse.c:33:5: note: declared here 33 | int generalparse () | ^~~~~~~~~~~~ src/p_parse.c:123:8: warning: ‘return’ with no value, in function returning non-void 123 | return; | ^~~~~~ src/p_parse.c:33:5: note: declared here 33 | int generalparse () | ^~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_peer.c -o src/p_peer.o In file included from ./src/p_global.h:44, from src/p_peer.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_peer.c: In function ‘linkpeer’: src/p_peer.c:226:13: warning: implicit declaration of function ‘firstuser’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 226 | rc = firstuser(npeer); | ^~~~~~~~~ src/p_peer.c:269:5: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 269 | free(pt); | ^~~~ src/p_peer.c:269:5: warning: incompatible implicit declaration of built-in function ‘free’ src/p_peer.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_peer.c:281:54: warning: implicit declaration of function ‘rand’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 281 | if(user(rc)->penalty>2 && user(rc)->pentime+600+(rand()%120)>time(NULL)) | ^~~~ src/p_peer.c: In function ‘killoldlistener’: src/p_peer.c:429:5: warning: ‘return’ with no value, in function returning non-void 429 | return; | ^~~~~~ src/p_peer.c:423:5: note: declared here 423 | int killoldlistener(int npeer) | ^~~~~~~~~~~~~~~ src/p_peer.c: In function ‘erroroldlistener’: src/p_peer.c:441:5: warning: ‘return’ with no value, in function returning non-void 441 | return; | ^~~~~~ src/p_peer.c:434:5: note: declared here 434 | int erroroldlistener(int npeer,int errn) | ^~~~~~~~~~~~~~~~ src/p_peer.c: In function ‘checkoldlistener’: src/p_peer.c:460:7: warning: ‘return’ with no value, in function returning non-void 460 | return; | ^~~~~~ src/p_peer.c:446:5: note: declared here 446 | int checkoldlistener(int npeer) | ^~~~~~~~~~~~~~~~ src/p_peer.c:476:31: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 476 | newpeer(npeer)->lnkport=atoi(irccontent); | ^~~~ src/p_peer.c: In function ‘checkhostallows’: src/p_peer.c:549:5: warning: implicit declaration of function ‘wild_match’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 549 | if(wild_match(buf2,buf)) return 1; | ^~~~~~~~~~ src/p_peer.c: In function ‘checknewlistener’: src/p_peer.c:570:2: warning: ‘return’ with no value, in function returning non-void 570 | return; | ^~~~~~ src/p_peer.c:557:5: note: declared here 557 | int checknewlistener(int i) | ^~~~~~~~~~~~~~~~ src/p_peer.c:577:2: warning: ‘return’ with no value, in function returning non-void 577 | return; | ^~~~~~ src/p_peer.c:557:5: note: declared here 557 | int checknewlistener(int i) | ^~~~~~~~~~~~~~~~ src/p_peer.c:587:5: warning: ‘return’ with no value, in function returning non-void 587 | return; | ^~~~~~ src/p_peer.c:557:5: note: declared here 557 | int checknewlistener(int i) | ^~~~~~~~~~~~~~~~ src/p_peer.c: In function ‘killed’: src/p_peer.c:594:4: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 594 | exit(0x0); | ^~~~ src/p_peer.c:594:4: warning: incompatible implicit declaration of built-in function ‘exit’ src/p_peer.c:594:4: note: include ‘’ or provide a declaration of ‘exit’ src/p_peer.c: In function ‘createlisteners’: src/p_peer.c:644:3: warning: implicit declaration of function ‘srand’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 644 | srand( time( NULL) ); /* here we randomize to the timer (for randstring) */ | ^~~~~ src/p_peer.c:645:3: warning: implicit declaration of function ‘srandom’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 645 | srandom(rand()); /* salt of random bases on rand of time */ | ^~~~~~~ src/p_peer.c: In function ‘checknewlistener’: src/p_peer.c:568:2: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 568 | write(asocket,lngtxt(698),39); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_server.c -o src/p_server.o In file included from ./src/p_global.h:44, from src/p_server.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_server.c: In function ‘serverinit’: src/p_server.c:75:11: warning: implicit declaration of function ‘rejoinchannels’; did you mean ‘rejoinintchannels’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 75 | rejoinchannels(usern); | ^~~~~~~~~~~~~~ | rejoinintchannels src/p_server.c: In function ‘pong’: src/p_server.c:138:6: warning: implicit declaration of function ‘askforop’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 138 | askforop(usern,chan->name); | ^~~~~~~~ src/p_server.c: In function ‘numnick’: src/p_server.c:150:41: warning: implicit declaration of function ‘rand’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 150 | ap_snprintf(numb,sizeof(numb),"%lu",rand()%999); | ^~~~ src/p_server.c: In function ‘checkignores’: src/p_server.c:427:9: warning: implicit declaration of function ‘wild_match’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 427 | if(wild_match(ighost,ircfrom) || (strlen(ighost)==1 && *ighost=='*')) | ^~~~~~~~~~ src/p_server.c: In function ‘userproxyconnected’: src/p_server.c:1262:5: warning: implicit declaration of function ‘userconnected’; did you mean ‘pdccconnected’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1262 | userconnected(nuser); | ^~~~~~~~~~~~~ | pdccconnected src/p_server.c: In function ‘checkclients’: src/p_server.c:1369:33: warning: implicit declaration of function ‘connectuser’; did you mean ‘checkuser’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1369 | if (usern!=lastusern && connectuser(usern)==1) | ^~~~~~~~~~~ | checkuser x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_socket.c -o src/p_socket.o In file included from ./src/p_global.h:44, from src/p_socket.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_socket.c: In function ‘createsocket’: src/p_socket.c:147:2: warning: implicit declaration of function ‘exit’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 147 | exit(0x0); | ^~~~ src/p_socket.c:147:2: warning: incompatible implicit declaration of built-in function ‘exit’ src/p_socket.c:30:1: note: include ‘’ or provide a declaration of ‘exit’ 29 | #include +++ |+#include 30 | src/p_socket.c: In function ‘killsocket’: src/p_socket.c:193:3: warning: implicit declaration of function ‘flushsendq’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 193 | flushsendq(lkm->sock->syssock,Q_FORCED); | ^~~~~~~~~~ src/p_socket.c:205:2: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 205 | free(lkm->sock->commbuf); | ^~~~ src/p_socket.c:205:2: warning: incompatible implicit declaration of built-in function ‘free’ src/p_socket.c:205:2: note: include ‘’ or provide a declaration of ‘free’ src/p_socket.c: In function ‘connectto’: src/p_socket.c:553:11: warning: implicit declaration of function ‘getprotocol’; did you mean ‘getprotoent’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 553 | proto=getprotocol(host); | ^~~~~~~~~~~ | getprotoent src/p_socket.c: In function ‘flushsendq’: src/p_socket.c:814:5: warning: incompatible implicit declaration of built-in function ‘free’ 814 | free(emsq); | ^~~~ src/p_socket.c:814:5: note: include ‘’ or provide a declaration of ‘free’ src/p_socket.c:818:9: warning: implicit declaration of function ‘writesock_STREAM’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 818 | writesock_STREAM(socket,msqd,msglen); | ^~~~~~~~~~~~~~~~ src/p_socket.c:820:9: warning: implicit declaration of function ‘writesock’; did you mean ‘writelink’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 820 | writesock(socket,msqd); | ^~~~~~~~~ | writelink src/p_socket.c: In function ‘socket_accept’: src/p_socket.c:1531:8: warning: implicit declaration of function ‘checkhostallows’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1531 | if(checkhostallows(acceptip)==-1 && checkhostallows(accepthost)==-1) | ^~~~~~~~~~~~~~~ src/p_socket.c: In function ‘flushsendq’: src/p_socket.c:802:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 802 | write(socket,lngtxt(801),9); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ src/p_socket.c: In function ‘writesock_STREAM’: src/p_socket.c:935:6: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 935 | write(socket,data,size); | ^~~~~~~~~~~~~~~~~~~~~~~ src/p_socket.c: In function ‘writesock’: src/p_socket.c:1014:3: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wunused-result-Wunused-result]8;;] 1014 | write(socket,buf,strlen(buf)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_string.c -o src/p_string.o In file included from ./src/p_global.h:44, from src/p_string.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_string.c: In function ‘strmncasecmp’: src/p_string.c:77:2: warning: implicit declaration of function ‘ucase’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 77 | ucase(u1); | ^~~~~ src/p_string.c: In function ‘randstring’: src/p_string.c:255:5: warning: implicit declaration of function ‘srand’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 255 | srand(time(NULL)); /* no, this was also done in the demon startup. but still.. */ | ^~~~~ src/p_string.c:258:46: warning: implicit declaration of function ‘rand’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 258 | for(i=0;i’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_string.c: In function ‘removestring’: src/p_string.c:343:24: warning: incompatible implicit declaration of built-in function ‘free’ 343 | if (th->entry!=NULL) free(th->entry); | ^~~~ src/p_string.c:343:24: note: include ‘’ or provide a declaration of ‘free’ src/p_string.c:345:3: warning: incompatible implicit declaration of built-in function ‘free’ 345 | free(th); | ^~~~ src/p_string.c:345:3: note: include ‘’ or provide a declaration of ‘free’ src/p_string.c:349:23: warning: incompatible implicit declaration of built-in function ‘free’ 349 | if(th->entry!=NULL) free(th->entry); | ^~~~ src/p_string.c:349:23: note: include ‘’ or provide a declaration of ‘free’ src/p_string.c:351:3: warning: incompatible implicit declaration of built-in function ‘free’ 351 | free(th); | ^~~~ src/p_string.c:351:3: note: include ‘’ or provide a declaration of ‘free’ src/p_string.c: In function ‘checkstrings’: src/p_string.c:582:14: warning: implicit declaration of function ‘wild_match’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 582 | if (wild_match(ehost,ircfrom)) { | ^~~~~~~~~~ src/p_string.c: In function ‘clearlanguage’: src/p_string.c:600:6: warning: incompatible implicit declaration of built-in function ‘free’ 600 | free(language[ln]); | ^~~~ src/p_string.c:600:6: note: include ‘’ or provide a declaration of ‘free’ src/p_string.c:601:2: warning: incompatible implicit declaration of built-in function ‘free’ 601 | free(language); | ^~~~ src/p_string.c:601:2: note: include ‘’ or provide a declaration of ‘free’ src/p_string.c: In function ‘loadlanguage’: src/p_string.c:648:7: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 648 | msg=atoi(pt); | ^~~~ src/p_string.c:655:4: warning: incompatible implicit declaration of built-in function ‘free’ 655 | free(language[msg]); | ^~~~ src/p_string.c:655:4: note: include ‘’ or provide a declaration of ‘free’ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_sysmsg.c -o src/p_sysmsg.o In file included from ./src/p_global.h:44, from src/p_sysmsg.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_sysmsg.c: In function ‘sysparty’: src/p_sysmsg.c:46:5: warning: implicit declaration of function ‘querybounce’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 46 | querybounce(0); | ^~~~~~~~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_userfile.c -o src/p_userfile.o In file included from ./src/p_global.h:44, from src/p_userfile.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_userfile.c: In function ‘loaduser’: src/p_userfile.c:70:29: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 70 | user(usernum)->parent=atoi(value); | ^~~~ src/p_userfile.c:96:8: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 96 | free(pt); | ^~~~ src/p_userfile.c:96:8: warning: incompatible implicit declaration of built-in function ‘free’ src/p_userfile.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_userfile.c:188:32: warning: implicit declaration of function ‘atol’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 188 | user(usernum)->lastlog = atol(value); | ^~~~ src/p_userfile.c:271:4: warning: ‘return’ with no value, in function returning non-void 271 | return; | ^~~~~~ src/p_userfile.c:33:5: note: declared here 33 | int loaduser (int usernum) { | ^~~~~~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_uchannel.c -o src/p_uchannel.o In file included from ./src/p_global.h:44, from src/p_uchannel.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_uchannel.c: In function ‘removenickfromchannel’: src/p_uchannel.c:291:6: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 291 | free(chanuser); | ^~~~ src/p_uchannel.c:291:6: warning: incompatible implicit declaration of built-in function ‘free’ src/p_uchannel.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_uchannel.c: In function ‘removenickfromallchannels’: src/p_uchannel.c:318:6: warning: implicit declaration of function ‘removechannelfromuser’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 318 | removechannelfromuser(usern,echannel->name); | ^~~~~~~~~~~~~~~~~~~~~ src/p_uchannel.c: In function ‘removeallusersfromchannel’: src/p_uchannel.c:357:2: warning: incompatible implicit declaration of built-in function ‘free’ 357 | free(ukm); | ^~~~ src/p_uchannel.c:357:2: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c: In function ‘removeallchannelsfromuser’: src/p_uchannel.c:383:6: warning: incompatible implicit declaration of built-in function ‘free’ 383 | free(ukm); | ^~~~ src/p_uchannel.c:383:6: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c:386:2: warning: incompatible implicit declaration of built-in function ‘free’ 386 | free(lkm); | ^~~~ src/p_uchannel.c:386:2: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c: In function ‘removechannelfromuser’: src/p_uchannel.c:436:3: warning: incompatible implicit declaration of built-in function ‘free’ 436 | free(ukm); | ^~~~ src/p_uchannel.c:436:3: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c:443:3: warning: incompatible implicit declaration of built-in function ‘free’ 443 | free(l1->entry); | ^~~~ src/p_uchannel.c:443:3: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c:451:3: warning: incompatible implicit declaration of built-in function ‘free’ 451 | free(l1->entry); | ^~~~ src/p_uchannel.c:451:3: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c:459:3: warning: incompatible implicit declaration of built-in function ‘free’ 459 | free(l1->entry); | ^~~~ src/p_uchannel.c:459:3: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c:471:6: warning: incompatible implicit declaration of built-in function ‘free’ 471 | free(lkm); | ^~~~ src/p_uchannel.c:471:6: note: include ‘’ or provide a declaration of ‘free’ src/p_uchannel.c: In function ‘setchannelmode’: src/p_uchannel.c:504:14: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 504 | lkm->limit=atoi(par); | ^~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_script.c -o src/p_script.o In file included from ./src/p_global.h:44, from src/p_script.c:30: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_topology.c -o src/p_topology.o In file included from ./src/p_global.h:44, from src/p_topology.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_topology.c: In function ‘digremove’: src/p_topology.c:211:6: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 211 | free(topo->linked[i]); | ^~~~ src/p_topology.c:211:6: warning: incompatible implicit declaration of built-in function ‘free’ src/p_topology.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_topology.c: In function ‘removetopology’: src/p_topology.c:245:6: warning: incompatible implicit declaration of built-in function ‘free’ 245 | free(tree); | ^~~~ src/p_topology.c:245:6: note: include ‘’ or provide a declaration of ‘free’ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_intnet.c -o src/p_intnet.o In file included from ./src/p_global.h:44, from src/p_intnet.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_intnet.c: In function ‘removeclient’: src/p_intnet.c:94:6: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 94 | free(client); | ^~~~ src/p_intnet.c:94:6: warning: incompatible implicit declaration of built-in function ‘free’ src/p_intnet.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | src/p_intnet.c: In function ‘removeban’: src/p_intnet.c:199:6: warning: incompatible implicit declaration of built-in function ‘free’ 199 | free(banlist->entry); | ^~~~ src/p_intnet.c:199:6: note: include ‘’ or provide a declaration of ‘free’ src/p_intnet.c: In function ‘removeinvite’: src/p_intnet.c:260:6: warning: incompatible implicit declaration of built-in function ‘free’ 260 | free(invlist->entry); | ^~~~ src/p_intnet.c:260:6: note: include ‘’ or provide a declaration of ‘free’ src/p_intnet.c: In function ‘removeintop’: src/p_intnet.c:321:6: warning: incompatible implicit declaration of built-in function ‘free’ 321 | free(intoplist->entry); | ^~~~ src/p_intnet.c:321:6: note: include ‘’ or provide a declaration of ‘free’ src/p_intnet.c: In function ‘mayjoin’: src/p_intnet.c:352:5: warning: implicit declaration of function ‘wild_match’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 352 | if(wild_match(lst->entry,ehost)) | ^~~~~~~~~~ src/p_intnet.c: In function ‘rejoinintchannels’: src/p_intnet.c:765:6: warning: implicit declaration of function ‘cmdintjoin’; did you mean ‘cmdintnotice’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 765 | cmdintjoin(usern); | ^~~~~~~~~~ | cmdintnotice src/p_intnet.c:784:5: warning: implicit declaration of function ‘sendmode’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 784 | sendmode(usern,chan->name); | ^~~~~~~~ src/p_intnet.c: In function ‘cmdintuser’: src/p_intnet.c:1920:6: warning: implicit declaration of function ‘atoi’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 1920 | if(atoi(ept)!=0) | ^~~~ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_blowfish.c -o src/p_blowfish.o In file included from src/p_blowfish.c:32: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_blowfish.c: In function ‘BLOWencrypt’: src/p_blowfish.c:38:20: warning: implicit declaration of function ‘__pmalloc’; did you mean ‘pmalloc’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 38 | #define pmalloc(n) __pmalloc((n),__FILE__,__FUNCTION__,__LINE__) | ^~~~~~~~~ src/p_blowfish.c:481:20: note: in expansion of macro ‘pmalloc’ 481 | dest = (char *) pmalloc((strlen(str) + 9) * 2); | ^~~~~~~ src/p_blowfish.c:481:11: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 481 | dest = (char *) pmalloc((strlen(str) + 9) * 2); | ^ src/p_blowfish.c:484:8: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 484 | s = (char *) pmalloc(strlen(str) + 9); | ^ src/p_blowfish.c:39:17: warning: implicit declaration of function ‘_pfree’; did you mean ‘free’? []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 39 | #define free(n) _pfree(n,__FILE__,__FUNCTION__,__LINE__) | ^~~~~~ src/p_blowfish.c:524:7: note: in expansion of macro ‘free’ 524 | free(pt); | ^~~~ src/p_blowfish.c: In function ‘BLOWdecrypt’: src/p_blowfish.c:550:11: warning: cast to pointer from integer of different size []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wint-to-pointer-cast-Wint-to-pointer-cast]8;;] 550 | dest = (char *) pmalloc(strlen(str)+12); | ^ x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_translate.c -o src/p_translate.o In file included from ./src/p_global.h:44, from src/p_translate.c:29: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition src/p_translate.c: In function ‘erasetranslate’: src/p_translate.c:133:5: warning: implicit declaration of function ‘free’ []8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wimplicit-function-declaration-Wimplicit-function-declaration]8;;] 133 | free(lkm->translatetext); | ^~~~ src/p_translate.c:133:5: warning: incompatible implicit declaration of built-in function ‘free’ src/p_translate.c:30:1: note: include ‘’ or provide a declaration of ‘free’ 29 | #include +++ |+#include 30 | x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/p_coredns.c -o src/p_coredns.o In file included from src/p_coredns.c:42: ./config.h:51: warning: "BLOCKDNS" redefined 51 | #define BLOCKDNS | : note: this is the location of the previous definition x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/snprintf.c -o src/snprintf.o x86_64-pc-linux-gnu-gcc -I./src/ -I. -c -O2 -pipe -march=native -frecord-gcc-switches -DHAVE_CONFIG -DNOSYSTIME -DBLOCKDNS src/bsd-setenv.c -o src/bsd-setenv.o src/bsd-setenv.c:145:1: error: conflicting types for ‘unsetenv’ 145 | unsetenv(name) | ^~~~~~~~ In file included from src/bsd-setenv.c:39: /usr/include/stdlib.h:657:12: note: previous declaration of ‘unsetenv’ was here 657 | extern int unsetenv (const char *__name) __THROW __nonnull ((1)); | ^~~~~~~~ make[1]: *** [targets.mak:83: src/bsd-setenv.o] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc' make: *** [Makefile:16: all] Error 2 * ERROR: net-irc/psybnc-2.3.2.9-r3::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-irc/psybnc-2.3.2.9-r3::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-irc/psybnc-2.3.2.9-r3::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/net-irc/psybnc-2.3.2.9-r3:20200524-044407.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/temp/environment'. * Working directory: '/var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc' * S: '/var/tmp/portage/net-irc/psybnc-2.3.2.9-r3/work/psybnc' emerge --info: Portage 2.3.99 (python 3.7.7-final-0, default/linux/amd64/17.1, gcc-10.1.0, glibc-2.31-r3, 5.4.0-1009-aws x86_64) ================================================================= System uname: Linux-5.4.0-1009-aws-x86_64-AMD_EPYC_7571-with-gentoo-2.7 KiB Mem: 16011344 total, 3899168 free KiB Swap: 0 total, 0 free Timestamp of repository gentoo: Sun, 24 May 2020 07:35:32 +0000 sh bash 5.0_p17 ld GNU ld (Gentoo 2.34 p4) 2.34.0 app-shells/bash: 5.0_p17::gentoo dev-lang/perl: 5.30.2-r2::gentoo dev-lang/python: 2.7.18::gentoo, 3.7.7-r2::gentoo, 3.8.3::gentoo sys-apps/baselayout: 2.7::gentoo sys-apps/openrc: 0.42.1::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.69-r5::gentoo sys-devel/automake: 1.16.2::gentoo sys-devel/binutils: 2.34-r1::gentoo sys-devel/gcc: 10.1.0::gentoo sys-devel/gcc-config: 2.3::gentoo sys-devel/libtool: 2.4.6-r6::gentoo sys-devel/make: 4.3::gentoo sys-kernel/linux-headers: 5.6::gentoo (virtual/os-headers) sys-libs/glibc: 2.31-r3::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-jobs: 1 sync-rsync-verify-max-age: 24 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CC="x86_64-pc-linux-gnu-gcc" CFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXX="x86_64-pc-linux-gnu-g++" CXXFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps=y --binpkg-respect-use=y -1 -b -k" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms sign split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe -march=native -frecord-gcc-switches" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="C.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0" MAKEOPTS="-j4" PKGDIR="/root/.packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="acl amd64 berkdb bzip2 cli crypt dri fortran gdbm iconv ipv6 libtirpc multilib ncurses nls nptl openmp pam pcre readline seccomp split-usr ssl tcpd unicode xattr zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS