I'm trying to build new utils from sources but there are some issues:
Quote
make utils POLYMER=0 NOASM=1 WITHOUT_GTK=1 USE_LIBVPX=0 RELEASE=0 DEBUGANYWAY=1
Build started using "gcc -ggdb -O0 -DDEBUGGINGAIDS=2 -DNOSDLPARACHUTE -W -Wall -Werror-implicit-function-declaration -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result -Wextra -Wno-char-subscripts -Iinclude -DLUNATIC_ENABLE -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_INTTYPES -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DNOASM -Wimplicit -fno-exceptions -fno-rtti"
Built object obj.gnu/kextract.o
Built object obj.gnu/compat.o
Built object obj.gnu/compat_tools.o
Built executable kextract
Built object obj.gnu/kgroup.o
Built executable kgroup
Built object obj.gnu/transpal.o
Built object obj.gnu/pragmas.o
Built executable transpal
Built object obj.gnu/wad2art.o
Built executable wad2art
Built object obj.gnu/wad2map.o
Built executable wad2map
Built object obj.gnu/kmd2tool.o
Built executable kmd2tool
Built object obj.gnu/md2tool.o
Built executable md2tool
src/util/generateicon.c: In function 'writeicon':
src/util/generateicon.c:25:9: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'intptr_t' [-Wformat]
Built object obj.gnu/generateicon.o
Built object obj.gnu/kplib.o
Built object obj.gnu/cache1d.o
Built executable generateicon
Built object obj.gnu/cacheinfo.o
Built executable cacheinfo
Built object obj.gnu/arttool.o
Built executable arttool
Built object obj.gnu/givedepth.o
Built executable givedepth
Built object obj.gnu/mkpalette.o
obj.gnu/mkpalette.o: In function `convertHSVtoRGB':
/home/bm/eduke32_20120405-2592/build/src/util/mkpalette.c:107: undefined reference to `floor'
collect2: ld returned 1 exit status
Built object obj.gnu/unpackssi.o
Built executable unpackssi
Built object obj.gnu/bsuite.o
Built executable bsuite
Build successful:
ls: cannot access mkpalette: No such file or directory
-rwxr-xr-x 1 bm bm 83922 Apr 8 02:47 arttool
-rwxr-xr-x 1 bm bm 22666 Apr 8 02:47 bsuite
-rwxr-xr-x 1 bm bm 34605 Apr 8 02:47 cacheinfo
-rwxr-xr-x 1 bm bm 157753 Apr 8 02:47 generateicon
-rwxr-xr-x 1 bm bm 16839 Apr 8 02:47 givedepth
-rwxr-xr-x 1 bm bm 33709 Apr 8 02:47 kextract
-rwxr-xr-x 1 bm bm 34985 Apr 8 02:47 kgroup
-rwxr-xr-x 1 bm bm 16494 Apr 8 02:47 kmd2tool
-rwxr-xr-x 1 bm bm 42679 Apr 8 02:47 md2tool
-rwxr-xr-x 1 bm bm 43517 Apr 8 02:47 transpal
-rwxr-xr-x 1 bm bm 16204 Apr 8 02:47 unpackssi
-rwxr-xr-x 1 bm bm 44279 Apr 8 02:47 wad2art
-rwxr-xr-x 1 bm bm 95471 Apr 8 02:47 wad2map
make: *** [finish] Error 2
Build started using "gcc -ggdb -O0 -DDEBUGGINGAIDS=2 -DNOSDLPARACHUTE -W -Wall -Werror-implicit-function-declaration -funsigned-char -fno-strict-aliasing -DNO_GCC_BUILTINS -D_FORTIFY_SOURCE=2 -fjump-tables -Wno-unused-result -Wextra -Wno-char-subscripts -Iinclude -DLUNATIC_ENABLE -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DHAVE_INTTYPES -DRENDERTYPESDL=1 -Wstrict-overflow=1 -DUSE_OPENGL -DNOASM -Wimplicit -fno-exceptions -fno-rtti"
Built object obj.gnu/kextract.o
Built object obj.gnu/compat.o
Built object obj.gnu/compat_tools.o
Built executable kextract
Built object obj.gnu/kgroup.o
Built executable kgroup
Built object obj.gnu/transpal.o
Built object obj.gnu/pragmas.o
Built executable transpal
Built object obj.gnu/wad2art.o
Built executable wad2art
Built object obj.gnu/wad2map.o
Built executable wad2map
Built object obj.gnu/kmd2tool.o
Built executable kmd2tool
Built object obj.gnu/md2tool.o
Built executable md2tool
src/util/generateicon.c: In function 'writeicon':
src/util/generateicon.c:25:9: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'intptr_t' [-Wformat]
Built object obj.gnu/generateicon.o
Built object obj.gnu/kplib.o
Built object obj.gnu/cache1d.o
Built executable generateicon
Built object obj.gnu/cacheinfo.o
Built executable cacheinfo
Built object obj.gnu/arttool.o
Built executable arttool
Built object obj.gnu/givedepth.o
Built executable givedepth
Built object obj.gnu/mkpalette.o
obj.gnu/mkpalette.o: In function `convertHSVtoRGB':
/home/bm/eduke32_20120405-2592/build/src/util/mkpalette.c:107: undefined reference to `floor'
collect2: ld returned 1 exit status
Built object obj.gnu/unpackssi.o
Built executable unpackssi
Built object obj.gnu/bsuite.o
Built executable bsuite
Build successful:
ls: cannot access mkpalette: No such file or directory
-rwxr-xr-x 1 bm bm 83922 Apr 8 02:47 arttool
-rwxr-xr-x 1 bm bm 22666 Apr 8 02:47 bsuite
-rwxr-xr-x 1 bm bm 34605 Apr 8 02:47 cacheinfo
-rwxr-xr-x 1 bm bm 157753 Apr 8 02:47 generateicon
-rwxr-xr-x 1 bm bm 16839 Apr 8 02:47 givedepth
-rwxr-xr-x 1 bm bm 33709 Apr 8 02:47 kextract
-rwxr-xr-x 1 bm bm 34985 Apr 8 02:47 kgroup
-rwxr-xr-x 1 bm bm 16494 Apr 8 02:47 kmd2tool
-rwxr-xr-x 1 bm bm 42679 Apr 8 02:47 md2tool
-rwxr-xr-x 1 bm bm 43517 Apr 8 02:47 transpal
-rwxr-xr-x 1 bm bm 16204 Apr 8 02:47 unpackssi
-rwxr-xr-x 1 bm bm 44279 Apr 8 02:47 wad2art
-rwxr-xr-x 1 bm bm 95471 Apr 8 02:47 wad2map
make: *** [finish] Error 2
Note: with CLANG=1 it compiles without errors.
Otherwise 'generateicon' give me also a Segmentation fault, here a backtrace:
Quote
Reading symbols from /home/bm/eduke32_20120405-2592/build/generateicon...done.
(gdb) run test.png
Starting program: /home/bm/eduke32_20120405-2592/build/generateicon test.png
Program received signal SIGSEGV, Segmentation fault.
0x000000000040cb9c in kpzload (filnam=0x7fffffffe9f9 "test.png", pic=0x0, bpl=0x7fffffffe5b4, xsiz=0x7fffffffe580, ysiz=0x7fffffffe584) at src/kplib.c:3302
3302 (*pic) = 0;
(gdb) q
(gdb) run test.png
Starting program: /home/bm/eduke32_20120405-2592/build/generateicon test.png
Program received signal SIGSEGV, Segmentation fault.
0x000000000040cb9c in kpzload (filnam=0x7fffffffe9f9 "test.png", pic=0x0, bpl=0x7fffffffe5b4, xsiz=0x7fffffffe580, ysiz=0x7fffffffe584) at src/kplib.c:3302
3302 (*pic) = 0;
(gdb) q
Linux x86-64.