I’m trying to understand why libtool runs ranlib when installing a static library. This is an example from the link: https://www.gnu.org/software/libtool/manual/html_node/Installing-libraries.html But, isn’t the index table already created and shouldn’t it be just a simple copy operation? I …
Tag: compilation
C Language program executable file extention naming convention ( a.out )
Are there good practices or preferred industry standard conventions on how to name (what would be named by default as) a.out files, especially in terms of their extensions? If it depends on the platform, I’d like to know especially for Linux. Technically I won’t even need an extension, and most mo…
Cannot compile Makefile using make command on Windows
Problem summary I am trying to install an open-source parallel finite-element code called TACS and available at this github repository. To comply with the indicated prerequisites, I followed the instructions at this github repository, which allowed me to install SuiteSparse and METIS on Windows with precompil…
install C++ application using CMake on multiple systems
I wrote a simple openGL application using C++ and SDL2. I’ve compiled it using CMake on linux and everything works fine. How do I now run my program on other systems? Is it possible to compile the program on my linux machine and then open the compiled output file on another linux machine? Or does every …
error while loading shared libraries: libgmock.so: cannot open shared object file: No such file or directory
I am currently facing an issue with a project of mine foudn while configuring CI. Resume The problem faced is the following: error while loading shared libraries: libgmock.so: cannot open shared object file: No such file or directory. For the problem above I am not installing the google test/google mock frame…
Compiling Linux Kernel 5.2.9 fails at scripts/sign-file
I am trying to compile my own kernel for the sake of experience. The kernel version is 5.2.9 downloaded from kernel.org today ( Aug 19, 2019 ). my make command is “make -j 6”. I have a Ryzen 7 1700x 8 core / 16 thread amd cpu. scripts/sign-file.c:25:10:fatal error: openssl/opensslv.h: No such file…
Linux Kernel DTSI File Cannot Compile from Yocto for BeagleBone
I am using the Texas Instruments official Yocto SDK to build a complete BSP for the Beaglebone X-15 ( TI AM5728 Processor ). The entire SDK builds great for the MACHINE=am57xx-evm type from the SDK. Later SDKs include the MACHINE=beagle-x15, but I need this older version with Linux kernel 4.4. The Linux kerne…
How to write a NectarJS program that accepts arguments?
Well,the question is in the title, so what i am going to do is just give you an example and hopefully someone can help! Note: I am using Linux Mint 18.x Here is what i want to be able to do: I know that JavaScrpit itself doesn’t support that kind of a ting but is there something similar in the
1506-221 (S) Initializer must be a valid constant expression
In AIX during compilation of header file i am facing this issue. Header file (header1.h) has the structure like this: now in .c file including header1.h when i’m compiling the above .c file using xlc compiler it is throwing the error: header1.h”, line xxxx: 1506-221 (S) Initializer must be a valid…
Compilation with glibc 2.7 include path fails
I have compiled on my SLES 12.3 g++ 7.3 into the /FaF directory and glibc 2.27 is installed into the /FaF/glibc directory. Compiling this very simple program with g++ -c testAbs.cpp -I /FaF/glibc/include fails horribly: See the long error list. Below I inserted the first 15 lines – in total there are mo…