Skip to content
Advertisement

Tag: compilation

Why libtool runs ranlib for a static library installation?

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 found running ranlib at the end of the copy redundant as the library already has an index. Thanks. Answer Back in the

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 precompiled BLAS/LAPACK DLLs. For the MPI, I installed both the Intel MPI Library and Open

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 framework but I am compiling it. Although it says it

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 or directory 25 | #include | compilation

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 constant expression. make: 1254-004 The error code from the

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 more than 300 lines of error messages. Compiling

Advertisement