* Package: games-action/koth-0.8.0 * Repository: gentoo * Maintainer: games * USE: abi_x86_64 amd64 elibc_glibc kernel_linux userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking koth-0.8.0.tar.bz2 to /var/tmp/portage/games-action/koth-0.8.0/work >>> Source unpacked in /var/tmp/portage/games-action/koth-0.8.0/work >>> Preparing source in /var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0 ... * Applying koth-0.8.0-gcc-3.4.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0 ... ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games creating cache ./config.cache checking for a BSD compatible install... /usr/lib/portage/python2.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... found checking for working autoconf... found checking for working automake... found checking for working autoheader... found checking for working makeinfo... found checking whether make sets ${MAKE}... (cached) yes checking for gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed) works... yes checking whether the C compiler (x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed) is a cross-compiler... no checking whether we are using GNU C... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for strerror in -lcposix... no checking for ranlib... x86_64-pc-linux-gnu-ranlib checking for ggiInit in -lggi... yes checking for cos in -lm... yes checking for socket in -lsocket... no checking for gethostbyname in -lnsl... yes checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/select.h... yes checking size of char... 1 checking size of short int... 2 checking size of int... 4 updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating src/baseimages/Makefile creating src/weapons/Makefile creating doc/Makefile creating config.h >>> Source configured. >>> Compiling source in /var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0 ... make -j1 make all-recursive make[1]: Entering directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0' Making all in src make[2]: Entering directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src' Making all in baseimages make[3]: Entering directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src/baseimages' make[3]: Nothing to be done for 'all'. make[3]: Leaving directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src/baseimages' Making all in weapons make[3]: Entering directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src/weapons' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c weapongfx.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c simplegfx.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c dirtgfx.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c napalmgfx.c In file included from napalmgfx.c:23:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c blackholegfx.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c lasergfx.c In file included from lasergfx.c:22:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ rm -f libkothweapongfx.a ar cru libkothweapongfx.a weapongfx.o simplegfx.o dirtgfx.o napalmgfx.o blackholegfx.o lasergfx.o x86_64-pc-linux-gnu-ranlib libkothweapongfx.a x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c weapon.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c basic.c In file included from basic.c:21:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c dirt.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c dirtvaporizer.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c roller.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c supernuke.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c cluster.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c mirv.c In file included from mirv.c:24:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c simple.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c tacnuke.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c large.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c funkybomb.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c dfa.c In file included from dfa.c:24:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c tunnel.c In file included from tunnel.c:21:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c napalm.c In file included from napalm.c:22:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c blackhole.c In file included from blackhole.c:22:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c laser.c In file included from laser.c:21:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c dirtcurtain.c In file included from dirtcurtain.c:21:0: ../log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I../.. -Wall -Wimplicit -march=native -O2 -pipe -c depthcharge.c rm -f libkothweapons.a ar cru libkothweapons.a weapon.o basic.o dirt.o dirtvaporizer.o roller.o supernuke.o cluster.o mirv.o simple.o tacnuke.o large.o funkybomb.o dfa.o tunnel.o napalm.o blackhole.o laser.o dirtcurtain.o depthcharge.o x86_64-pc-linux-gnu-ranlib libkothweapons.a make[3]: Leaving directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src/weapons' Making all in . make[3]: Entering directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c tcpcore.c In file included from tcpcore.c:32:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c relay.c In file included from relay.c:37:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c player.c In file included from player.c:31:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c packets.c packets.c: In function ‘pktPack’: packets.c:39:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(p = fmt; *p; p++) ^ packets.c:59:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] st = va_arg(args, char *); ^ packets.c: In function ‘pktUnpack’: packets.c:85:11: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] for(p = fmt; *p; p++) ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c terrain.c In file included from terrain.c:24:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c ballistics.c In file included from ballistics.c:28:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c cfgfile.c In file included from cfgfile.c:19:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c log.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c demo.c In file included from demo.c:25:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ demo.c: In function ‘demoPlayPkt’: demo.c:143:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(tmpstr, 32768, demo_fp); ^ demo.c:157:6: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(tmpstr, 32768, demo_fp); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c conversions.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c kclient.c kclient.c: In function ‘clBuyWeapon’: kclient.c:115:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bw.weapontype, (char *) elem); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdlib.h:24, from /usr/include/x86_64-pc-linux-gnu/ggi/system.h:12, from /usr/include/ggi/system.h:10, from /usr/include/ggi/types.h:34, from /usr/include/ggi/ggi.h:36, from kclient.c:19: /usr/include/bits/string3.h:108:1: note: expected ‘char * restrict’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ kclient.c:116:48: warning: pointer targets in passing argument 1 of ‘pktPackBuyWeapon’ differ in signedness [-Wpointer-sign] rlSend(relay, svrid, buf, pktPackBuyWeapon(buf, &bw)); ^ In file included from kclient.c:34:0: packets.h:186:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackBuyWeapon(ubyte_pkt * buf, struct BuyWeapon_pkt *pkt); ^ kclient.c: In function ‘clSellWeapon’: kclient.c:132:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(bw.weapontype, (char *) elem); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdlib.h:24, from /usr/include/x86_64-pc-linux-gnu/ggi/system.h:12, from /usr/include/ggi/system.h:10, from /usr/include/ggi/types.h:34, from /usr/include/ggi/ggi.h:36, from kclient.c:19: /usr/include/bits/string3.h:108:1: note: expected ‘char * restrict’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ kclient.c:133:48: warning: pointer targets in passing argument 1 of ‘pktPackBuyWeapon’ differ in signedness [-Wpointer-sign] rlSend(relay, svrid, buf, pktPackBuyWeapon(buf, &bw)); ^ In file included from kclient.c:34:0: packets.h:186:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackBuyWeapon(ubyte_pkt * buf, struct BuyWeapon_pkt *pkt); ^ kclient.c: In function ‘clFireWeapon’: kclient.c:150:12: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(sht.shottype, ((Weapon_wep *) gm_curitem->info)->name); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdlib.h:24, from /usr/include/x86_64-pc-linux-gnu/ggi/system.h:12, from /usr/include/ggi/system.h:10, from /usr/include/ggi/types.h:34, from /usr/include/ggi/ggi.h:36, from kclient.c:19: /usr/include/bits/string3.h:108:1: note: expected ‘char * restrict’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ kclient.c:151:46: warning: pointer targets in passing argument 1 of ‘pktPackFireCmd’ differ in signedness [-Wpointer-sign] rlSend(relay, svrid, buf, pktPackFireCmd(buf, &sht)); ^ In file included from kclient.c:34:0: packets.h:180:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackFireCmd(ubyte_pkt * buf, struct FireCmd_pkt *pkt); ^ kclient.c: In function ‘clInitialize’: kclient.c:530:28: warning: pointer targets in passing argument 1 of ‘pktPackChangeReady’ differ in signedness [-Wpointer-sign] pktPackChangeReady(buf, &cr)); ^ In file included from kclient.c:34:0: packets.h:183:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackChangeReady(ubyte_pkt * buf, struct ChangeReady_pkt *pkt); ^ kclient.c: In function ‘clPregame’: kclient.c:628:31: warning: pointer targets in passing argument 1 of ‘pktPackChangeReady’ differ in signedness [-Wpointer-sign] pktPackChangeReady(buf, &cr)); ^ In file included from kclient.c:34:0: packets.h:183:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackChangeReady(ubyte_pkt * buf, struct ChangeReady_pkt *pkt); ^ kclient.c:648:31: warning: pointer targets in passing argument 1 of ‘pktPackChangeReady’ differ in signedness [-Wpointer-sign] pktPackChangeReady(buf, &cr)); ^ In file included from kclient.c:34:0: packets.h:183:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackChangeReady(ubyte_pkt * buf, struct ChangeReady_pkt *pkt); ^ kclient.c: In function ‘clPlaygame’: kclient.c:1005:28: warning: variable ‘prvang’ set but not used [-Wunused-but-set-variable] int i, tl = 0, fl = 0, prvang; ^ kclient.c: In function ‘clPostgame’: kclient.c:1642:31: warning: pointer targets in passing argument 1 of ‘pktPackChangeReady’ differ in signedness [-Wpointer-sign] pktPackChangeReady(buf, &cr)); ^ In file included from kclient.c:34:0: packets.h:183:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackChangeReady(ubyte_pkt * buf, struct ChangeReady_pkt *pkt); ^ kclient.c:1662:31: warning: pointer targets in passing argument 1 of ‘pktPackChangeReady’ differ in signedness [-Wpointer-sign] pktPackChangeReady(buf, &cr)); ^ In file included from kclient.c:34:0: packets.h:183:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktPackChangeReady(ubyte_pkt * buf, struct ChangeReady_pkt *pkt); ^ In file included from kclient.c:42:0: kclient.c: At top level: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c gfx.c In file included from gfx.c:36:0: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c clihandlers.c clihandlers.c: In function ‘chSetGameMode’: clihandlers.c:58:32: warning: pointer targets in passing argument 2 of ‘pktUnpackSetGameMode’ differ in signedness [-Wpointer-sign] pktUnpackSetGameMode(&sgm, pkt); ^ In file included from clihandlers.c:37:0: packets.h:160:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackSetGameMode(struct SetGameMode_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chSetGameType’: clihandlers.c:67:32: warning: pointer targets in passing argument 2 of ‘pktUnpackSetGameMode’ differ in signedness [-Wpointer-sign] pktUnpackSetGameMode(&sgm, pkt); ^ In file included from clihandlers.c:37:0: packets.h:160:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackSetGameMode(struct SetGameMode_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chGetMyID’: clihandlers.c:76:29: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&pid, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chNewPlayer’: clihandlers.c:86:32: warning: pointer targets in passing argument 2 of ‘pktUnpackNewPlayer’ differ in signedness [-Wpointer-sign] pktUnpackNewPlayer(&nppkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:169:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackNewPlayer(struct NewPlayer_pkt *pkt, ubyte_pkt * buf); ^ In file included from /usr/include/string.h:630:0, from clihandlers.c:20: clihandlers.c:93:23: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] pl->name = strdup(nppkt.name); ^ In file included from clihandlers.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from clihandlers.c:20: clihandlers.c:93:23: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness [-Wpointer-sign] pl->name = strdup(nppkt.name); ^ /usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ clihandlers.c: In function ‘chRemovePlayer’: clihandlers.c:107:29: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&pid, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chUpdateTerrain’: clihandlers.c:149:36: warning: pointer targets in passing argument 2 of ‘pktUnpackUpdateTerrain’ differ in signedness [-Wpointer-sign] pktUnpackUpdateTerrain(&inpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:190:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackUpdateTerrain(struct UpdateTerrain_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chNewTerrain’: clihandlers.c:177:31: warning: pointer targets in passing argument 2 of ‘pktUnpackTerrainInfo’ differ in signedness [-Wpointer-sign] pktUnpackTerrainInfo(&ti, pkt); ^ In file included from clihandlers.c:37:0: packets.h:193:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackTerrainInfo(struct TerrainInfo_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chMessage’: clihandlers.c:201:27: warning: pointer targets in passing argument 2 of ‘pktUnpackMessage’ differ in signedness [-Wpointer-sign] pktUnpackMessage(&mspkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:175:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackMessage(struct Message_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c:203:9: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(mcpkt.message, mspkt.message); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from clihandlers.c:19: /usr/include/bits/string3.h:108:1: note: expected ‘char * restrict’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ clihandlers.c:203:24: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness [-Wpointer-sign] strcpy(mcpkt.message, mspkt.message); ^ In file included from /usr/include/features.h:365:0, from /usr/include/stdio.h:27, from clihandlers.c:19: /usr/include/bits/string3.h:108:1: note: expected ‘const char * restrict’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ __NTH (strcpy (char *__restrict __dest, const char *__restrict __src)) ^ clihandlers.c:206:34: warning: pointer targets in passing argument 2 of ‘pktUnpackColoredMessage’ differ in signedness [-Wpointer-sign] pktUnpackColoredMessage(&mcpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:196:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackColoredMessage(struct ColoredMessage_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chSetName’: clihandlers.c:239:30: warning: pointer targets in passing argument 2 of ‘pktUnpackSetName’ differ in signedness [-Wpointer-sign] pktUnpackSetName(&snpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:166:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackSetName(struct SetName_pkt *pkt, ubyte_pkt * buf); ^ In file included from /usr/include/string.h:630:0, from clihandlers.c:20: clihandlers.c:246:25: warning: pointer targets in passing argument 1 of ‘strlen’ differ in signedness [-Wpointer-sign] pcur->name = strdup(snpkt.name); ^ In file included from clihandlers.c:20:0: /usr/include/string.h:394:15: note: expected ‘const char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ extern size_t strlen (const char *__s) ^ In file included from /usr/include/string.h:630:0, from clihandlers.c:20: clihandlers.c:246:25: warning: pointer targets in passing argument 1 of ‘__strdup’ differ in signedness [-Wpointer-sign] pcur->name = strdup(snpkt.name); ^ /usr/include/bits/string2.h:1278:14: note: expected ‘const char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^ clihandlers.c: In function ‘chSetTank’: clihandlers.c:265:30: warning: pointer targets in passing argument 2 of ‘pktUnpackSetTank’ differ in signedness [-Wpointer-sign] pktUnpackSetTank(&stpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:178:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackSetTank(struct SetTank_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chShotFired’: clihandlers.c:320:28: warning: pointer targets in passing argument 2 of ‘pktUnpackFireCmd’ differ in signedness [-Wpointer-sign] pktUnpackFireCmd(&sht, pkt); ^ In file included from clihandlers.c:37:0: packets.h:181:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackFireCmd(struct FireCmd_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c:322:26: warning: pointer targets in passing argument 1 of ‘wepLookupWeapon’ differ in signedness [-Wpointer-sign] wp = wepLookupWeapon(sht.shottype); ^ In file included from player.h:26:0, from gfx.h:23, from clihandlers.c:33: weapons/weapon.h:93:13: note: expected ‘char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ Weapon_wep *wepLookupWeapon(char *name); ^ clihandlers.c: In function ‘chSetReadiness’: clihandlers.c:364:34: warning: pointer targets in passing argument 2 of ‘pktUnpackChangeReady’ differ in signedness [-Wpointer-sign] pktUnpackChangeReady(&chpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:184:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackChangeReady(struct ChangeReady_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chActivateShots’: clihandlers.c:379:29: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&gen, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chBuyWeapon’: clihandlers.c:387:29: warning: pointer targets in passing argument 2 of ‘pktUnpackBuyWeapon’ differ in signedness [-Wpointer-sign] pktUnpackBuyWeapon(&bw, pkt); ^ In file included from clihandlers.c:37:0: packets.h:187:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackBuyWeapon(struct BuyWeapon_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c:390:23: warning: pointer targets in passing argument 2 of ‘plBuyWeapon’ differ in signedness [-Wpointer-sign] plBuyWeapon(gm_myid, bw.weapontype, bw.count, clFireWeapon); ^ In file included from gfx.h:23:0, from clihandlers.c:33: player.h:106:5: note: expected ‘char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ int plBuyWeapon(int id, char *wpn, int count, void (*activate) (void *)); ^ clihandlers.c: In function ‘chSellWeapon’: clihandlers.c:399:29: warning: pointer targets in passing argument 2 of ‘pktUnpackBuyWeapon’ differ in signedness [-Wpointer-sign] pktUnpackBuyWeapon(&bw, pkt); ^ In file included from clihandlers.c:37:0: packets.h:187:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackBuyWeapon(struct BuyWeapon_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c:402:24: warning: pointer targets in passing argument 2 of ‘plSellWeapon’ differ in signedness [-Wpointer-sign] plSellWeapon(gm_myid, bw.weapontype, bw.count); ^ In file included from gfx.h:23:0, from clihandlers.c:33: player.h:115:5: note: expected ‘char *’ but argument is of type ‘ubyte_pkt * {aka unsigned char *}’ int plSellWeapon(int id, char *wpn, int count); ^ clihandlers.c: In function ‘chSetMoney’: clihandlers.c:412:29: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&pid, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chCheckProtocolVersion’: clihandlers.c:432:29: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&pid, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chUpdateScore’: clihandlers.c:449:28: warning: pointer targets in passing argument 2 of ‘pktUnpackScore’ differ in signedness [-Wpointer-sign] pktUnpackScore(&scpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:202:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackScore(struct Score_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chUpdateRound’: clihandlers.c:461:31: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&nrpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chUpdateTotalRounds’: clihandlers.c:470:31: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&nrpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chSetWindSpeed’: clihandlers.c:478:29: warning: pointer targets in passing argument 2 of ‘pktUnpackWindSpeed’ differ in signedness [-Wpointer-sign] pktUnpackWindSpeed(&ws, pkt); ^ In file included from clihandlers.c:37:0: packets.h:199:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackWindSpeed(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chSetWallType’: clihandlers.c:487:28: warning: pointer targets in passing argument 2 of ‘pktUnpackWallType’ differ in signedness [-Wpointer-sign] pktUnpackWallType(&ws, pkt); ^ In file included from clihandlers.c:37:0: packets.h:205:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackWallType(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chUpdateFireInfo’: clihandlers.c:503:31: warning: pointer targets in passing argument 2 of ‘pktUnpackPlayerID’ differ in signedness [-Wpointer-sign] pktUnpackPlayerID(&nrpkt, pkt); ^ In file included from clihandlers.c:37:0: packets.h:163:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackPlayerID(struct PlayerID_pkt *pkt, ubyte_pkt * buf); ^ clihandlers.c: In function ‘chTankColor’: clihandlers.c:524:29: warning: pointer targets in passing argument 2 of ‘pktUnpackTankColor’ differ in signedness [-Wpointer-sign] pktUnpackTankColor(&tc, pkt); ^ In file included from clihandlers.c:37:0: packets.h:172:5: note: expected ‘ubyte_pkt * {aka unsigned char *}’ but argument is of type ‘char *’ int pktUnpackTankColor(struct TankColor_pkt *pkt, ubyte_pkt * buf); ^ In file included from clihandlers.c:41:0: clihandlers.c: At top level: log.h:28:13: warning: inline function ‘logPrintf’ declared but never defined inline void logPrintf(Levels_log level, char *fmt, ...); ^ x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c text.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -Wall -Wimplicit -march=native -O2 -pipe -c sky.c x86_64-pc-linux-gnu-gcc -Wall -Wimplicit -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -o koth tcpcore.o relay.o player.o packets.o terrain.o ballistics.o cfgfile.o log.o demo.o conversions.o kclient.o gfx.o clihandlers.o text.o sky.o -Lweapons -lkothweapons -lkothweapongfx -lggi -lm -lnsl tcpcore.o: In function `tcpListen': tcpcore.c:(.text+0xd1): undefined reference to `logPrintf' tcpcore.c:(.text+0xf9): undefined reference to `logPrintf' tcpcore.c:(.text+0x11d): undefined reference to `logPrintf' relay.o: In function `rlMain': relay.c:(.text+0x5bd): undefined reference to `logPrintf' relay.c:(.text+0x73a): undefined reference to `logPrintf' relay.o:relay.c:(.text+0x76e): more undefined references to `logPrintf' follow collect2: error: ld returned 1 exit status Makefile:202: recipe for target 'koth' failed make[3]: *** [koth] Error 1 make[3]: Leaving directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src' Makefile:229: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0/src' Makefile:140: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0' Makefile:289: recipe for target 'all-recursive-am' failed make: *** [all-recursive-am] Error 2 * ERROR: games-action/koth-0.8.0::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-action/koth-0.8.0::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-action/koth-0.8.0::gentoo'`. * The complete build log is located at '/var/log/portage/games-action:koth-0.8.0:20160103-120628.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-action/koth-0.8.0/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-action/koth-0.8.0/temp/environment'. * Working directory: '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0' * S: '/var/tmp/portage/games-action/koth-0.8.0/work/koth-0.8.0'