I am new to bitcoin core development. I have created a clone using bitcoin core version v0.15.0rc3 on a mac os high sierra 10.13.2. I am have installed all dependencies and am able to run the autogen.sh and configure with no errors. However, when I run make I am getting the following error.
2 errors generated.
make[2]: *** [libbitcoin_server_a-miner.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
You can see the full error in pastebin https://pastebin.com/M7tNaiMM
I have been trying to resolve the issue for 2 days and cannot find a solution.
The issue was with the Const not being labelled outside of the function parameters. Found the issue resolution on github but looks like they have not added the change to bitcoin core code yet.
update the miner.h file and the txmempool.h file with const
https://github.com/litecoin-project/litecoin/commit/1ec0c0a01c316146434642ab2f14a7367306dbec
Related
I'm trying to install omnet++ 5.6.2 but after writing "make" in the command line below error was showing me.
please help me how can solve this problem
Create executable: out/clang-release//embedding.exe
ln: failed to create symbolic link './embbedding.exe': no such file or directly
make[2]: *** [Makefile:87: embedding.exe] Error 1
make[1]: *** [Makefile:134: embedding] Error 2
make: *** [Makefile:28: allmodes] Error 2
Try to turn off a real-time antivirus protection during compilation.
I cloned the latest version of the Poco libraries source code on to my Mac and attempted to build it per the instructions using CMake. Everything proceeded fine until it reached a point where it was trying to link the libPocoCrypt.dylib library. Even though the C++ compilation worked with out error, the link resulted in the following output
ld: cannot link directly with dylib/framework, your binary is not an allowed client of /usr/lib/libcrypto.dylib for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [lib/libPocoCrypto.80.dylib] Error 1
make[1]: *** [Crypto/CMakeFiles/Crypto.dir/all] Error 2
make: *** [all] Error 2
Doing some research, I discovered that Apple doesn't want applications linking against its libcrypto library and thus, the resulting error messages. The question then is, what do I need to do here to make this work?
Running mac osx 10.14.6 and have previously successfully built 3.0.10 and 3.0.11. Trying to build VLC 3.0.12 & 3.0.14 from source downloaded from here: http://www.videolan.org/vlc/download-sources.html
and using recommended build from here: https://wiki.videolan.org/MacOSCompile/ AND using the recommended:
../extras/package/macosx/build.sh -c
Build runs for about 20 minutes and then stops here (snip of output):
CCLD libprefetch_plugin.la
CCLD libhds_plugin.la
CCLD librecord_plugin.la
ld: library not found for -lzstd
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[4]: *** [libarchive_plugin.la] Error 1
make[4]: *** Waiting for unfinished jobs....
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
mysystem:build xx$
What am I missing or doing wrong?
Note: in previous builds I could find a cmake/Utilities/cmzstd/lib directory in vlc-3.0.x/extras/tools that had various zstd files however it is not there in either 3.0.12 or 3.0.14 - only a cmake-enable-ALPN-support-on-macOS-109.14.patch file.
Where do I find zstd? Thanks.
Seems the issue is related to how macOS and packagers (homebrew, etc.) load components. macOS provides a compiled version of libarchive but no headers, so you are unable in trying to compile. You will either need to pass the location of your libarchive respository with headers via your build script or set an environment variable telling the compiler or linker where to look for them. Perhaps someone more familiar with your VLC package can weigh in.
I have added inetmanet package by downloading from the below link and importing the project in omnet++.
https://github.com/aarizaq/inetmanet-3.x
While trying to built the project, an error is thrown when it was processing the below step in the built process.
Creating shared library: ../out/gcc-debug/src/libINET.dll
The error thrown on the above step is given below:
g++.exe: error: CreateProcess: No such file or directory
make[1]: * [Makefile:1558: ../out/gcc-debug/src/inet/linklayer/base/MACBase.o] Error 1
make[1]: * Waiting for unfinished jobs....
make[1]: Leaving directory '/c/Users/Rashad/Downloads/inetmanet-3.x-inetmanet-3.5/src'
make: *** [Makefile:6: all] Error 2
Error is thrown while trying to execute any example in inetmanet and they are shown below:
Error: Cannot load library '../../../src//libINET.dll': The specified module could not be found
End.
Can anyone in this group explain me why this error is happening. Thanks in advance.
Note: omnet++ 5.1 is being used and INET examples are working fine.
The issue was solved.
The folder "showcases" and "tutorials" were empty and in the git, they were being pulled from INET.
So in my case, I had to manually copy those 2 folders from INET and then paste into INETMANET and rebuild it.
i followed the instruction of below link.
http://www.rdbprime.com/Documentation/WebObjects/Deployment/Deploying_Applications/Installation/Building_the_Adaptors.html
But I'm getting the following error when I am compiling Apache Adaptor.
c: not found
make[1]: [mod_WebObjects.so] Error 2 (ignored)
strip mod_WebObjects.so
strip: not found
make[1]: *** [mod_WebObjects.so] Error 2
make: *** [Apache] Error 2
The documentation you provided is very old, are you sure you wan't to build such an old adapter? WebObjects has moved to Java a long time ago and the Adapter has changed a lot since then.
For example you can find current information about compiling it for Linux here:
http://wiki.wocommunity.org/display/documentation/Compiling+the+HTTP+adaptor+on+Linux