Open hungrymonkey opened 7 years ago
./test.bash
ninja: Entering directory `test/out/Default'
[1/669] CC obj/3rdparty/openssl/crypto/asn1/libcrypto.a_time.o
FAILED: obj/3rdparty/openssl/crypto/asn1/libcrypto.a_time.o
cc -MMD -MF obj/3rdparty/openssl/crypto/asn1/libcrypto.a_time.o.d -DNO_WINDOWS_BRAINDEATH=1 -DOPENSSL_NO_INLINE_ASM=1 -DOPENSSL_NO_ASM=1 -DOPENSSL_NO_HW=1 -DOPENSSL_NO_GOST=1 -DOPENSSL_NO_GMP=1 -DOPENSSL_THREADS=1 -D_REENTRANT=1 -I../../../3rdparty/openssl -I../../../3rdparty/opensslbuild/include -I../../../3rdparty/openssl/crypto -I../../../3rdparty/openssl/crypto/asn1 -I../../../3rdparty/openssl/crypto/evp -c ../../../3rdparty/openssl/crypto/asn1/a_time.c -o obj/3rdparty/openssl/crypto/asn1/libcrypto.a_time.o
In file included from ../../../3rdparty/openssl/e_os.h:64:0,
from ../../../3rdparty/openssl/crypto/cryptlib.h:65,
from ../../../3rdparty/openssl/crypto/asn1/a_time.c:66:
../../../3rdparty/opensslbuild/include/openssl/e_os2.h:5:10: fatal error: ../../openssl/include/openssl/../../e_os2.h: No such file or directory
#include "../../openssl/include/openssl/../../e_os2.h"
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
[6/669] CXX obj/3rdparty/protobuf/src/...protobuf/protobuf_lite.extension_set.o
In file included from /usr/include/c++/7/ext/hash_map:60:0,
from ../../../3rdparty/protobuf/src/google/protobuf/stubs/hash.h:43,
from ../../../3rdparty/protobuf/src/google/protobuf/extension_set.cc:35:
/usr/include/c++/7/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header which may be removed without further notice at a future date. Please use a non-deprecated interface with equivalent functionality instead. For a listing of replacement headers and interfaces, consult the file backward_warning.h. To disable this warning use -Wno-deprecated. [-Wcpp]
#warning \
^~~~~~~
ninja: build stopped: subcommand failed.
well i tried changing .gitmodules to current git repo as described here
https://www.openssl.org/source/gitrepo.html
The build still failed.
Did you end up fixing this issue? Running it to still and I can't figure out how the GYP build system works to fix it.
@HeroCC never got it to build. I gave up
@hungrymonkey Nice find, thank you for the tip!
I just tried it and turns out that one has an issue with compiling on Macs ¯\_(ツ)_/¯. Hopefully it will be fixed soon!
@HeroCC
the compile issue is Mac specific. I still wonder why OSX does not have a real package manager. its not a mumlib bug
Now I know this is kind of an old issue but I wanted to build the library myself and ran into the same issue. However I was able to fix it like this:
change the url for openssl in libmumbles /.gitmodules file and in /.git/config from git://openssl.net/openssl.git to git://git.openssl.org/openssl.git
As im running on windows this does also not seem to be a Mac only bug
@Algo-ryth-mix send a pull request.
I wonder if anybody tried to build libmumble recently.
git complains it cannot find openssl. I guess i would try to find a workaround