-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build libov for all platforms #10
Comments
libovHi guys :) Compiling libov on osx needs to cut cutting cut /Volumes/M/U/a/Doc/DIG/OV/libov master !1 make ✔
mkdir -p build
touch build/.directory
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/ov_types.cc -o build/ov_types.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/errmsg.cc -o build/errmsg.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/common.cc -o build/common.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/udpsocket.cc -o build/udpsocket.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/callerlist.cc -o build/callerlist.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/ovboxclient.cc -o build/ovboxclient.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/MACAddressUtility.cc -o build/MACAddressUtility.o
src/MACAddressUtility.cc:102:9: warning: variable 'intfService' is uninitialized when used here [-Wuninitialized]
while(intfService == IOIteratorNext(intfIterator)) {
^~~~~~~~~~~
src/MACAddressUtility.cc:92:26: note: initialize the variable 'intfService' to silence this warning
io_object_t intfService;
^
= 0
1 warning generated.
ar rcs build/libov.a build/ov_types.o build/errmsg.o build/common.o build/udpsocket.o build/callerlist.o build/ovboxclient.o build/MACAddressUtility.o
/Volumes/M/U/a/Doc/DIG/OV/libov master !1 make ✔ 4s
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/MACAddressUtility.cc -o build/MACAddressUtility.o
ar rcs build/libov.a build/ov_types.o build/errmsg.o build/common.o build/udpsocket.o build/callerlist.o build/ovboxclient.o build/MACAddressUtility.o make after adding initialization to intfServiceJust adding initialization to
let it compiles just fine: /Volumes/M/U/a/Doc/DIG/OV/libov master !1 make clean ✔
rm -Rf build src/*~
/Volumes/M/U/a/Doc/DIG/OV/libov master !1 make ✔
mkdir -p build
touch build/.directory
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/ov_types.cc -o build/ov_types.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/errmsg.cc -o build/errmsg.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/common.cc -o build/common.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/udpsocket.cc -o build/udpsocket.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/callerlist.cc -o build/callerlist.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/ovboxclient.cc -o build/ovboxclient.o
g++ -Wall -Wno-deprecated-declarations -std=c++11 -pthread -ggdb -fno-finite-math-only -DOVBOXVERSION="\"0.3\"" -D OSX -D IA32 -c src/MACAddressUtility.cc -o build/MACAddressUtility.o
ar rcs build/libov.a build/ov_types.o build/errmsg.o build/common.o build/udpsocket.o build/callerlist.o build/ovboxclient.o build/MACAddressUtility.o
Not sure if this can affect anything else, if we shall flag the file as not to check uninitialized or I shall just push the initialized version. Even using
that is perfectly fine on this machine, but I am not sure what is the lower architecture for osx we want to support. |
libov should contain the core interface library. It has minimal dependencies and should build on most platforms (network tools may require specific implementations).
The text was updated successfully, but these errors were encountered: