Xonotic Forums
[SOLVED] Ubuntu 16.0.4 Compile - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] Ubuntu 16.0.4 Compile (/showthread.php?tid=6365)



Ubuntu 16.0.4 Compile - RedScale12 - 09-06-2016

When i try to compile all i get

compilation terminated.
makefile.inc:515: recipe for target 'fs.o' failed
make[2]: *** [fs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/drago/xonotic/darkplaces/build-obj/debug/darkplaces-dedicated'
makefile.inc:431: recipe for target 'bin-debug' failed
make[1]: *** [bin-debug] Error 2
make[1]: Leaving directory '/home/drago/xonotic/darkplaces'
makefile.inc:381: recipe for target 'sv-debug' failed
make: *** [sv-debug] Error 2

I'm New to Linux based OS so i have no clue what it means


RE: Ubuntu 16.0.4 Compile - martin-t - 09-06-2016

That doesn't seem to be the complete output. Is there more above those lines?

Are you following this: https://gitlab.com/xonotic/xonotic/wikis/Repository_Access ?


RE: Ubuntu 16.0.4 Compile - RedScale12 - 09-06-2016

this is just the error lines and i am following the https://gitlab.com/xonotic/xonotic/wikis/Repository_Access


RE: Ubuntu 16.0.4 Compile - martin-t - 09-06-2016

Please, post the entire output, the reason for the error should be there.


RE: Ubuntu 16.0.4 Compile - RedScale12 - 09-06-2016

./all compile -c
Timing via the time utility works.
Found main repo = http://de.git.xonotic.org/xonotic/
Repository . enabled because it already exists
Repository data/xonotic-data.pk3dir enabled because it already exists
Repository data/xonotic-music.pk3dir enabled because it already exists
Repository data/xonotic-nexcompat.pk3dir disabled by default, create data/xonotic-nexcompat.pk3dir.yes to enable
Repository darkplaces enabled because it already exists
Repository netradiant enabled because it already exists
Repository div0-gittools disabled by default, create div0-gittools.yes to enable
Repository d0_blind_id enabled because it already exists
Repository data/xonotic-maps.pk3dir enabled because it already exists
Repository mediasource disabled by default, create mediasource.yes to enable
Repository gmqcc enabled because it already exists
Repository xonstat disabled by default, create xonstat.yes to enable
Repository xonstatdb disabled by default, create xonstatdb.yes to enable
Repository wiki disabled by default, create wiki.yes to enable
+ gcc -DSUPPORTIPV6 misc/tools/conftest.c -o conftest
+ cd /home/drago/xonotic/d0_blind_id
+ cd /home/drago/xonotic/gmqcc
+ make -j2 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a clean
rm -f *.d
rm -f ast.o code.o conout.o fold.o ftepp.o intrin.o ir.o lexer.o main.o opts.o parser.o stat.o utf8.o util.o ast.d code.d conout.d fold.d ftepp.d intrin.d ir.d lexer.d main.d opts.d parser.d stat.d utf8.d util.d gmqcc
rm -f exec.o stat.o util.o exec.d stat.d util.d qcvm
rm -f conout.o opts.o stat.o test.o util.o conout.d opts.d stat.d test.d util.d conout.o opts.o stat.o test.o util.o
+ make -j2 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a gmqcc
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 ast.cpp -o ast.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 code.cpp -o code.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 conout.cpp -o conout.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 fold.cpp -o fold.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 ftepp.cpp -o ftepp.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 intrin.cpp -o intrin.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 ir.cpp -o ir.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 lexer.cpp -o lexer.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 main.cpp -o main.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 opts.cpp -o opts.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 parser.cpp -o parser.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 stat.cpp -o stat.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 utf8.cpp -o utf8.o
g++ -c -std=c++11 -Wall -Wextra -fno-exceptions -fno-rtti -MD -g3 util.cpp -o util.o
g++ ast.o code.o conout.o fold.o ftepp.o intrin.o ir.o lexer.o main.o opts.o parser.o stat.o utf8.o util.o -o gmqcc
+ cd /home/drago/xonotic/data/xonotic-data.pk3dir
+ make QCC=../../../../gmqcc/gmqcc -j2 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a clean
make -C qcsrc clean
make[1]: Entering directory '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc'
rm -f /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../csprogs.dat
rm -f /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../menu.dat
rm -f /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../progs.dat
rm -f ../.tmp/*.d
rm -f ../.tmp/*.qc
rm -f ../.tmp/*.txt
make[1]: Leaving directory '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc'
+ make QCC=../../../../gmqcc/gmqcc -j2 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a
[ "" = "" ] || [ "" = "1" ]
[ "" = "1" ] || { DO_NOT_RUN_MAKE=1 sh check-cvars.sh; }
make -C qcsrc
make[1]: Entering directory '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc'
make[1]: Entering directory `/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/client'
make[1]: Entering directory `/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/menu'
+ cc -xc -E -I. -DGMQCC -DXONOTIC=1 -DWATERMARK="xonotic-v0.8.1-2847-g25e171d" -DNDEBUG=1 -DMENUQC menu/progs.inc
+ cc -xc -E -I. -DGMQCC -DXONOTIC=1 -DWATERMARK="xonotic-v0.8.1-2847-g25e171d" -DNDEBUG=1 -DGAMEQC -DCSQC client/progs.inc
+ gmqcc -std=gmqcc -Ooverlap-locals -O3 -Werror -Wall -Wno-field-redeclared -flno -futf8 -fno-bail-on-werror -frelaxed-switch -freturn-assignments -o /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../menu.dat ../../.tmp/menu.qc
Mode: manual
There are 1 items to compile:
item: ../../.tmp/menu.qc (qc)
+ gmqcc -std=gmqcc -Ooverlap-locals -O3 -Werror -Wall -Wno-field-redeclared -flno -futf8 -fno-bail-on-werror -frelaxed-switch -freturn-assignments -o /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../csprogs.dat ../../.tmp/client.qc
Mode: manual
There are 1 items to compile:
item: ../../.tmp/client.qc (qc)
writing '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../menu.dat' and '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../menu.lno'...

Optimizations:
peephole: 4062
overlap locals: 3834
call stores: 9808
void return: 1706
const fold dce: 1254
const fold: 778

File statistics:
dat:
name: /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../menu.dat
size: 1823078 (bytes)
crc: 0x2724
lno:
name: /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../menu.lno
size: 1077928 (bytes)

make[1]: Entering directory `/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/server'
+ cc -xc -E -I. -DGMQCC -DXONOTIC=1 -DWATERMARK="xonotic-v0.8.1-2847-g25e171d" -DNDEBUG=1 -DGAMEQC -DSVQC server/progs.inc
+ gmqcc -std=gmqcc -Ooverlap-locals -O3 -Werror -Wall -Wno-field-redeclared -flno -futf8 -fno-bail-on-werror -frelaxed-switch -freturn-assignments -o /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../progs.dat ../../.tmp/server.qc
Mode: manual
There are 1 items to compile:
item: ../../.tmp/server.qc (qc)
writing '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../csprogs.dat' and '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../csprogs.lno'...

Optimizations:
peephole: 12848
tail recursion: 3
overlap locals: 8469
call stores: 29642
void return: 3735
vector components: 1
const fold dce: 6743
const fold: 2477

File statistics:
dat:
name: /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../csprogs.dat
size: 3951211 (bytes)
crc: 0xCBE3
lno:
name: /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../csprogs.lno
size: 2578136 (bytes)

zip -9 csprogs-xonotic-v0.8.1-2847-g25e171d.pk3 csprogs-xonotic-v0.8.1-2847-g25e171d.txt csprogs-xonotic-v0.8.1-2847-g25e171d.dat csprogs-xonotic-v0.8.1-2847-g25e171d.lno
adding: csprogs-xonotic-v0.8.1-2847-g25e171d.txt (stored 0%)
adding: csprogs-xonotic-v0.8.1-2847-g25e171d.dat (deflated 82%)
adding: csprogs-xonotic-v0.8.1-2847-g25e171d.lno (deflated 89%)
writing '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../progs.dat' and '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../progs.lno'...

Optimizations:
peephole: 21288
tail recursion: 3
overlap locals: 12195
call stores: 46223
void return: 5003
vector components: 8
const fold dce: 13011
const fold: 2810

File statistics:
dat:
name: /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../progs.dat
size: 7956734 (bytes)
crc: 0x1727
lno:
name: /home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc/../progs.lno
size: 5967912 (bytes)

make[1]: Leaving directory '/home/drago/xonotic/data/xonotic-data.pk3dir/qcsrc'
+ cd /home/drago/xonotic/darkplaces
+ make -j2 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a clean
rm -rf darkplaces-glx
rm -rf darkplaces-dedicated
rm -rf darkplaces-sdl
rm -rf nexuiz-glx
rm -rf nexuiz-dedicated
rm -rf nexuiz-sdl
rm -rf *.o
rm -rf *.d
rm -rf build-obj/
+ make -j2 DP_LINK_CRYPTO=shared DP_LINK_CRYPTO_RIJNDAEL=shared LIB_CRYPTO=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a LIB_CRYPTO+=../../../../misc/builddeps/linux64/gmp/lib/libgmp.a LIB_CRYPTO_RIJNDAEL=../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a STRIP=: sv-debug
make bin-debug \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
EXE='darkplaces-dedicated' CFLAGS_FEATURES='' LDFLAGS_COMMON='-lm -lz -ljpeg ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a -lrt -ldl' LEVEL=1
make[1]: Entering directory '/home/drago/xonotic/darkplaces'

========== darkplaces-dedicated (debug) ==========
make prepare BUILD_DIR=build-obj/debug/darkplaces-dedicated
make[2]: Entering directory '/home/drago/xonotic/darkplaces'
mkdir -p build-obj/debug/darkplaces-dedicated
cp -f makefile.inc build-obj/debug/darkplaces-dedicated/
cp -f makefile build-obj/debug/darkplaces-dedicated/
make[2]: Leaving directory '/home/drago/xonotic/darkplaces'
make -C build-obj/debug/darkplaces-dedicated darkplaces-dedicated \
DP_MAKE_TARGET=linux DP_SOUND_API=ALSA \
CFLAGS='-MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math'\
LDFLAGS='-g -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -DSVNREVISION=`{ test -d .svn && svnversion; } || { test -d .git && git describe --always; } || echo -` -DBUILDTYPE=debug -lm -lz -ljpeg ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_blind_id.a ../../../../misc/builddeps/linux64/gmp/lib/libgmp.a ../../../../misc/builddeps/linux64/d0_blind_id/lib/libd0_rijndael.a -lrt -ldl' LEVEL=2
make[2]: Entering directory '/home/drago/xonotic/darkplaces/build-obj/debug/darkplaces-dedicated'
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../vid_null.c -o vid_null.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../sys_linux.c -o sys_linux.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../thread_null.c -o thread_null.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../snd_null.c -o snd_null.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../crypto.c -o crypto.o -DLINK_TO_CRYPTO -DLINK_TO_CRYPTO_RIJNDAEL
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../bih.c -o bih.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_collision.c -o cl_collision.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_demo.c -o cl_demo.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_dyntexture.c -o cl_dyntexture.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_input.c -o cl_input.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_main.c -o cl_main.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_parse.c -o cl_parse.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_particles.c -o cl_particles.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_screen.c -o cl_screen.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cl_video.c -o cl_video.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../clvm_cmds.c -o clvm_cmds.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cmd.c -o cmd.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../collision.c -o collision.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../common.c -o common.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../console.c -o console.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../csprogs.c -o csprogs.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../curves.c -o curves.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../cvar.c -o cvar.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../dpsoftrast.c -o dpsoftrast.o -msse2
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../dpvsimpledecode.c -o dpvsimpledecode.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../filematch.c -o filematch.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../fractalnoise.c -o fractalnoise.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../fs.c -o fs.o
gcc -DSUPPORTIPV6 -I../../../../misc/builddeps/linux64/d0_blind_id/include -L../../../../misc/builddeps/linux64/d0_blind_id/lib -Wl,-rpath,../../../../misc/builddeps/linux64/d0_blind_id/lib -I../../../../misc/builddeps/linux64/gmp/include -L../../../../misc/builddeps/linux64/gmp/lib -Wl,-rpath,../../../../misc/builddeps/linux64/gmp/lib -MMD -Wall -Wold-style-definition -Wstrict-prototypes -Wsign-compare -Wdeclaration-after-statement -Wmissing-prototypes -DLINK_TO_ZLIB -DLINK_TO_LIBJPEG -D_FILE_OFFSET_BITS=64 -D__KERNEL_STRICT_NAMES -I../../../ -ggdb -fno-math-errno -ffinite-math-only -fno-rounding-math -fno-signaling-nans -fno-trapping-math -c ../../../ft2.c -o ft2.o
../../../fs.c:149:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.
makefile.inc:515: recipe for target 'fs.o' failed
make[2]: *** [fs.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/drago/xonotic/darkplaces/build-obj/debug/darkplaces-dedicated'
makefile.inc:431: recipe for target 'bin-debug' failed
make[1]: *** [bin-debug] Error 2
make[1]: Leaving directory '/home/drago/xonotic/darkplaces'
makefile.inc:381: recipe for target 'sv-debug' failed
make: *** [sv-debug] Error 2


RE: Ubuntu 16.0.4 Compile - martin-t - 09-06-2016

There it is:

(09-06-2016, 08:25 PM)RedScale12 Wrote: ../../../fs.c:149:18: fatal error: zlib.h: No such file or directory
#include <zlib.h>
^
compilation terminated.

Try 'sudo apt-get install zlib-dev'


RE: Ubuntu 16.0.4 Compile - RedScale12 - 09-06-2016

Didn't work here is the output

drago@Lich:~$ sudo apt-get install zlib-dev
[sudo] password for drago:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zlib-dev
drago@Lich:~$ cd xonotic
drago@Lich:~/xonotic$ sudo apt-get install zlib-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package zlib-dev


RE: Ubuntu 16.0.4 Compile - martin-t - 09-06-2016

Oops, wrong command, should have copy-pasted, sorry

Correction: sudo apt-get install zlib1g-dev


RE: Ubuntu 16.0.4 Compile - RedScale12 - 09-06-2016

its compiling now thx