Posts: 513
Threads: 10
Joined: May 2014
Thanks: 138
Given 89 thank(s) in 75 post(s)
10-27-2015, 03:51 AM
(This post was last modified: 10-27-2015, 03:52 AM by Seadragon91.)
Which version of FreeBSD do you have?
I have FreeBSD 10.2 x86, x64 and clang 3.4.1. After I fixed a link error cuberite fully compiled.
Is it possible to share the build script? Then I could also test around.
Posts: 513
Threads: 10
Joined: May 2014
Thanks: 138
Given 89 thank(s) in 75 post(s)
Okay. Cuberite compiles fine on my side. Have no idea about this errors, sorry.
Posts: 681
Threads: 26
Joined: May 2014
Thanks: 112
Given 48 thank(s) in 37 post(s)
My build goes up to 52% and then this:
[ 52%] Building CXX object src/Bindings/CMakeFiles/Bindings.dir/ManualBindings.cpp.o
/home/freebsd/cuberite/src/Bindings/ManualBindings.cpp:2478:9: error: use of undeclared identifier 'BUILD_COMMIT_ID'
L.Push(BUILD_COMMIT_ID);
^
/home/freebsd/cuberite/src/Bindings/ManualBindings.cpp:2489:9: error: use of undeclared identifier 'BUILD_DATETIME'
L.Push(BUILD_DATETIME);
^
/home/freebsd/cuberite/src/Bindings/ManualBindings.cpp:2500:9: error: use of undeclared identifier 'BUILD_ID'
L.Push(BUILD_ID);
^
/home/freebsd/cuberite/src/Bindings/ManualBindings.cpp:2511:9: error: use of undeclared identifier 'BUILD_SERIES_NAME'
L.Push(BUILD_SERIES_NAME);
^
4 errors generated.
*** Error code 1
Stop.
make[2]: stopped in /usr/home/freebsd/cuberite
*** Error code 1
Stop.
make[1]: stopped in /usr/home/freebsd/cuberite
*** Error code 1
Stop.
make: stopped in /usr/home/freebsd/cuberite
Posts: 1,469
Threads: 57
Joined: Jul 2012
Thanks: 66
Given 127 thank(s) in 108 post(s)
Does anybody else have any ideas?
Posts: 223
Threads: 40
Joined: Aug 2015
Thanks: 22
Given 21 thank(s) in 18 post(s)
One of these days I'll try to my FreeBSD 10.1 x64
Posts: 681
Threads: 26
Joined: May 2014
Thanks: 112
Given 48 thank(s) in 37 post(s)
I don't know what the problem could be. Seems like the build system is having trouble defining some variables. But if I'm using an active shell for compiling, it works perfectly. i just built the executable from scratch on the FreeBSD machine we are using.