When trying to build sllin I'm getting an error:
/usr/src/linux-headers-4.19.0-14-common/scripts/Makefile.build:45: /usr/src/linux-headers-4.19.0-14-common/scripts/basic/Makefile: No such file or directory
I don't understand why as I have the headers installed. The /usr/src/linux-headers-4.19.0-14-common/scripts/ directory exists.
The sllin readme sais
To successfully compile sllin, it is necessary to have source code of
Linux kernel actually running on the computer.
I don't really understand what this means.
Does anyone have an idea ?
Thanks
Related
I can't figure out what I made wrong I look on almost every forum but I only found answer for linux. I'm trying to compile a python project. It my first time I compile a project I would really appreciate if someone could help me.
I start with cython so I have a .c file of my project and I download gcc add it path into json and I run it. And TADA I have a beautiful error message.
I'm working on libpcap to make my own wireless networking sniffer, and I want to include in my program, the compile failed with the error message "fatal error: ieee80211.h: no such file or directory".
The kernel version is 5.3.0-28-generic, I believe it's quite new and I couldn't find any ieee80211.h file in normal include paths such as /usr/include, /usr/include/linux, and even if I include it from somewhere else, more errors come out because it includes much more sources that don't exist.
it seems that I have to install the complete networking source code system.
Is there any way i can do that?
I failed to build the MiXiM on Ubuntu 14.04.3 and OMNet 4.6, the error message is: ”fatal error: Mac80211Pkt_m.h: No such file or directory”. From the manual of OMNet it can be found that the file Mac80211Pkt_m.h should be generated automatically by the compiler during the building process, but it was shown by the error message that the file was not generated automatically. I am confused about the problem, how can I solve this? Can anyone help me? Thanks!
I faced the same error message. Here is how I bypassed the problem:
Extract "mixim-2.3.tar.gz" (tar xvzf mixim-2.3.tar.gz)
Change into the directory just extracted (cd mixim-2.3)
Execute "make makefiles"
Start the build by "make"
Import the just built project using the omnet++ IDE
I am running into errors with opencv. I downloaded a package online and compiled each of the folders by cd into them and running make through the command line. But when I try using one of the functions, I run into this error: libopencv_core.so.2.3: cannot open shared object file: No such file or directory
The file its trying to reach is indeed there, since I checked this, but for some reason its saying its not. I am pretty bad at figuring out path problems but I think this is one of them. Can anyone tell me how to fix this? Thanks
I am trying to use the cppcms framework on Linux(Debian distribution).
I followed the steps described in the Build tutorial on the site and then tried to build the hello world application.
I have successfully compiled the source, but when I try to run it I get the following error:
./hello: error while loading shared libraries: libcppcms.so.1: cannot open shared object file: No such file or directory
I am relatively new to Linux so I had to a little research and come across these things called Shared Libraries. As I understood, these *.so files are exactly what I was needing to create.
I also read that the base folder for libraries was /home/usr/lib so I tried copying the file onto that folder, but it didn't help.
I would really appreciate any help that might get me through this problem.
Thank you!
I was able to recover from this problem by executing "sudo ldconfig"
Also this worked out for me:
export LD_LIBRARY_PATH=/path/to/library/
./hello -c config.js
where "/path/to/library/" is the actual directory where libcppcms.so.1
lives. (mine was /usr/local/lib/)
[got it from http://comments.gmane.org/gmane.comp.lib.cppcms.user/764 ]
Instead of building CppCMS on your own, install ready to use deb: http://cppcms.com/wikipp/en/page/apt#Apt-Get.Repositories
You can use the troubleshooting guide that the problem you are talking about was mentioned: http://cppcms.com/wikipp/en/page/cppcms_1x_build_troubleshooting#My.sample.application.does.not.find.the.shared.object..code.libcppcms.so..code..when.I.try.to.run.it.