Questions tagged [compiling]

Questions related to compiling software from sources, usually using the "make" command.

Filter by
Sorted by
Tagged with
0
votes
0answers
23 views

Running Full Node Ravencoin

I am trying to make a full node Ravencoin on ubuntu 16.04 and i did install everything below sudo apt-get update sudo apt-get install build-essential libtool autotools-dev automake pkg-config ...
2
votes
1answer
125 views

No include file for fortran library

I need to build a Fortran program that uses (among others) the library netcdf, which I downloaded using apt-get (my computer is on Ubuntu 20.04). Installing the library worked, the share object files ...
0
votes
0answers
18 views

Cmake build from source gives problems on make (probably c++14 standard not used)

I just updated my Cmake to the version 3.19 (previously 3.10) from sources. For this I now have two cmake versions the one from before in /usr/bin/cmake and the new one in /usr/local/bin/cmake which ...
0
votes
0answers
16 views

cannot find crt1.o and crti.o

I'm trying compiling a code and I'm stuck on the following error: /usr/bin/ld: cannot find crt1.o: No such file or directory /usr/bin/ld: cannot find crti.o: No such file or directory collect2: ld ...
3
votes
1answer
94 views

How can I install libhandy 1.0.0 (or greater) on Ubuntu 20.04?

I'm trying to build a codebase (with Meson), and it's yelling at me that I don't have libhandy. I found this question, but all links and PPAs mentioned there seem to be dead. I need libhandy 1.0.0 or ...
0
votes
0answers
28 views

Can I have BOTH i386 and amd64 packages installed on my system at the same time?

$ uname -a Linux ubuntu 5.4.0-72-generic #80~18.04.1-Ubuntu SMP Mon Apr 12 23:26:25 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux $ arch x86_64 I am running the above system on my VM. I need to be able to ...
9
votes
3answers
2k views

mainline kernel now depends on libc6 2.33, non-installable in focal?

I've been happily installing 5.10 mainline kernels (from https://kernel.ubuntu.com/~kernel-ppa/mainline/) on my Ubuntu 20.04. Trying to update to 5.10.33, I discovered an unwelcome dependency on libc &...
0
votes
1answer
44 views

ERROR: whitelist file not found While Compiling Linux Kernel

I am trying to compile the latest kernel linux-5.12 on my ubuntu 20.04.1. I have installed the necessary dependencies sudo apt install build-essential rsync gcc bc bison libssl-dev libncurses5-dev ...
1
vote
1answer
37 views

gcc: error: /usr/lib/libusb-1.0.so: No such file or directory

I'm getting this error when I try to build (using make) my system. gcc: error: /usr/lib/libusb-1.0.so: No such file or directory I installed this package using this command $ sudo apt-get install ...
1
vote
2answers
50 views

Not enough /boot space running “sudo make install” while compiling Linux kernel

$ df -h /boot/ Filesystem Size Used Avail Use% Mounted on /dev/nvme0n1p2 705M 173M 481M 27% /boot I tried to compile Ubuntu Linux kernel (v5.11.16) fakeroot debian/rules clean // fine make ...
0
votes
0answers
40 views

How to fix this error while compiling the kernel

I have been trying to compile the kernel on Ubuntu. But when compiling its giving me an error. Does anyone can tell what this error is about? I am noob at this stuff. Please let know what can I do to ...
0
votes
0answers
41 views

How to determine the c preprocessor flag for the CPPFLAGS?

I received a sets of Fortran code from my collaborator. In the makefile, there is a line as follows. CPPFLAGS = $(DEF_FLAGS) -DINTEL Because when I used the make command in my terminal to compile the ...
2
votes
0answers
40 views

The recompiled kernel is different from the official release

My kernel version is: Linux version 4.15.0-140-generic (buildd@lcy01-amd64-026) (gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.12)) #144~16.04.1-Ubuntu SMP Fri Mar 19 21:24:12 UTC 2021 Get ...
0
votes
1answer
36 views

compiling cxgb chelsio 10gbE driver

Having trouble compiling the cxgb3toe-1.4.1.2 driver, since for some reason if i try to modprobe cxgb i get this error modprobe: FATAL: Module cxgb not found in directory /lib/modules/5.8.0-50-generic ...
0
votes
1answer
53 views

Getting /usr/local/gcc-8.2/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/x86_64-linux-gnu/libjsoncpp.so.1), why?

Getting /usr/local/gcc-8.2/lib64/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by /usr/lib/x86_64-linux-gnu/libjsoncpp.so.1) why? I keep getting this error. Most recently I tried to ...
0
votes
2answers
59 views

The cleanest way to compile Ubuntu from scratch?

Intro: I heard Ubuntu is safe because it is open sourced, we can see what code is running on our machine. Although there is source code of the linux kernel and many open source modules, but how could ...
2
votes
1answer
1k views

Compiling the kernel 5.11.11

In ubuntu 20.04 LTS; I was compiling the latest kernel 5.11.11 after adding a new system call, during the execution of make command I got this error: make[1]: *** No rule to make target 'debian/...
1
vote
1answer
66 views

How can I solve this erorr “/usr/bin/ld: cannot find -libpthreads collect2: error: ld returned 1 exit status” if i already install pthread library?

**I write this c code and I already install a pthread library writting this command **sudo apt-get install lpthread-stubs0-dev #include <stdlib.h> #include <pthread.h> #include <stdio.h&...
0
votes
0answers
122 views

fatal error: linux/compiler-gcc9.h: No such file or directory

I am trying to compile a Linux kernel. I followed instructions and installed tools. But I am stuck at this. GCC is installed and the version is 9 but still, it says cannot find the header. I am ...
0
votes
1answer
101 views

How do I build and install mpv?

The reason why I want to build it myself? That is because the one off the store does not work with youtube links. I also want what is the latest of MPV player. What I want to know is how would I build ...
0
votes
0answers
32 views

Problem when linking code - how to find reference?

I have a problem building some applications from source (here it is freecad). Kubuntu 20.04 When linking there are error messages (the missing reference does vary) /usr/bin/ld: /lib/x86_64-linux-gnu/...
1
vote
0answers
147 views

Error in compiling/installing RealTime Kernel on Ubuntu 20.04.2 LTS

I need to install a RealTime Kernel for working with ROS2 and I have followed this guide very carefully. But I get always the same error: make[2]: *** [debian/rules:6: build] Errore 2 dpkg-...
1
vote
1answer
51 views

Mxnet R package compilation

I am interested in using the mxnet library in R programming language. However there is absence of instructions regarding how to compile the R package in Ubuntu. The make rpkg command is not ...
0
votes
1answer
39 views

the raw command to compile `login`

I want to manually compile the login command (with the exact CC and LD commands). https://packages.ubuntu.com/groovy/login /tmp/shadow_4.8.1.orig/src$ make VERBOSE=1 CC login.o CCLD ...
1
vote
1answer
92 views

hamster: command not found and also unable to build from source code

What is want to do is that i want to use hamster-sidejack tool but when i run hamster in terminal it is saying hamster: command not found and i tried sudo apt-get install hamster-sidejack but it is ...
0
votes
0answers
98 views

Could not locate dkms.conf file

Trying to install rtl8812au drivers for my USB wifi adapter(T2U nano; ID 2357:011e) on Ubuntu 18.04 / 5.4.80-hiveos but having troubles with DKMS status, tried a lot of things from all over Google to ...
0
votes
0answers
117 views

Having problems compiling a r8125 driver for 2.5G RTL8125B Ethernet

My question is a continuation of: Trying to fresh install Ubuntu 20.04 LTS on new computer without OS but can't install r8125 2.5G Realtek Ethernet driver I have successfully installed a wifi card ...
3
votes
0answers
47 views

OpenMPI - Update alternatives

I have troubles with openmpi crashing. The installed/repository version is "mpirun (Open MPI) 3.1.3". Consequently I have locally built a "mpirun (Open MPI) 4.1.0" which does not ...
0
votes
1answer
125 views

Cmake and Qt error when compiling

I hope this is not a duplicate. I am trying to compile a program (Kid3) on Ubuntu 20.04. When I run cmake command I get the below error: CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Qt5/Qt5Config....
0
votes
0answers
149 views

how to install gnome 4 on ubuntu 20.04.2 LTS

~/Repos/mutter$ meson _build --prefix=/usr error Found pkg-config: /usr/bin/pkg-config (0.29.1) Found CMake: /usr/bin/cmake (3.16.3) Run-time dependency x11 found: NO (tried pkgconfig and cmake) meson....
0
votes
0answers
28 views

Failing with Nek5000

I'm trying to build an example on Nek5000 with the included makenek script using mpi (installed mpich), but I get an error. Consulting the indicated file (build.log) this error is showed: mpicc -O2 -...
0
votes
0answers
88 views

“Command '​make' not found” particularly upon compiling the kernel

I'm trying to compile the 5.4 Kernel for beaglebone on my virtual box, and upon running the command make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- uImage dtbs LOADADDR=0x80008000 -j4​ I get Command ...
0
votes
0answers
22 views

How to use gcc -7 if a have build essential installed (ubuntu 16.04)

I'm on Ubuntu 16.04 and installed build-essential because I need gfortran, gcc, g++. I'm trying to run Nek5000 but I get an error with makenek: gcc: error: unrecognized command line option ‘-fno-plt’ ...
1
vote
1answer
16 views

Missing libs for building firefox

I'm trying to build Mozilla Firefox by myself. Actually I'm getting these errors. 0:10.13 DEBUG: configure:7936: checking for gtk+-2.0 >= 2.18.0 gtk+-unix-print-2.0 glib-2.0 >= 2.42 gobject-2.0 ...
3
votes
2answers
162 views

xfce4 weather plugin compile error

I am working for a non-profit that is provisioning donated machines running xfce4. The weather plugin has been integral (nice feature) for our customers. I am trying to compile from source using ...
0
votes
0answers
45 views

getting updated debhelper and qtbase5-dev in Ubuntu 20.04 LTS

I am trying to build Kwave on Ubuntu 20.04 LTS, but have run into the following problem: huber@t5610:~/source$ sudo apt-get build-dep kwave Reading package lists... Done Reading package lists... Done ...
0
votes
0answers
82 views

Inconsistency detected by ld.so: elf_get_dynamic_info: Assertion `info[DT_RUNPATH] == NULL' failed! trying to run qemu using glibc-2.33

For educational pourpoise I would like to run the latest version of qemu using glibc-2.33,instead of glibc installed as default on the 18.04. The final goal is to virtualize windows 10 arm64 on the ...
1
vote
0answers
38 views

Cannot compile aircrack-ng [closed]

Downloaded the tarball for aircrack-ng and then followed the instructions to compile and then install it. The first step it asked me to do was to run autoreconf -i so I did. It gave the following ...
0
votes
0answers
134 views

About files in /usr/include/x86_64-linux-gnu

I see libc6-dev have files installed in /usr/include/x86_64-linux-gnu. It seems that files in /usr/include/x86_64-linux-gnu/sys are pointed by symlinks from /usr/include/sys. And it seems that /usr/...
0
votes
0answers
179 views

How to enable selectively glibc 2.33 only for qemu 5

I'm trying to virtualize windows 10 arm64 on the jetson nano where I have installed ubuntu 18.04 arm64 (I can't upgrade it to ubuntu 20.04 because nvidia does not support it). To get the best ...
0
votes
1answer
136 views

how to compile glibc on ubuntu 18.04 from source on a different folder

I'm trying to virtualize windows 10 arm64 on the jetson nano where I have installed ubuntu 18.04 arm64 (I can't upgrade it to ubuntu 20.04 because nvidia does not support it). To get the best ...
0
votes
0answers
46 views

I am facing problem related my audio module

I am getting an error while running speech recognition in python .every time I run the script I get the same error and my program don't listen the audio. this is my basic program. import ...
0
votes
0answers
27 views

Make Error from drivers when compiling linux kernel

I have a Raspberry pi 4 and a GigE camera. The camera SDK is only supported on Ubuntu. Since there is a MTU limit of 1500 on Raspberry pi, I tried following guides like this to patch the kernel. I am ...
1
vote
1answer
29 views

Errors when installing udunits

I am trying to install udunits. I downloaded udunits-2.2.28.tar.gz from https://artifacts.unidata.ucar.edu/service/rest/repository/browse/downloads-udunits/ lsb_release -a Distributor ID: Ubuntu ...
2
votes
0answers
66 views

Kernel Paniced after trying to compiling & installing an app and then deleting its folder

Hi today i downloaded the angband game and decided to compile it myself so i extracted the files and ran these commands on my terminal ./autogen.sh ./configure --with-no-install sudo checkinstall ...
1
vote
1answer
35 views

Ubuntu Kernal bump release and build kernel

I am trying to build the kernel for Ubuntu Groovy 5.8.0-43-generic #49-Ubuntu as I have made some changes to the USB XHCI drivers. These are changes that have been suggested to fix an issue logged at ...
0
votes
0answers
28 views

gcc version change using update-alternative

i wanted a lower version of gcc to be installed for an old GPU and used gcc-opt to install and changed the gcc auto to the lower version using update-alternatives the following error showed up gcc-...
0
votes
1answer
45 views

How to generate MakeFile from ccmake

I'm trying to install this library: https://github.com/fpeder/XKin I cloned it into an xkin folder then I did the following: cd xkin mkdir build cd build ccmake .. Then a terminal based GUI pops up ...
1
vote
1answer
693 views

Cmake error: — Configuring incomplete, errors occurred!

I have an error when I run cmake ... Could you please help me? Thanks so much I want to build my project. I use mkdir build, cd build/ and cmake ...Then I got this error: CMake Error at /usr/share/...
0
votes
1answer
53 views

How to open terminal from terminal and run a program(script)? [closed]

I recently started to program using Sublime Text 3 (I use gnome-terminal) and I was trying to make a script that compiles my C++ programs and runs them in a terminal window. I became making this ...

1
2 3 4 5
47