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.
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.
In order to run the simulation faster, I am trying to build simuLTE in release mode as can be achieved for veins.
user#user-VirtualBox:~/simulte_veins/simulte$ make MODE=release
make[1]: Entering directory '/home/user/simulte_veins/simulte/src'
Creating shared library: ../out/gcc-release/src/liblte.so
/usr/bin/ld: cannot find -lINET
/usr/bin/ld: cannot find -lveins_inet
collect2: error: ld returned 1 exit status
Makefile:275: recipe for target '../out/gcc-release/src/liblte.so' failed
make[1]: *** [../out/gcc-release/src/liblte.so] Error 1
make[1]: Leaving directory '/home/user/simulte_veins/simulte/src'
Makefile:2: recipe for target 'all' failed
make: *** [all] Error 2
I have tried appending ~/.bashrc with INET and veins_inet paths as observed from the MAKEFILE under lte/src/ in the following manner:
export veins_inet=$HOME/simulte_veins/veins-veins-4.6/subprojects/veins_inet/out/gcc-debug/src:$PATH
export INET=$HOME/inet/out/gcc-debug/src:$PATH
I also tried updating $PATH directly by adding INET and veins_inet paths but to no avail.
Where am I going wrong?
Do I need to build INET and veins_inet in release mode before building lte?
I even tried building INET in MODE=release and I encountered the same error
/usr/bin/ld: cannot find -lINET
I am using OMNeT++ 5.1.1;veins 4.6;sumo 0.30.0;simulte v1.0.1
Similar issue was raised here. However, I am not sure if I should try to link the .so file in their respective directories again to -lINET and -lveins_inet respectively. Can anybody advise me?
If the build works for the debug version, but not for the release version, then you have not compiled release version libraries for INET and VEINS_INET. Go to their respective dirs and build those components, too.
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
I'm trying to compile gcc-code-assist which has the code completion feature in order to use it with emacs. However i have been getting this error message while compilinng
checking for exception model to use... configure: error: unable to detect exception model
make[1]: *** [configure-target-libstdc++-v3] Error 1
make[1]: Leaving directory `/home/dev/workspace/trash/gcc-code-assist-0.1-4.4.4'
make: *** [all] Error 2
I'm running Ubuntu 12.04 64bit
what can i do to overcome this problem
I found the right way to compile it ...
I really didn't have much knowledge of how to compile gcc (my first time)
after reading through the FAQ of building gcc I found the problem.
it turned out that I had to run the configure script and make from outside the source directory
( I called it gcc-build) so the directory list looked like this
gcc-source/
gcc-build/
then everything compiled smoothly
here's the link to the FAQ http://gcc.gnu.org/wiki/FAQ#configure
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