|
|
Модератор форума: Dimitro |
Форум TrinityCore [TrinityCore] Help Ошибка компиляции (Не компилируется ядро) |
Ошибка компиляции |
Всем привет, стоит Ubuntu 14.04. Выводит вот такую ошибку:
Код markeloff@WoW-Server:~/TrinityCore/build$ make -j 2 [ 0%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourAlloc.cpp.o [ 0%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AABox.cpp.o [ 0%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourCommon.cpp.o [ 0%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMesh.cpp.o [ 0%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshBuilder.cpp.o [ 0%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNavMeshQuery.cpp.o [ 1%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Any.cpp.o [ 1%] Building CXX object dep/recastnavigation/Detour/CMakeFiles/Detour.dir/Source/DetourNode.cpp.o Linking CXX static library libDetour.a [ 1%] Built target Detour [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/Recast.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastAlloc.cpp.o [ 1%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastArea.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastContour.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastFilter.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastLayers.cpp.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/AnyTableReader.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMesh.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastMeshDetail.cpp.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryFormat.cpp.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryInput.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRasterization.cpp.o [ 2%] Building CXX object dep/recastnavigation/Recast/CMakeFiles/Recast.dir/Source/RecastRegion.cpp.o Linking CXX static library libRecast.a [ 2%] Built target Recast [ 2%] Building CXX object dep/cppformat/CMakeFiles/cppformat.dir/cppformat/format.cc.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/BinaryOutput.cpp.o [ 2%] Building CXX object dep/cppformat/CMakeFiles/cppformat.dir/cppformat/posix.cc.o [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Box.cpp.o Linking CXX static library libcppformat.a [ 2%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Capsule.cpp.o [ 2%] Built target cppformat [ 3%] Building C object dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o In file included from /home/markeloff/TrinityCore/dep/jemalloc/include/jemalloc/internal/jemalloc_internal.h:568:0, from /home/markeloff/TrinityCore/dep/jemalloc/src/arena.c:2: /home/markeloff/TrinityCore/dep/jemalloc/include/jemalloc/internal/util.h:88:49: error: expected ‘;’, ‘,’ or ‘)’ before ‘nptr’ uintmax_t malloc_strtoumax(const char *restrict nptr, ^ make[2]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/src/arena.c.o] Ошибка 1 make[1]: *** [dep/jemalloc/CMakeFiles/jemalloc.dir/all] Ошибка 2 make[1]: *** Ожидание завершения заданий... [ 3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CollisionDetection.cpp.o [ 3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/CoordinateFrame.cpp.o [ 3%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Crypto.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Cylinder.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/debugAssert.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/FileSystem.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/fileutils.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/format.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dfnmatch.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/g3dmath.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/GThread.cpp.o [ 4%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Line.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/LineSegment.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Log.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix3.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Matrix4.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/MemoryManager.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/PhysicsFrame.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Plane.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/prompt.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Quat.cpp.o [ 5%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Random.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Ray.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/RegistryUtil.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Sphere.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/stringutils.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/System.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextInput.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/TextOutput.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Triangle.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/uint128.cpp.o [ 6%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/UprightFrame.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector2.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector3.cpp.o [ 7%] Building CXX object dep/g3dlite/CMakeFiles/g3dlib.dir/source/Vector4.cpp.o Linking CXX static library libg3dlib.a [ 7%] Built target g3dlib make: *** [all]Ошибка 2 ACE установлен в /home/"user"/. В нем проблема? Или может быть из-за чего-то другого?
Сообщение # 1 написано 01.05.2016 в 20:52
|
Up!
Поставил Cmake 3.0.0 вместо 3.2.2 процесс пошел дальше, но теперь другая ошибка Код [ 16%] Building CXX object src/server/game/CMakeFiles/game.dir/Grids/ObjectGridLoader.cpp.o [ 16%] Building CXX object src/server/game/CMakeFiles/game.dir/Grids/GridStates.cpp.o [ 16%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Authentication/AuthCodes.cpp.o [ 16%] Building CXX object src/server/authserver/CMakeFiles/authserver.dir/Authentication/TOTP.cpp.o Linking CXX executable authserver /usr/bin/ld: cannot find /usr/lib/clisp-2.49/zlib: Формат файла не распознан collect2: error: ld returned 1 exit status make[2]: *** [src/server/authserver/authserver] Ошибка 1 make[1]: *** [src/server/authserver/CMakeFiles/authserver.dir/all] Ошибка 2 make[1]: *** Ожидание завершения заданий...
Сообщение # 3 написано 02.05.2016 в 15:31
|
| |||
| |||