/home/maxfx/Documents/jle/engine/3rdparty/zlib/uncompr.c:86:13: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
86 | int ZEXPORT uncompress(dest, destLen, source, sourceLen)
| ^
2 warnings generated.
[ 3%] Building C object gametemplate/3rdparty/zlib/CMakeFiles/zlib.dir/zutil.o
/home/maxfx/Documents/jle/engine/3rdparty/zlib/zutil.c:135:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
135 | const char * ZEXPORT zError(err)
| ^
/home/maxfx/Documents/jle/engine/3rdparty/zlib/zutil.c:307:22: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
307 | voidpf ZLIB_INTERNAL zcalloc(opaque, items, size)
| ^
/home/maxfx/Documents/jle/engine/3rdparty/zlib/zutil.c:317:20: warning: a function definition without a prototype is deprecated in all versions of C and is not supported in C2x [-Wdeprecated-non-prototype]
317 | void ZLIB_INTERNAL zcfree(opaque, ptr)
| ^
3 warnings generated.
[ 3%] Linking C shared library libz.so
ld: error: version script assignment of 'local' to symbol 'gz_intmax' failed: symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)
gmake[2]: *** [gametemplate/3rdparty/zlib/CMakeFiles/zlib.dir/build.make:321: gametemplate/3rdparty/zlib/libz.so.1.2.13] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:713: gametemplate/3rdparty/zlib/CMakeFiles/zlib.dir/all] Error 2