Stuck with getting Cuberite to compile on FreeBSD
#23
Sorry, have no time to use google translate Sad

I'm remove old file of SQLite (project use files 2007 year). Remove
Code:
lsqlite3.c
and any references to the file. Get new
Code:
sqlite3.c
sqlite3.h
and place it into lib/sqlite (Where I delete old files).
Add "-L ..." as I wrote earlier.
I'm do not known is it right, but sqlite build success and I get next error Smile
Code:
Scanning dependencies of target OSSupport
[ 45%] Building CXX object src/OSSupport/CMakeFiles/OSSupport.dir/CriticalSection.cpp.o
[ 45%] Building CXX object src/OSSupport/CMakeFiles/OSSupport.dir/Errors.cpp.o
/store1/minecraft/minecraft-test/cuberite/src/OSSupport/Errors.cpp:25:31: error: '_GNU_SOURCE' is not defined, evaluates to 0 [-Werror,-Wundef]
        #if !defined(__APPLE__) && ( _GNU_SOURCE) && !defined(ANDROID_NDK)  // GNU version of strerror_r()
                                     ^
1 error generated.
*** Error code 1

Stop.
make[2]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
*** Error code 1

Stop.
make[1]: stopped in /store1/minecraft/minecraft-test/cuberite/Release
*** Error code 1

Stop.
make: stopped in /store1/minecraft/minecraft-test/cuberite/Release
Reply
Thanks given by:


Messages In This Thread
RE: Stuck with getting Cuberite to compile on FreeBSD - by DrMasik - 11-16-2015, 08:10 PM



Users browsing this thread: 44 Guest(s)