glKarin / com.n0n3m4.diii4a

DOOM III/Quake 4/Prey(2006) GLES on Android/Windows/Linux, DOOM 3 BFG/The Dark Mod/RTCW/Quake 1 2 3/GZDOOM/ETW/RealRTCW on Android
GNU General Public License v3.0
288 stars 20 forks source link

Erorr build Doom3 bfg ubuntu arm64 #246

Open ArtemS2 opened 3 months ago

ArtemS2 commented 3 months ago

In file included from /usr/include/string.h:548, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/idlib/sys/sys_includes.h:141, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/idlib/precompiled.h:34, from /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/sys/PacketProcessor.cpp:29: In function ‘void memcpy(void, const void, size_t)’, inlined from ‘bool idDataQueue<maxItems, maxBuffer>::Append(int, const byte, int, const byte, int) [with int maxItems = 64; int maxBuffer = 8000]’ at /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/idlib/../idlib/DataQueue.h:112:8, inlined from ‘void idPacketProcessor::VerifyEmptyReliableQueue(byte, byte)’ at /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo/sys/PacketProcessor.cpp:660:16: /usr/include/aarch64-linux-gnu/bits/string_fortified.h:29:33: error: argument 2 null where non-null expected [-Werror=nonnull] 29 | return builtin___memcpy_chk (dest, src, len, | ~~~~~^~~~~~~~ 30 | __glibc_objsize0 (__dest)); | ~~~~~~ /usr/include/aarch64-linux-gnu/bits/string_fortified.h:29:33: note: in a call to built-in function ‘void __builtin___memcpy_chk(void, const void, long unsigned int, long unsigned int)’ cc1plus: some warnings being treated as errors make[2]: [CMakeFiles/RBDoom3BFG.dir/build.make:6992: CMakeFiles/RBDoom3BFG.dir/sys/PacketProcessor.cpp.o] Ошибка 1 make[1]: [CMakeFiles/Makefile2:100: CMakeFiles/RBDoom3BFG.dir/all] Ошибка 2 make: *** [Makefile:91: all] Ошибка 2 Target directory: /home/artem/builds/com.n0n3m4.diii4a/Q3E/src/main/jni/doom3bfg/neo ...... Done