I have the latest Build and Duke3d sources. I put them in proper dirs, patched the sound (patch worked) but I have problems compiling (Linux Ubuntu Breezy Badger 5.10, KDE). I'll be really grateful for your help! ( I would love to play Shadow Warrior again! when I manage to compile D3D and SW)
http://mommilan.ath.cx/jfduke/faq.html - this link is dead
mrplant@milkshake:~/gry/instalki/duke3d/duke3d$ sudo make
Password:
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/game.c -o obj/game.o 2>&1
source/game.c: In function ‘allowtimetocorrecterrorswhenquitting’:
source/game.c:421: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘getpackets’:
source/game.c:475: warning: pointer targets in passing argument 2 of ‘getpacket’ differ in signedness
source/game.c:490: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:601: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:606: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:611: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c:627: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:657: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:681: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:699: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘faketimerhandler’:
source/game.c:926: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:985: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:995: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:1067: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘caches’:
source/game.c:1088: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1089: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1097: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1098: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c: In function ‘displayfragbar’:
source/game.c:1687: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1688: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c: In function ‘coords’:
source/game.c:1962: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1963: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1964: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1965: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1966: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1967: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1968: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1969: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1970: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1971: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1972: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1973: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1974: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1975: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1976: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1977: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1978: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1979: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1980: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1981: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1982: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1983: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c: In function ‘typemode’:
source/game.c:2226: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:2233: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:2245: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘displayrest’:
source/game.c:2585: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2586: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:2589: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2589: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2593: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2593: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2593: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
source/game.c:2594: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:2596: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2596: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2596: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
source/game.c:2597: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c: In function ‘spawn’:
source/game.c:4948: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4949: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c:4965: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4966: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c:4997: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4998: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c: In function ‘cheats’:
source/game.c:6245: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘nonsharedkeys’:
source/game.c:6528: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:6529: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6531: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c:6543: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6550: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:6578: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:6755: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:6756: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6757: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c: In function ‘checkcommandline’:
source/game.c:7010: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:7011: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
source/game.c:7012: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:7014: warning: pointer targets in passing argument 1 of ‘initgroupfile’ differ in signedness
source/game.c: In function ‘loadtmb’:
source/game.c:7434: warning: pointer targets in passing argument 1 of ‘MUSIC_RegisterTimbreBank’ differ in signedness
source/game.c: In function ‘dobonus’:
source/game.c:9406: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9407: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9413: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9415: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9422: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9423: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9428: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9429: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9435: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9436: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
source/game.c:9440: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9441: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9455: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9456: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9601: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9602: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9606: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9607: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9611: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9612: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9634: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9634: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9635: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9638: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9639: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9644: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9645: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9645: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9646: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9663: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9663: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9664: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9666: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9666: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9667: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9667: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9668: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/actors.c -o obj/actors.o 2>&1
source/actors.c: In function ‘moveeffectors’:
source/actors.c:5171: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/actors.c:5172: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/gamedef.c -o obj/gamedef.o 2>&1
source/gamedef.c: In function ‘keyword’:
source/gamedef.c:335: warning: comparison between signed and unsigned
source/gamedef.c:336: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘transword’:
source/gamedef.c:362: warning: comparison between signed and unsigned
source/gamedef.c:364: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘transnum’:
source/gamedef.c:412: warning: comparison between signed and unsigned
source/gamedef.c:423: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘parsecommand’:
source/gamedef.c:457: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:458: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/gamedef.c:468: warning: case label value is less than minimum value for type
source/gamedef.c:502: warning: comparison between signed and unsigned
source/gamedef.c:560: warning: comparison between signed and unsigned
source/gamedef.c:621: warning: comparison between signed and unsigned
source/gamedef.c:724: warning: pointer targets in passing argument 1 of ‘kopen4load’ differ in signedness
source/gamedef.c:751: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/gamedef.c:772: warning: comparison between signed and unsigned
source/gamedef.c:826: warning: comparison between signed and unsigned
source/gamedef.c: In function ‘loadefs’:
source/gamedef.c:1601: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:1602: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/gamedef.c:1612: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:1613: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/global.c -o obj/global.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/menues.c -o obj/menues.o 2>&1
source/menues.c: In function ‘loadplayer’:
source/menues.c:481: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:482: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/menues.c: In function ‘menus’:
source/menues.c:1599: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1600: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:1602: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1603: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:1685: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1686: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1702: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1703: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1863: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1864: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1866: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1867: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1873: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1874: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1903: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:1985: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1986: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1988: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1989: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:2595: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2596: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:2598: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2602: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2603: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:2933: warning: passing argument 1 of ‘checkvideomode’ from incompatible pointer type
source/menues.c:2933: warning: passing argument 2 of ‘checkvideomode’ from incompatible pointer type
source/menues.c:3193: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3194: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3197: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3198: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3212: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3213: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3214: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3215: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3217: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:3220: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3221: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3222: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:3274: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3276: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3279: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3279: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/menues.c:3280: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3282: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3285: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3285: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/menues.c:3286: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3288: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3304: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3305: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3372: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3376: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3378: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3382: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3387: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3389: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3475: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3477: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3479: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3481: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3482: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3483: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3484: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3489: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3491: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3493: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3496: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3507: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3509: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3512: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3586: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3587: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3597: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3598: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3604: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3606: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3609: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3613: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3615: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3618: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3622: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3624: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3627: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3631: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3633: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3636: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3721: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3725: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3728: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3733: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3735: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3816: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3817: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3827: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3828: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3832: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3834: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3837: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3840: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3842: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3845: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3864: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3865: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3869: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3871: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3874: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3877: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3879: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3882: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3895: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3896: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3927: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3935: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3936: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3949: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3950: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4110: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4111: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4112: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4113: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4177: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4178: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4179: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4180: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4196: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4197: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4199: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4471: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4556: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4671: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4710: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4758: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4759: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4761: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4762: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4765: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4766: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c: In function ‘playanm’:
source/menues.c:5292: warning: pointer targets in assignment differ in signedness
source/menues.c:5310: warning: pointer targets in passing argument 2 of ‘setgamepalette’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/player.c -o obj/player.o 2>&1
source/player.c: In function ‘processinput’:
source/player.c:2592: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/player.c:2593: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/premap.c -o obj/premap.o 2>&1
source/premap.c: In function ‘genspriteremaps’:
source/premap.c:1300: warning: pointer targets in passing argument 2 of ‘makepalookup’ differ in signedness
source/premap.c: In function ‘waitforeverybody’:
source/premap.c:1324: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/premap.c: In function ‘enterlevel’:
source/premap.c:1470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1471: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1483: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1484: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1503: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1504: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/sector.c -o obj/sector.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/sounds.c -o obj/sounds.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/rts.c -o obj/rts.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/config.c -o obj/config.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/animlib.c -o obj/animlib.o 2>&1
source/animlib.c: In function ‘renderframe’:
source/animlib.c:231: warning: pointer targets in passing argument 1 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c:231: warning: pointer targets in passing argument 2 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c: In function ‘ANIM_LoadAnim’:
source/animlib.c:263: warning: pointer targets in assignment differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/testcd.c -o obj/testcd.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/osdfuncs.c -o obj/osdfuncs.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/osdcmds.c -o obj/osdcmds.o 2>&1
source/osdcmds.c: In function ‘osdcmd_fileinfo’:
source/osdcmds.c:193: warning: pointer targets in passing argument 2 of ‘crc32block’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/util_lib.c -o obj/util_lib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/file_lib.c -o obj/file_lib.o 2>&1
source/jmact/file_lib.c: In function ‘SafeOpenRead’:
source/jmact/file_lib.c:87: warning: control reaches end of non-void function
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/control.c -o obj/control.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/keyboard.c -o obj/keyboard.o 2>&1
source/jmact/keyboard.c: In function ‘KB_Startup’:
source/jmact/keyboard.c:285: warning: passing argument 1 of ‘setkeypresscallback’ from incompatible pointer type
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/mouse.c -o obj/mouse.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/mathutil.c -o obj/mathutil.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/scriplib.c -o obj/scriplib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c rsrc/game_icon.c -o obj/game_icon.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/sdlmusic.c -o obj/sdlmusic.o 2>&1
source/jaudiolib/sdlmusic.c:52:23: error: SDL_mixer.h: Nie ma takiego pliku ani katalogu
source/jaudiolib/sdlmusic.c:75: error: ‘MIX_CHANNELS’ undeclared here (not in a function)
source/jaudiolib/sdlmusic.c:198: error: syntax error before ‘*’ token
source/jaudiolib/sdlmusic.c:198: warning: type defaults to ‘int’ in declaration of ‘music_musicchunk’
source/jaudiolib/sdlmusic.c:198: warning: data definition has no type or storage class
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_SetVolume’:
source/jaudiolib/sdlmusic.c:242: error: implicit declaration of function ‘Mix_VolumeMusic’
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_SongPlaying’:
source/jaudiolib/sdlmusic.c:272: error: implicit declaration of function ‘Mix_PlayingMusic’
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_Continue’:
source/jaudiolib/sdlmusic.c:278: error: implicit declaration of function ‘Mix_PausedMusic’
source/jaudiolib/sdlmusic.c:279: error: implicit declaration of function ‘Mix_ResumeMusic’
source/jaudiolib/sdlmusic.c:281: warning: pointer targets in passing argument 1 of ‘MUSIC_PlaySong’ differ in signedness
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_Pause’:
source/jaudiolib/sdlmusic.c:287: error: implicit declaration of function ‘Mix_PauseMusic’
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_StopSong’:
source/jaudiolib/sdlmusic.c:294: error: implicit declaration of function ‘Mix_QuerySpec’
source/jaudiolib/sdlmusic.c:301: error: implicit declaration of function ‘Mix_HaltMusic’
source/jaudiolib/sdlmusic.c:304: error: implicit declaration of function ‘Mix_FreeMusic’
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_PlaySong’:
source/jaudiolib/sdlmusic.c:318: warning: pointer targets in assignment differ in signedness
source/jaudiolib/sdlmusic.c: At top level:
source/jaudiolib/sdlmusic.c:338: warning: ‘ApogeePath’ initialized and declared ‘extern’
source/jaudiolib/sdlmusic.c: In function ‘PlayMusic’:
source/jaudiolib/sdlmusic.c:393: error: implicit declaration of function ‘Mix_LoadMUS’
source/jaudiolib/sdlmusic.c:393: warning: assignment makes pointer from integer without a cast
source/jaudiolib/sdlmusic.c:397: error: implicit declaration of function ‘Mix_PlayMusic’
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_FadeVolume’:
source/jaudiolib/sdlmusic.c:447: error: implicit declaration of function ‘Mix_FadeOutMusic’
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_FadeActive’:
source/jaudiolib/sdlmusic.c:454: error: implicit declaration of function ‘Mix_FadingMusic’
source/jaudiolib/sdlmusic.c:454: error: ‘MIX_FADING_OUT’ undeclared (first use in this function)
source/jaudiolib/sdlmusic.c:454: error: (Each undeclared identifier is reported only once
source/jaudiolib/sdlmusic.c:454: error: for each function it appears in.)
source/jaudiolib/sdlmusic.c:455: warning: control reaches end of non-void function
make: *** [obj/sdlmusic.o] Błąd 1
mrplant@milkshake:~/gry/instalki/duke3d/duke3d$
Edited at
dolny at
I installed some more SDL libraries and here's where I got:
After installatoion of nasm and updating the compilers :
source/menues.c:3869: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3871: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3874: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3877: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3879: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3882: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3895: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3896: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3927: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3935: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3936: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3949: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3950: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4110: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4111: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4112: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4113: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4177: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4178: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4179: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4180: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4196: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4197: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4199: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4471: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4556: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4671: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4710: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4758: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4759: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4761: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4762: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4765: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4766: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c: In function ‘playanm’:
source/menues.c:5292: warning: pointer targets in assignment differ in signedness
source/menues.c:5310: warning: pointer targets in passing argument 2 of ‘setgamepalette’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/player.c -o obj/player.o 2>&1
source/player.c: In function ‘processinput’:
source/player.c:2592: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/player.c:2593: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/premap.c -o obj/premap.o 2>&1
source/premap.c: In function ‘genspriteremaps’:
source/premap.c:1300: warning: pointer targets in passing argument 2 of ‘makepalookup’ differ in signedness
source/premap.c: In function ‘waitforeverybody’:
source/premap.c:1324: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/premap.c: In function ‘enterlevel’:
source/premap.c:1470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1471: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1483: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1484: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1503: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1504: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/sector.c -o obj/sector.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/sounds.c -o obj/sounds.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/rts.c -o obj/rts.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/config.c -o obj/config.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/animlib.c -o obj/animlib.o 2>&1
source/animlib.c: In function ‘renderframe’:
source/animlib.c:231: warning: pointer targets in passing argument 1 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c:231: warning: pointer targets in passing argument 2 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c: In function ‘ANIM_LoadAnim’:
source/animlib.c:263: warning: pointer targets in assignment differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/testcd.c -o obj/testcd.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/osdfuncs.c -o obj/osdfuncs.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/osdcmds.c -o obj/osdcmds.o 2>&1
source/osdcmds.c: In function ‘osdcmd_fileinfo’:
source/osdcmds.c:193: warning: pointer targets in passing argument 2 of ‘crc32block’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/util_lib.c -o obj/util_lib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/file_lib.c -o obj/file_lib.o 2>&1
source/jmact/file_lib.c: In function ‘SafeOpenRead’:
source/jmact/file_lib.c:87: warning: control reaches end of non-void function
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/control.c -o obj/control.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/keyboard.c -o obj/keyboard.o 2>&1
source/jmact/keyboard.c: In function ‘KB_Startup’:
source/jmact/keyboard.c:285: warning: passing argument 1 of ‘setkeypresscallback’ from incompatible pointer type
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/mouse.c -o obj/mouse.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/mathutil.c -o obj/mathutil.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/scriplib.c -o obj/scriplib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c rsrc/game_icon.c -o obj/game_icon.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/sdlmusic.c -o obj/sdlmusic.o 2>&1
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_Continue’:
source/jaudiolib/sdlmusic.c:281: warning: pointer targets in passing argument 1 of ‘MUSIC_PlaySong’ differ in signedness
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_PlaySong’:
source/jaudiolib/sdlmusic.c:318: warning: pointer targets in assignment differ in signedness
source/jaudiolib/sdlmusic.c: At top level:
source/jaudiolib/sdlmusic.c:338: warning: ‘ApogeePath’ initialized and declared ‘extern’
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/unixglob.c -o obj/unixglob.o 2>&1
nasm -s -f elf source/jaudiolib/mv_mix.nasm -o obj/mv_mix.o
nasm -s -f elf source/jaudiolib/mv_mix16.nasm -o obj/mv_mix16.o
nasm -s -f elf source/jaudiolib/mvreverb.nasm -o obj/mvreverb.o
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/ll_man.c -o obj/ll_man.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/fx_man.c -o obj/fx_man.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/dsl.c -o obj/dsl.o 2>&1
In file included from source/jaudiolib/dsl.c:26:
source/jaudiolib/dsl.h:50:7: warning: no newline at end of file
source/jaudiolib/dsl.c:257:2: warning: no newline at end of file
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/nodpmi.c -o obj/nodpmi.o 2>&1
In file included from source/jaudiolib/nodpmi.c:29:
source/jaudiolib/dpmi.h:43:7: warning: no newline at end of file
source/jaudiolib/nodpmi.c:50:2: warning: no newline at end of file
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/unixpitch.c -o obj/unixpitch.o 2>&1
In file included from source/jaudiolib/unixpitch.c:33:
source/jaudiolib/dpmi.h:43:7: warning: no newline at end of file
source/jaudiolib/unixpitch.c:212:5: warning: no newline at end of file
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/unixvoc.c -o obj/unixvoc.o 2>&1
In file included from source/jaudiolib/unixvoc.c:38:
source/jaudiolib/dpmi.h:43:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:40:
source/jaudiolib/interrup.h:50:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:41:
source/jaudiolib/dma.h:83:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:43:
source/jaudiolib/dsl.h:50:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:48:
source/jaudiolib/debugio.h:30:7: warning: no newline at end of file
source/jaudiolib/unixvoc.c: In function ‘MV_ServiceVoc’:
source/jaudiolib/unixvoc.c:430: warning: passing argument 3 of ‘MV_16BitReverb’ from incompatible pointer type
source/jaudiolib/unixvoc.c:437: warning: pointer targets in passing argument 1 of ‘MV_8BitReverb’ differ in signedness
source/jaudiolib/unixvoc.c:437: warning: pointer targets in passing argument 2 of ‘MV_8BitReverb’ differ in signedness
source/jaudiolib/unixvoc.c:437: warning: passing argument 3 of ‘MV_8BitReverb’ from incompatible pointer type
source/jaudiolib/unixvoc.c:439: warning: pointer targets in passing argument 1 of ‘MV_8BitReverbFast’ differ in signedness
source/jaudiolib/unixvoc.c:439: warning: pointer targets in passing argument 2 of ‘MV_8BitReverbFast’ differ in signedness
source/jaudiolib/unixvoc.c:476: warning: control reaches end of non-void function
source/jaudiolib/unixvoc.c: In function ‘MV_GetNextVOCBlock’:
source/jaudiolib/unixvoc.c:677: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c:693: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c:756: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c:757: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c: In function ‘MV_StartPlayback’:
source/jaudiolib/unixvoc.c:1838: warning: passing argument 6 of ‘DSL_BeginBufferedPlayback’ from incompatible pointer type
source/jaudiolib/unixvoc.c: In function ‘MV_PlayLoopedWAV’:
source/jaudiolib/unixvoc.c:2224: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
source/jaudiolib/unixvoc.c:2877:5: warning: no newline at end of file
mkdir -p eobj/
make -C ../build/ "OBJ=/home/mrplant/gry/instalki/duke3d/duke3d/eobj/" "CFLAGS=-DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL" enginelib
make[1]: Wejście do katalogu `/home/mrplant/gry/instalki/duke3d/build'
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/engine.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/engine.o 2>&1
In file included from src/engine.c:699:
src/polymost.c: In function ‘polymost_printext256’:
src/polymost.c:3933: warning: pointer targets in assignment differ in signednesssrc/polymost.c:3944: warning: pointer targets in assignment differ in signednesssrc/engine.c: In function ‘setbrightness’:
src/engine.c:8527: warning: pointer targets in passing argument 3 of ‘setpalette’ differ in signedness
src/engine.c: In function ‘setpalettefade’:
src/engine.c:8566: warning: pointer targets in passing argument 3 of ‘setpalette’ differ in signedness
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/cache1d.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/cache1d.o 2>&1
src/cache1d.c: In function ‘kzipopen’:
src/cache1d.c:26: warning: comparison between signed and unsigned
nasm -s -f elf src/a.nasm -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/a.o
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/pragmas.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/pragmas.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/osd.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/osd.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/crc32.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/crc32.o 2>&1
echo "const char _engine_cflags[] = \"-DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL\";" > src/tmp/engineinfo.c
echo "const char _engine_libs[] = \"-lm -lfmod -L/usr/lib -lSDL -lpthread\";" >> src/tmp/engineinfo.c
echo "const char _engine_uname[] = \"Linux milkshake 2.6.12-8-386 #1 Thu Sep 15 21:14:32 UTC 2005 i686 GNU/Linux\";" >> src/tmp/engineinfo.c
echo "const char _engine_compiler[] = \"gcc 4.0.2 i486-linux-gnu\";" >> src/tmp/engineinfo.c
echo "const char _engine_date[] = __DATE__ \" \" __TIME__;" >> src/tmp/engineinfo.c
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/tmp/engineinfo.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/engineinfo.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/baselayer.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/baselayer.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/glbuild.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/glbuild.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/compat.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/compat.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/kplib.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/kplib.o 2>&1
src/kplib.c: In function ‘kzread’:
src/kplib.c:2834: warning: operation on ‘gslidew’ may be undefined
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/scriptfile.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/scriptfile.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/mmulti.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/mmulti.o 2>&1
src/mmulti.c: In function ‘netread’:
src/mmulti.c:124: warning: pointer targets in passing argument 6 of ‘recvfrom’ differ in signedness
src/mmulti.c: In function ‘dosendpackets’:
src/mmulti.c:452: warning: comparison between signed and unsigned
src/mmulti.c:463: warning: empty body in an if-statement
src/mmulti.c: In function ‘sendpacket’:
src/mmulti.c:472: warning: comparison between signed and unsigned
src/mmulti.c: In function ‘getpacket’:
src/mmulti.c:517: warning: comparison between signed and unsigned
src/mmulti.c:580: warning: comparison between signed and unsigned
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/defs.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/defs.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/sdlayer.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/sdlayer.o 2>&1
src/sdlayer.c:55: error: static declaration of ‘keynames’ follows non-static declaration
include/baselayer.h:38: error: previous declaration of ‘keynames’ was here
src/sdlayer.c: In function ‘initinput’:
src/sdlayer.c:355: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
src/sdlayer.c: In function ‘getjoyname’:
src/sdlayer.c:407: warning: pointer targets in return differ in signedness
src/sdlayer.c:412: warning: pointer targets in return differ in signedness
src/sdlayer.c:417: warning: pointer targets in return differ in signedness
src/sdlayer.c: In function ‘setvideomode’:
src/sdlayer.c:908: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:909: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:910: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:911: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:922: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:924: warning: pointer targets in passing argument 1 of ‘Bstrtoken’ differ in signedness
src/sdlayer.c:924: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:925: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:928: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:929: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:932: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:935: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
make[1]: *** [/home/mrplant/gry/instalki/duke3d/duke3d/eobj/sdlayer.o] Error 1
make[1]: Opuszczenie katalogu `/home/mrplant/gry/instalki/duke3d/build'
make: *** [eobj/libengine.a] Error 2
JonoF at
I can honestly say I've never seen GCC throw warnings like that, but that's because I've never built the port using GCC 4 before. I'll have to get the Ubuntu 5.10 Preview LiveCD and see what awaits me.
Jonathon
dolny at
Thanks for your reply. Thanks for your work. Thanks for your help :) Waiting for the reply. I'll post the solution + links to your ports on Linux forums later on.
plugwash at
btw i had a look at what you pasted and the actual error seems to be
src/sdlayer.c:55: error: static declaration of
funduke at
Re: Can't compile (Ubuntu Linux) :(
dolny said
http://mommilan.ath.cx/jfduke/faq.html - this link is dead
It's from the google-cache.
If my link doesn't work, try to search for your link in google and then follow the 'cache'-link.
Greetings
Funduke
plugwash at
Updated: Can't compile (Ubuntu Linux) >> IT WORKS!!!!!
what happens if you remove the word static from the indicated line in sdlayer.c?
JonoF at
You should remove the "extern unsigned char keynames[256][24];" line from baselayer.h.
Jonathon
dolny at
JonoF said
You should remove the "extern unsigned char keynames[256][24];" line from baselayer.h.
Jonathon
After I removed it:
mrplant@milkshake:~/gry/instalki/duke3d/duke3d$ sudo make
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/game.c -o obj/game.o 2>&1
source/game.c: In function ‘allowtimetocorrecterrorswhenquitting’:
source/game.c:421: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘getpackets’:
source/game.c:475: warning: pointer targets in passing argument 2 of ‘getpacket’ differ in signedness
source/game.c:490: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:601: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:606: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:611: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c:627: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:657: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:681: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:699: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘faketimerhandler’:
source/game.c:926: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:985: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:995: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:1067: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘caches’:
source/game.c:1088: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1089: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1097: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1098: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c: In function ‘displayfragbar’:
source/game.c:1687: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1688: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c: In function ‘coords’:
source/game.c:1962: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1963: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1964: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1965: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1966: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1967: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1968: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1969: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1970: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1971: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1972: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1973: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1974: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1975: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1976: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1977: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1978: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1979: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1980: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1981: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1982: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1983: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c: In function ‘typemode’:
source/game.c:2226: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:2233: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:2245: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘displayrest’:
source/game.c:2585: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2586: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:2589: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2589: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2593: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2593: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2593: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
source/game.c:2594: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:2596: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2596: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2596: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
source/game.c:2597: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c: In function ‘spawn’:
source/game.c:4948: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4949: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c:4965: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4966: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c:4997: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4998: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c: In function ‘cheats’:
source/game.c:6245: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘nonsharedkeys’:
source/game.c:6528: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:6529: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6531: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c:6543: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6550: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:6578: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:6755: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:6756: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6757: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c: In function ‘checkcommandline’:
source/game.c:7010: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:7011: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
source/game.c:7012: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:7014: warning: pointer targets in passing argument 1 of ‘initgroupfile’ differ in signedness
source/game.c: In function ‘loadtmb’:
source/game.c:7434: warning: pointer targets in passing argument 1 of ‘MUSIC_RegisterTimbreBank’ differ in signedness
source/game.c: In function ‘dobonus’:
source/game.c:9406: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9407: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9413: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9415: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9422: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9423: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9428: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9429: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9435: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9436: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
source/game.c:9440: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9441: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9455: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9456: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9601: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9602: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9606: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9607: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9611: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9612: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9634: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9634: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9635: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9638: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9639: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9644: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9645: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9645: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9646: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9663: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9663: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9664: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9666: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9666: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9667: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9667: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9668: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/actors.c -o obj/actors.o 2>&1
source/actors.c: In function ‘moveeffectors’:
source/actors.c:5171: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/actors.c:5172: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/gamedef.c -o obj/gamedef.o 2>&1
source/gamedef.c: In function ‘keyword’:
source/gamedef.c:335: warning: comparison between signed and unsigned
source/gamedef.c:336: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘transword’:
source/gamedef.c:362: warning: comparison between signed and unsigned
source/gamedef.c:364: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘transnum’:
source/gamedef.c:412: warning: comparison between signed and unsigned
source/gamedef.c:423: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘parsecommand’:
source/gamedef.c:457: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:458: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/gamedef.c:468: warning: case label value is less than minimum value for type
source/gamedef.c:502: warning: comparison between signed and unsigned
source/gamedef.c:560: warning: comparison between signed and unsigned
source/gamedef.c:621: warning: comparison between signed and unsigned
source/gamedef.c:724: warning: pointer targets in passing argument 1 of ‘kopen4load’ differ in signedness
source/gamedef.c:751: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/gamedef.c:772: warning: comparison between signed and unsigned
source/gamedef.c:826: warning: comparison between signed and unsigned
source/gamedef.c: In function ‘loadefs’:
source/gamedef.c:1601: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:1602: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/gamedef.c:1612: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:1613: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/global.c -o obj/global.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/menues.c -o obj/menues.o 2>&1
source/menues.c: In function ‘loadplayer’:
source/menues.c:481: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:482: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/menues.c: In function ‘menus’:
source/menues.c:1599: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1600: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:1602: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1603: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:1685: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1686: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1702: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1703: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1863: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1864: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1866: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1867: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1873: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1874: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1903: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:1985: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1986: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1988: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1989: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:2595: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2596: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:2598: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2602: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2603: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:2933: warning: passing argument 1 of ‘checkvideomode’ from incompatible pointer type
source/menues.c:2933: warning: passing argument 2 of ‘checkvideomode’ from incompatible pointer type
source/menues.c:3193: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3194: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3197: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3198: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3212: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3213: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3214: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3215: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3217: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:3220: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3221: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3222: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:3274: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3276: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3279: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3279: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/menues.c:3280: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3282: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3285: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3285: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/menues.c:3286: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3288: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3304: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3305: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3372: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3376: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3378: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3382: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3387: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3389: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3475: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3477: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3479: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3481: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3482: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3483: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3484: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3489: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3491: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3493: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3496: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3507: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3509: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3512: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3586: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3587: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3597: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3598: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3604: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3606: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3609: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3613: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3615: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3618: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3622: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3624: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3627: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3631: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3633: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3636: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3721: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3725: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3728: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3733: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3735: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3816: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3817: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3827: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3828: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3832: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3834: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3837: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3840: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3842: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3845: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3864: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3865: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3869: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3871: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3874: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3877: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3879: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3882: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3895: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3896: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3927: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3935: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3936: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3949: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3950: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4110: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4111: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4112: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4113: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4177: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4178: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4179: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4180: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4196: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4197: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4199: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4471: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4556: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4671: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4710: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4758: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4759: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4761: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4762: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4765: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4766: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c: In function ‘playanm’:
source/menues.c:5292: warning: pointer targets in assignment differ in signedness
source/menues.c:5310: warning: pointer targets in passing argument 2 of ‘setgamepalette’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/player.c -o obj/player.o 2>&1
source/player.c: In function ‘processinput’:
source/player.c:2592: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/player.c:2593: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/premap.c -o obj/premap.o 2>&1
source/premap.c: In function ‘genspriteremaps’:
source/premap.c:1300: warning: pointer targets in passing argument 2 of ‘makepalookup’ differ in signedness
source/premap.c: In function ‘waitforeverybody’:
source/premap.c:1324: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/premap.c: In function ‘enterlevel’:
source/premap.c:1470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1471: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1483: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1484: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1503: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1504: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/sector.c -o obj/sector.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/sounds.c -o obj/sounds.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/rts.c -o obj/rts.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/config.c -o obj/config.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/animlib.c -o obj/animlib.o 2>&1
source/animlib.c: In function ‘renderframe’:
source/animlib.c:231: warning: pointer targets in passing argument 1 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c:231: warning: pointer targets in passing argument 2 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c: In function ‘ANIM_LoadAnim’:
source/animlib.c:263: warning: pointer targets in assignment differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/testcd.c -o obj/testcd.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/osdfuncs.c -o obj/osdfuncs.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/osdcmds.c -o obj/osdcmds.o 2>&1
source/osdcmds.c: In function ‘osdcmd_fileinfo’:
source/osdcmds.c:193: warning: pointer targets in passing argument 2 of ‘crc32block’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/util_lib.c -o obj/util_lib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/file_lib.c -o obj/file_lib.o 2>&1
source/jmact/file_lib.c: In function ‘SafeOpenRead’:
source/jmact/file_lib.c:87: warning: control reaches end of non-void function
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/control.c -o obj/control.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/keyboard.c -o obj/keyboard.o 2>&1
source/jmact/keyboard.c: In function ‘KB_Startup’:
source/jmact/keyboard.c:285: warning: passing argument 1 of ‘setkeypresscallback’ from incompatible pointer type
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/mouse.c -o obj/mouse.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/mathutil.c -o obj/mathutil.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jmact/scriplib.c -o obj/scriplib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c rsrc/game_icon.c -o obj/game_icon.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jaudiolib/audiolib_musicstub.c -o obj/audiolib_musicstub.o 2>&1
source/jaudiolib/audiolib_musicstub.c: In function ‘MUSIC_GetContext’:
source/jaudiolib/audiolib_musicstub.c:342: warning: control reaches end of non-void function
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -c source/jaudiolib/audiolib_fxstub.c -o obj/audiolib_fxstub.o 2>&1
mkdir eobj/
mkdir: nie można utworzyć katalogu `eobj/': Plik istnieje
make: [eobj/libengine.a] Błąd 1 (zignorowany)
make -C ../build/ "OBJ=/home/mrplant/gry/instalki/duke3d/duke3d/eobj/" "CFLAGS=-DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL" enginelib
make[1]: Wejście do katalogu `/home/mrplant/gry/instalki/duke3d/build'
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/engine.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/engine.o 2>&1
In file included from src/engine.c:699:
src/polymost.c: In function ‘polymost_printext256’:
src/polymost.c:3933: warning: pointer targets in assignment differ in signedness
src/polymost.c:3944: warning: pointer targets in assignment differ in signedness
src/engine.c: In function ‘setbrightness’:
src/engine.c:8527: warning: pointer targets in passing argument 3 of ‘setpalette’ differ in signedness
src/engine.c: In function ‘setpalettefade’:
src/engine.c:8566: warning: pointer targets in passing argument 3 of ‘setpalette’ differ in signedness
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/cache1d.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/cache1d.o 2>&1
src/cache1d.c: In function ‘kzipopen’:
src/cache1d.c:26: warning: comparison between signed and unsigned
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/osd.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/osd.o 2>&1
echo "const char _engine_cflags[] = \"-DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL\";" > src/tmp/engineinfo.c
echo "const char _engine_libs[] = \"-lm -lfmod -L/usr/lib -lSDL -lpthread\";" >> src/tmp/engineinfo.c
echo "const char _engine_uname[] = \"Linux milkshake 2.6.12-8-386 #1 Thu Sep 15 21:14:32 UTC 2005 i686 GNU/Linux\";" >> src/tmp/engineinfo.c
echo "const char _engine_compiler[] = \"gcc 4.0.2 i486-linux-gnu\";" >> src/tmp/engineinfo.c
echo "const char _engine_date[] = __DATE__ \" \" __TIME__;" >> src/tmp/engineinfo.c
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/tmp/engineinfo.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/engineinfo.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/baselayer.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/baselayer.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/glbuild.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/glbuild.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/defs.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/defs.o 2>&1
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/sdlayer.c -o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/sdlayer.o 2>&1
src/sdlayer.c: In function ‘initinput’:
src/sdlayer.c:355: warning: pointer targets in passing argument 1 of ‘strncpy’ differ in signedness
src/sdlayer.c: In function ‘getjoyname’:
src/sdlayer.c:407: warning: pointer targets in return differ in signedness
src/sdlayer.c:412: warning: pointer targets in return differ in signedness
src/sdlayer.c:417: warning: pointer targets in return differ in signedness
src/sdlayer.c: In function ‘setvideomode’:
src/sdlayer.c:908: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:909: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:910: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:911: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:922: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:924: warning: pointer targets in passing argument 1 of ‘Bstrtoken’ differ in signedness
src/sdlayer.c:924: warning: pointer targets in assignment differ in signedness
src/sdlayer.c:925: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:928: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:929: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:932: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
src/sdlayer.c:935: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
ar rc /home/mrplant/gry/instalki/duke3d/duke3d/eobj/libengine.a /home/mrplant/gry/instalki/duke3d/duke3d/eobj/engine.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/cache1d.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/a.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/pragmas.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/osd.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/crc32.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/engineinfo.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/baselayer.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/glbuild.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/compat.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/kplib.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/scriptfile.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/mmulti.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/defs.o /home/mrplant/gry/instalki/duke3d/duke3d/eobj/sdlayer.o
ranlib /home/mrplant/gry/instalki/duke3d/duke3d/eobj/libengine.a
make[1]: Opuszczenie katalogu `/home/mrplant/gry/instalki/duke3d/build'
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -o duke3d obj/game.o obj/actors.o obj/gamedef.o obj/global.o obj/menues.o obj/player.o obj/premap.o obj/sector.o obj/sounds.o obj/rts.o obj/config.o obj/animlib.o obj/testcd.o obj/osdfuncs.o obj/osdcmds.o obj/util_lib.o obj/file_lib.o obj/control.o obj/keyboard.o obj/mouse.o obj/mathutil.o obj/scriplib.o obj/game_icon.o obj/audiolib_musicstub.o obj/audiolib_fxstub.o eobj/libengine.a -lm -L/usr/lib -lSDL -lpthread -Wl,-Map=duke3d.map
/usr/bin/ld: Warning: size of symbol `moustat' changed from 2 in obj/global.o to 1 in eobj/libengine.a(engine.o)
obj/sounds.o: In function `playmusic':
source/sounds.c:240: undefined reference to `PlayMusic'
collect2: ld returned 1 exit status
make: *** [duke3d] Błąd 1
mrplant@milkshake:~/gry/instalki/duke3d/duke3d$
dolny at
Oh man... I decided to start from scratch and downloaded the sources again, patched the sound and tried again. It gave me a different output :shock:
mrplant@milkshake:~/gry/instalki/3drealms/duke3d$ sudo make
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/game.c -o obj/game.o 2>&1
source/game.c: In function ‘allowtimetocorrecterrorswhenquitting’:
source/game.c:421: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘getpackets’:
source/game.c:475: warning: pointer targets in passing argument 2 of ‘getpacket’ differ in signedness
source/game.c:490: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:601: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:606: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:611: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c:627: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:657: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:681: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:699: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘faketimerhandler’:
source/game.c:926: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:985: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:995: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:1067: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘caches’:
source/game.c:1088: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1089: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1097: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1098: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c: In function ‘displayfragbar’:
source/game.c:1687: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1688: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c: In function ‘coords’:
source/game.c:1962: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1963: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1964: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1965: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1966: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1967: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1968: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1969: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1970: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1971: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1972: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1973: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1974: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1975: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1976: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1977: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1978: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1979: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1980: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1981: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c:1982: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:1983: warning: pointer targets in passing argument 5 of ‘printext256’ differ in signedness
source/game.c: In function ‘typemode’:
source/game.c:2226: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:2233: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:2245: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘displayrest’:
source/game.c:2585: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2586: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:2589: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2589: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2593: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2593: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2593: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
source/game.c:2594: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:2596: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:2596: warning: format ‘%d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:2596: warning: format ‘%d’ expects type ‘int’, but argument 4 has type ‘long int’
source/game.c:2597: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c: In function ‘spawn’:
source/game.c:4948: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4949: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c:4965: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4966: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c:4997: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:4998: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/game.c: In function ‘cheats’:
source/game.c:6245: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c: In function ‘nonsharedkeys’:
source/game.c:6528: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:6529: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6531: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c:6543: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6550: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:6578: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/game.c:6755: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:6756: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:6757: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/game.c: In function ‘checkcommandline’:
source/game.c:7010: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/game.c:7011: warning: pointer targets in passing argument 1 of ‘strchr’ differ in signedness
source/game.c:7012: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/game.c:7014: warning: pointer targets in passing argument 1 of ‘initgroupfile’ differ in signedness
source/game.c: In function ‘loadtmb’:
source/game.c:7434: warning: pointer targets in passing argument 1 of ‘MUSIC_RegisterTimbreBank’ differ in signedness
source/game.c: In function ‘dobonus’:
source/game.c:9406: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9407: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9413: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9415: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9422: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9423: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9428: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9429: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9435: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9436: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
source/game.c:9440: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9441: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9455: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9456: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/game.c:9601: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9602: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9606: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9607: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9611: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9612: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9634: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9634: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9635: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9638: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9639: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9644: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9645: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9645: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9646: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9663: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9663: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9664: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/game.c:9666: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9666: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9667: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/game.c:9667: warning: format ‘%-3d’ expects type ‘int’, but argument 3 has type ‘long int’
source/game.c:9668: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/actors.c -o obj/actors.o 2>&1
source/actors.c: In function ‘moveeffectors’:
source/actors.c:5171: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/actors.c:5172: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/gamedef.c -o obj/gamedef.o 2>&1
source/gamedef.c: In function ‘keyword’:
source/gamedef.c:335: warning: comparison between signed and unsigned
source/gamedef.c:336: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘transword’:
source/gamedef.c:362: warning: comparison between signed and unsigned
source/gamedef.c:364: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘transnum’:
source/gamedef.c:412: warning: comparison between signed and unsigned
source/gamedef.c:423: warning: pointer targets in passing argument 1 of ‘strcmp’ differ in signedness
source/gamedef.c: In function ‘parsecommand’:
source/gamedef.c:457: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:458: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/gamedef.c:468: warning: case label value is less than minimum value for type
source/gamedef.c:502: warning: comparison between signed and unsigned
source/gamedef.c:560: warning: comparison between signed and unsigned
source/gamedef.c:621: warning: comparison between signed and unsigned
source/gamedef.c:724: warning: pointer targets in passing argument 1 of ‘kopen4load’ differ in signedness
source/gamedef.c:751: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/gamedef.c:772: warning: comparison between signed and unsigned
source/gamedef.c:826: warning: comparison between signed and unsigned
source/gamedef.c: In function ‘loadefs’:
source/gamedef.c:1601: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:1602: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/gamedef.c:1612: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/gamedef.c:1613: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/global.c -o obj/global.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/menues.c -o obj/menues.o 2>&1
source/menues.c: In function ‘loadplayer’:
source/menues.c:481: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:482: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/menues.c: In function ‘menus’:
source/menues.c:1599: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1600: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:1602: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1603: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:1685: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1686: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1702: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1703: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1863: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1864: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1866: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1867: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1873: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1874: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1903: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:1985: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1986: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:1988: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:1989: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:2595: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2596: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:2598: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2602: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:2603: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:2933: warning: passing argument 1 of ‘checkvideomode’ from incompatible pointer type
source/menues.c:2933: warning: passing argument 2 of ‘checkvideomode’ from incompatible pointer type
source/menues.c:3193: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3194: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3197: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3198: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3212: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3213: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3214: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3215: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3217: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:3220: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3221: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3222: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:3274: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3276: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3279: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3279: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/menues.c:3280: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3282: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3285: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3285: warning: pointer targets in passing argument 2 of ‘strcpy’ differ in signedness
source/menues.c:3286: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3288: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3304: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3305: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3372: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3376: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3378: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3382: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3387: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3389: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3475: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3477: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3479: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3481: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3482: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3483: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3484: warning: pointer targets in passing argument 1 of ‘strcat’ differ in signedness
source/menues.c:3489: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3491: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3493: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3496: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3507: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3509: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3512: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3586: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3587: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3597: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3598: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3604: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3606: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3609: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3613: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3615: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3618: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3622: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3624: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3627: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3631: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3633: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3636: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3721: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3725: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3728: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3733: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3735: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3816: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3817: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3827: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3828: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3832: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3834: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3837: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3840: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3842: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3845: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3864: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3865: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3869: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3871: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3874: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3877: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3879: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness
source/menues.c:3882: warning: pointer targets in passing argument 3 of ‘minitext’ differ in signedness
source/menues.c:3895: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3896: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3927: warning: passing argument 5 of ‘menutext’ discards qualifiers from pointer target type
source/menues.c:3935: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3936: warning: pointer targets in passing argument 3 of ‘bar’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3938: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3939: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:3949: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:3950: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4110: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4111: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4112: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4113: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4177: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4178: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4179: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4180: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4196: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4197: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4198: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4199: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4471: warning: pointer targets in passing argument 3 of ‘gametext’ differ in signedness
source/menues.c:4556: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4671: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4710: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/menues.c:4758: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4759: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4761: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4762: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c:4765: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/menues.c:4766: warning: pointer targets in passing argument 5 of ‘menutext’ differ in signedness
source/menues.c: In function ‘playanm’:
source/menues.c:5292: warning: pointer targets in assignment differ in signedness
source/menues.c:5310: warning: pointer targets in passing argument 2 of ‘setgamepalette’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/player.c -o obj/player.o 2>&1
source/player.c: In function ‘processinput’:
source/player.c:2592: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/player.c:2593: warning: pointer targets in passing argument 1 of ‘sendscore’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/premap.c -o obj/premap.o 2>&1
source/premap.c: In function ‘genspriteremaps’:
source/premap.c:1300: warning: pointer targets in passing argument 2 of ‘makepalookup’ differ in signedness
source/premap.c: In function ‘waitforeverybody’:
source/premap.c:1324: warning: pointer targets in passing argument 2 of ‘sendpacket’ differ in signedness
source/premap.c: In function ‘enterlevel’:
source/premap.c:1470: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1471: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1483: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1484: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
source/premap.c:1503: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness
source/premap.c:1504: warning: pointer targets in passing argument 1 of ‘gameexit’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/sector.c -o obj/sector.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/sounds.c -o obj/sounds.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/rts.c -o obj/rts.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/config.c -o obj/config.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/animlib.c -o obj/animlib.o 2>&1
source/animlib.c: In function ‘renderframe’:
source/animlib.c:231: warning: pointer targets in passing argument 1 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c:231: warning: pointer targets in passing argument 2 of ‘CPlayRunSkipDump’ differ in signedness
source/animlib.c: In function ‘ANIM_LoadAnim’:
source/animlib.c:263: warning: pointer targets in assignment differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/testcd.c -o obj/testcd.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/osdfuncs.c -o obj/osdfuncs.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/osdcmds.c -o obj/osdcmds.o 2>&1
source/osdcmds.c: In function ‘osdcmd_fileinfo’:
source/osdcmds.c:193: warning: pointer targets in passing argument 2 of ‘crc32block’ differ in signedness
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/util_lib.c -o obj/util_lib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/file_lib.c -o obj/file_lib.o 2>&1
source/jmact/file_lib.c: In function ‘SafeOpenRead’:
source/jmact/file_lib.c:87: warning: control reaches end of non-void function
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/control.c -o obj/control.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/keyboard.c -o obj/keyboard.o 2>&1
source/jmact/keyboard.c: In function ‘KB_Startup’:
source/jmact/keyboard.c:285: warning: passing argument 1 of ‘setkeypresscallback’ from incompatible pointer type
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/mouse.c -o obj/mouse.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/mathutil.c -o obj/mathutil.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jmact/scriplib.c -o obj/scriplib.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c rsrc/game_icon.c -o obj/game_icon.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/sdlmusic.c -o obj/sdlmusic.o 2>&1
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_Continue’:
source/jaudiolib/sdlmusic.c:281: warning: pointer targets in passing argument 1 of ‘MUSIC_PlaySong’ differ in signedness
source/jaudiolib/sdlmusic.c: In function ‘MUSIC_PlaySong’:
source/jaudiolib/sdlmusic.c:318: warning: pointer targets in assignment differ in signedness
source/jaudiolib/sdlmusic.c: At top level:
source/jaudiolib/sdlmusic.c:338: warning: ‘ApogeePath’ initialized and declared ‘extern’
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/unixglob.c -o obj/unixglob.o 2>&1
nasm -s -f elf source/jaudiolib/mv_mix.nasm -o obj/mv_mix.o
nasm -s -f elf source/jaudiolib/mv_mix16.nasm -o obj/mv_mix16.o
nasm -s -f elf source/jaudiolib/mvreverb.nasm -o obj/mvreverb.o
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/ll_man.c -o obj/ll_man.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/fx_man.c -o obj/fx_man.o 2>&1
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/dsl.c -o obj/dsl.o 2>&1
In file included from source/jaudiolib/dsl.c:26:
source/jaudiolib/dsl.h:50:7: warning: no newline at end of file
source/jaudiolib/dsl.c:257:2: warning: no newline at end of file
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/nodpmi.c -o obj/nodpmi.o 2>&1
In file included from source/jaudiolib/nodpmi.c:29:
source/jaudiolib/dpmi.h:43:7: warning: no newline at end of file
source/jaudiolib/nodpmi.c:50:2: warning: no newline at end of file
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/unixpitch.c -o obj/unixpitch.o 2>&1
In file included from source/jaudiolib/unixpitch.c:33:
source/jaudiolib/dpmi.h:43:7: warning: no newline at end of file
source/jaudiolib/unixpitch.c:212:5: warning: no newline at end of file
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/jaudiolib/unixvoc.c -o obj/unixvoc.o 2>&1
In file included from source/jaudiolib/unixvoc.c:38:
source/jaudiolib/dpmi.h:43:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:40:
source/jaudiolib/interrup.h:50:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:41:
source/jaudiolib/dma.h:83:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:43:
source/jaudiolib/dsl.h:50:7: warning: no newline at end of file
In file included from source/jaudiolib/unixvoc.c:48:
source/jaudiolib/debugio.h:30:7: warning: no newline at end of file
source/jaudiolib/unixvoc.c: In function ‘MV_ServiceVoc’:
source/jaudiolib/unixvoc.c:430: warning: passing argument 3 of ‘MV_16BitReverb’ from incompatible pointer type
source/jaudiolib/unixvoc.c:437: warning: pointer targets in passing argument 1 of ‘MV_8BitReverb’ differ in signedness
source/jaudiolib/unixvoc.c:437: warning: pointer targets in passing argument 2 of ‘MV_8BitReverb’ differ in signedness
source/jaudiolib/unixvoc.c:437: warning: passing argument 3 of ‘MV_8BitReverb’ from incompatible pointer type
source/jaudiolib/unixvoc.c:439: warning: pointer targets in passing argument 1 of ‘MV_8BitReverbFast’ differ in signedness
source/jaudiolib/unixvoc.c:439: warning: pointer targets in passing argument 2 of ‘MV_8BitReverbFast’ differ in signedness
source/jaudiolib/unixvoc.c:476: warning: control reaches end of non-void function
source/jaudiolib/unixvoc.c: In function ‘MV_GetNextVOCBlock’:
source/jaudiolib/unixvoc.c:677: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c:693: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c:756: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c:757: warning: pointer targets in assignment differ in signedness
source/jaudiolib/unixvoc.c: In function ‘MV_StartPlayback’:
source/jaudiolib/unixvoc.c:1838: warning: passing argument 6 of ‘DSL_BeginBufferedPlayback’ from incompatible pointer type
source/jaudiolib/unixvoc.c: In function ‘MV_PlayLoopedWAV’:
source/jaudiolib/unixvoc.c:2224: warning: pointer targets in passing argument 1 of ‘strncmp’ differ in signedness
source/jaudiolib/unixvoc.c:2877:5: warning: no newline at end of file
mkdir -p eobj/
make -C ../build/ "OBJ=/home/mrplant/gry/instalki/3drealms/duke3d/eobj/" "CFLAGS=-DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL" enginelib
make[1]: Wejście do katalogu `/home/mrplant/gry/instalki/3drealms/build'
echo "const char _engine_cflags[] = \"-DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL\";" > src/tmp/engineinfo.c
echo "const char _engine_libs[] = \"-lm -lfmod -L/usr/lib -lSDL -lpthread\";" >> src/tmp/engineinfo.c
echo "const char _engine_uname[] = \"Linux milkshake 2.6.12-8-386 #1 Thu Sep 15 21:14:32 UTC 2005 i686 GNU/Linux\";" >> src/tmp/engineinfo.c
echo "const char _engine_compiler[] = \"gcc 4.0.2 i486-linux-gnu\";" >> src/tmp/engineinfo.c
echo "const char _engine_date[] = __DATE__ \" \" __TIME__;" >> src/tmp/engineinfo.c
gcc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Iinclude/ -I../jfaud/inc -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -DDYNAMIC_OPENGL -c src/tmp/engineinfo.c -o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/engineinfo.o 2>&1
ar rc /home/mrplant/gry/instalki/3drealms/duke3d/eobj/libengine.a /home/mrplant/gry/instalki/3drealms/duke3d/eobj/engine.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/cache1d.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/a.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/pragmas.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/osd.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/crc32.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/engineinfo.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/baselayer.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/glbuild.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/compat.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/kplib.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/scriptfile.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/mmulti.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/defs.o /home/mrplant/gry/instalki/3drealms/duke3d/eobj/sdlayer.o
ranlib /home/mrplant/gry/instalki/3drealms/duke3d/eobj/libengine.a
make[1]: Opuszczenie katalogu `/home/mrplant/gry/instalki/3drealms/build'
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -o duke3d obj/game.o obj/actors.o obj/gamedef.o obj/global.o obj/menues.o obj/player.o obj/premap.o obj/sector.o obj/sounds.o obj/rts.o obj/config.o obj/animlib.o obj/testcd.o obj/osdfuncs.o obj/osdcmds.o obj/util_lib.o obj/file_lib.o obj/control.o obj/keyboard.o obj/mouse.o obj/mathutil.o obj/scriplib.o obj/game_icon.o obj/sdlmusic.o obj/unixglob.o obj/mv_mix.o obj/mv_mix16.o obj/mvreverb.o obj/ll_man.o obj/fx_man.o obj/dsl.o obj/nodpmi.o obj/unixpitch.o obj/unixvoc.o eobj/libengine.a -lm -L/usr/lib -lSDL -lpthread -L/usr/lib -lSDL -lpthread -lSDL_mixer -Wl,-Map=duke3d.map
/usr/bin/ld: Warning: size of symbol `moustat' changed from 2 in obj/global.o to 1 in eobj/libengine.a(engine.o)
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/astub.c -o obj/astub.o 2>&1
dolny at
Hmm... SW compiled with many warnings after that baselayer.h change. Gonna check if it works...and maybe try to do that with Duke3d again.
Edit:
http://ubuntuforums.org/showthread.php?t=71069
I managed to compile and run SW but it crashed my Linux after a moment.
Edit2:
Yeah, after I enter the game (after choosing the difficulty level) the game freezes. If I don't manage to close it it freezes my KDE. I haven't installed the Mesa libraries, I use ATI Radeon 9600 Pro with the latest drivers. Should I install mesa-gl or what ?
Console output:
mrplant@milkshake:~/gry/instalki/3drealms/sw$ ./sw
Detected shareware GRP
SHADOW WARRIOR(tm) Version 1.2 (Shareware Version)
Copyright (c) 1997 3D Realms Entertainment
Type 'SW -?' for command line options.
You have played Shadow Warrior 0 times. Please call and order the full
version at 1(800)-3DREALMS or see the ORDER.FRM file.
Then I copied sw.rts to this dir but it didn't change anything besides the console output (no 'failure...' text anymore):
Initialising timer
Loading sound and graphics...
initcache(): Initialised with 33554416 bytes
Setting video mode 320x240 (8-bpp windowed)
mrplant@milkshake:~/gry/instalki/3drealms/sw$
If I don't close the SW window fast after entering the game the system slows down so much I have to reboot the computer :( I tied to switch settings in sw.cfg (change resolution, all three options with GL changed to 0) but that didn't help either. Damn.
TX at
Don't expect much to work with the ATI Linux drivers -- I've even seen glxgears segfault with them. I'm willing to wager that the ATI card is your entire problem.
Also, you appear to be building with GCC 4.x -- this likely isn't going to work either. Install GCC 3.4.x and try it with that.
dolny at
Edited: Its probably that, though I'm not sure. Because I've tested Doomsday + jDoom (www.doomsdayhq.com) and it works ok for a couple of minutes and then often starts to lag like Shadow Warrior. If I remember correctly, the Quake2 linux port doesn't lag like that (I checked it now). Anyway, thanks for your help guys. JonoF - thanks for your work. I wrote a mini-tutorial for Breezy that is available on Official Ubuntu Forums now. We'll see if I'm the only one with this problem.
PS. Duke3d still doesn't compile
http://ubuntuforums.org/showthread.php?t=71069
My fglrxinfo
mrplant@milkshake:~$ fglrxinfo
display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: RADEON 9600 Generic
OpenGL version string: 1.3.5272 (X4.3.0-8.16.20)
1716 frames in 5.0 seconds = 343.200 FPS
2086 frames in 5.0 seconds = 417.200 FPS
2090 frames in 5.0 seconds = 418.000 FPS
1895 frames in 5.0 seconds = 379.000 FPS
2062 frames in 5.0 seconds = 412.400 FPS
2052 frames in 5.0 seconds = 410.400 FPS
1833 frames in 5.0 seconds = 366.600 FPS
2032 frames in 5.0 seconds = 406.400 FPS
2026 frames in 5.0 seconds = 405.200 FPS
1810 frames in 5.0 seconds = 362.000 FPS
2043 frames in 5.0 seconds = 408.600 FPS
1999 frames in 5.0 seconds = 399.800 FPS
1753 frames in 5.0 seconds = 350.600 FPS
1991 frames in 5.0 seconds = 398.200 FPS
1983 frames in 5.0 seconds = 396.600 FPS
mrplant@milkshake:~$
mrplant@milkshake:~$ glxgears -iacknowledgethatthistoolisnotabenchmark
14134 frames in 5.0 seconds = 2826.784 FPS
14236 frames in 5.0 seconds = 2847.182 FPS
14246 frames in 5.0 seconds = 2849.193 FPS
14114 frames in 5.0 seconds = 2822.729 FPS
14123 frames in 5.0 seconds = 2824.530 FPS
^[mrplant@milkshake:~$
dolny at
I compiled it again. It didn't work. I entered the game, switched off all options and it didn't freeze. By checking every possibility I came to the conclusion that the ambience sounds were freezing the game !
I haven't checked that before because I blamed the ATI drivers/compilation warnings.
So... I will later correct my tutorial about SW on Ubuntu. I'm so happy :D Does SW need any original files besides sw.rts and sw.grp?
Here's a screenshot: http://www.echostar.pl/~dolny/ubu/swlinux.jpg
BTW. Here's the error I got when I tried to compile Duke3D:
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -o duke3d obj/game.o obj/actors.o obj/gamedef.o obj/global.o obj/menues.o obj/player.o obj/premap.o obj/sector.o obj/sounds.o obj/rts.o obj/config.o obj/animlib.o obj/testcd.o obj/osdfuncs.o obj/osdcmds.o obj/util_lib.o obj/file_lib.o obj/control.o obj/keyboard.o obj/mouse.o obj/mathutil.o obj/scriplib.o obj/game_icon.o obj/sdlmusic.o obj/unixglob.o obj/mv_mix.o obj/mv_mix16.o obj/mvreverb.o obj/ll_man.o obj/fx_man.o obj/dsl.o obj/nodpmi.o obj/unixpitch.o obj/unixvoc.o eobj/libengine.a -lm -L/usr/lib -lSDL -lpthread -L/usr/lib -lSDL -lpthread -lSDL_mixer -Wl,-Map=duke3d.map
/usr/bin/ld: Warning: size of symbol `moustat' changed from 2 in obj/global.o to 1 in eobj/libengine.a(engine.o)
gcc -ggdb -W -Wall -Werror-implicit-function-declaration -Wno-char-subscripts -Wno-unused -march=pentium -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -Isource/ -I../build/include/ -Isource/jmact -Isource/jaudiolib -I../jfaud/inc -DSUPERBUILD -DPOLYMOST -DUSE_OPENGL -DDYNAMIC_OPENGL -DNOCOPYPROTECT -DUSE_GCC_PRAGMAS -DLINUX=1 -DRENDERTYPESDL=1 -I/usr/include/SDL -D_REENTRANT -D__cdecl=" " -c source/astub.c -o obj/astub.o 2>&1
source/astub.c:104: error: static declaration of ‘somethingintab’ follows non-static declaration
../build/include/editor.h:17: error: previous declaration of ‘somethingintab’ was here
source/astub.c: In function ‘ExtCheckKeys’:
source/astub.c:2168: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’
source/astub.c:2172: warning: format ‘%ld’ expects type ‘long int’, but argument 3 has type ‘int’
make: *** [obj/astub.o] Błąd 1
...I think it's analogical to that in SW. Can you post the solution ;) ?
Fisch.666 at
Hi!
I have the same problem with the
make: *** [obj/astub.o] error 1
error when i try to compile jfduke3d. When i try to compile jfsw i get this error:
source/jsector.c: In function 'FindOrgTile':
source/jsector.c:1184: error: invalid lvalue in assignment
source/jsector.c: In function 'JS_UnInitLockouts':
source/jsector.c:1200: error: invalid lvalue in assignment
source/jsector.c:1204: error: invalid lvalue in assignment
source/jsector.c:1208: error: invalid lvalue in assignment
source/jsector.c:1212: error: invalid lvalue in assignment
make: *** [obj/jsector.o] error 1