Ok. I'm remove all from directory
and do:
And get next error:
> git log:
and do:
Code:
git clone https://github.com/cuberite/cuberite.git
git fetch origin testing
git checkout testing
git merge origin/testing
git submodule update --init
mkdir Release
cd Release
cmake -DCMAKE_BUILD_TYPE=Release ..
make -j8
And get next error:
Code:
[ 56%] Building CXX object src/UI/CMakeFiles/UI.dir/EnchantingWindow.cpp.o
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:23345:42: error: use of undeclared identifier 'fchmod'
{ "fchmod", (sqlite3_syscall_ptr)fchmod, 0 },
^
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:23392:22: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []'
for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
^~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:23401:22: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []'
for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
^~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:23428:20: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []'
for(i=0; i<sizeof(aSyscall)/sizeof(aSyscall[0]); i++){
^~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:23445:16: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []'
for(i=0; i<ArraySize(aSyscall)-1; i++){
^~~~~~~~~~~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:8260:38: note: expanded from macro 'ArraySize'
#define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0])))
^~~
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:23449:14: error: invalid application of 'sizeof' to an incomplete type 'struct unix_syscall []'
for(i++; i<ArraySize(aSyscall); i++){
^~~~~~~~~~~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/lib/sqlite/sqlite3.c:8260:38: note: expanded from macro 'ArraySize'
#define ArraySize(X) ((int)(sizeof(X)/sizeof(X[0])))
^~~
6 errors generated.
--- lib/sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o ---
*** [lib/sqlite/CMakeFiles/sqlite.dir/sqlite3.c.o] Error code 1
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
1 error
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
--- lib/sqlite/CMakeFiles/sqlite.dir/all ---
*** [lib/sqlite/CMakeFiles/sqlite.dir/all] Error code 2
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
/store1/minecraft/minecraft-test/cuberite/src/Mobs/Guardian.cpp:29:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
AddRandomDropItem(a_Drops, 0, 2 + LootingLevel, E_ITEM_PRISMARINE_SHARD);
~~~~~~~~~~~~~~~~~ ~~^~~~~~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/src/Mobs/Guardian.cpp:30:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_RAW_FISH);
~~~~~~~~~~~~~~~~~ ~~^~~~~~~~~~~~~~
/store1/minecraft/minecraft-test/cuberite/src/Mobs/Guardian.cpp:31:34: warning: implicit conversion changes signedness: 'int' to 'unsigned int' [-Wsign-conversion]
AddRandomDropItem(a_Drops, 0, 1 + LootingLevel, E_ITEM_PRISMARINE_CRYSTALS); // TODO: Prismarine Crystals only drop if the raw fish drop is 0
~~~~~~~~~~~~~~~~~ ~~^~~~~~~~~~~~~~
3 warnings generated.
A failure has been detected in another branch of the parallel make
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
--- src/Mobs/CMakeFiles/Mobs.dir/all ---
*** [src/Mobs/CMakeFiles/Mobs.dir/all] Error code 2
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
A failure has been detected in another branch of the parallel make
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
--- src/UI/CMakeFiles/UI.dir/all ---
*** [src/UI/CMakeFiles/UI.dir/all] Error code 2
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
A failure has been detected in another branch of the parallel make
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
--- src/Simulator/CMakeFiles/Simulator.dir/all ---
*** [src/Simulator/CMakeFiles/Simulator.dir/all] Error code 2
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
A failure has been detected in another branch of the parallel make
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
--- src/BlockEntities/CMakeFiles/BlockEntities.dir/all ---
*** [src/BlockEntities/CMakeFiles/BlockEntities.dir/all] Error code 2
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
5 errors
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
*** [all] Error code 2
make: stopped in /store1/minecraft/minecraft-test/cuberite/Release
1 error
make: stopped in /store1/minecraft/minecraft-test/cuberite/Release
> git log:
Code:
commit fedbc9d162872c57b6149845867cc1f3c01b1375
Merge: d5f948b 2fc46f1
Author: Alexander Harkness <me@bearbin.net>
Date: Sat May 30 17:32:24 2015 +0100
Merge pull request #2176 from LogicParrot/testing
Testing branch - Fixed syntax error