Skip to main content
The 2024 Developer Survey results are live! See the results

Questions tagged [compiling]

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

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

How a build a source package taken from a previous Ubuntu release?

I'm trying to build curlftpfs sources downloaded from Ubuntu 23.10 universe repository on Ubuntu 24.04 LTS but debuild fails : $ mkdir -p src/curlftpfs $ cd src/curlftpfs $ wget -c http://archive....
SebMa's user avatar
  • 2,431
0 votes
1 answer
74 views

How to install curlftpfs on ubuntu 24.04 LTS : Package 'curlftpfs' has no installation candidate

I'm trying to install curlftpfs on Ubuntu 24.04 LTS but it fails although the universe repository is enabled : $ sudo apt install curlftpfs Reading package lists... Done Building dependency tree... ...
SebMa's user avatar
  • 2,431
0 votes
0 answers
26 views

Ubuntu server reboot not working after symlink change - live usb can not make the fix

I have accidently made a wrong symlink So currently rebooting does not work This error occurs after I have accidently changed the symlink of glibc as below sudo ln -sf /opt/glibc-2.38/lib/ld-linux-x86-...
dabid's user avatar
  • 1
1 vote
0 answers
34 views

libgtkgl2.0-dev: package not found, Ubuntu 24.04

I have Ubuntu 24.04 Noble, and was trying to build some old software. The ./configure script returns: configure: error: Package requirements (gtkgl-2.0) were not met: Package 'gtkgl-2.0', required by ...
Jean Dubois's user avatar
2 votes
1 answer
115 views

When compiling kernel the "Debian way", how do I add a local version modifier?

I've been experimenting with compiling my own kernel, and I'm having difficulty adding a local version modifier when following the instructions from BuildYourOwnKernel. This is the "Debian way&...
mpboden's user avatar
  • 1,695
0 votes
0 answers
34 views

cant make realtek audio codec

i recently dualbooted my windows with kubuntu and now that i have installed discord on it my friend told me that i sound like a robot and he can hear me 2 times. So i decided to download realtek audio ...
VulkoOnDrugs's user avatar
-1 votes
1 answer
35 views

How to install r8168-dkm without internet

After updating Ubuntu 24.04 LTS the internet stopped working. The lshw -C network command showed that the network was unclaimed. I downloaded the r8168-dkm package from the realtek website and ...
Randi Khana's user avatar
1 vote
1 answer
61 views

Having problem to install latest version of poppler tarball

I am currently using Kubuntu 22.04. I want to install poppler which I need for using the yazi CLI file manager, but I have a problem working with tarball files and getting a build from them, I ...
Amirali's user avatar
  • 11
0 votes
1 answer
109 views

Can't install CUDA 12.1 in Ubuntu 22.04 LTS

Here is my system details: x86_64 DISTRIB_ID=Ubuntu DISTRIB_RELEASE=22.04 DISTRIB_CODENAME=jammy DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS" PRETTY_NAME="Ubuntu 22.04.4 LTS" NAME=&...
Maifee Ul Asad's user avatar
1 vote
0 answers
47 views

RTL8812au on Ubuntu 22.04.4 fails due to compiler mismatch

I am attempting re-installation of a Realtek wifi module (using the rtl8812au chip) and something has changed since the last installation. Previously, I successfully installed it on 22.04.2 and, now, ...
DroversDuck's user avatar
-1 votes
0 answers
56 views

No rule to make target ---/parser/cparser_tree.o', needed by 'diag'. Stop

SDK was provided by the vendor and it was OK to be rebuilt in Ubuntu 20.04 according to the vendor's saying. I tried to rebuild image on the same environment by vendor document and use the below three ...
江平興's user avatar
1 vote
1 answer
60 views

debian/rules hook to incrementally compile kernel after changing source?

I want to make changes to an (in-built) driver in the Ubuntu kernel. But when I make changes to the source file, fakeroot debian/rules binary does not detect the change or recompile the file. Is ...
Michael Walton's user avatar
0 votes
1 answer
81 views

Compiling some source files using 'make' gives errors: apparently, a missing file

I'm trying to get Quantum Espresso installed in linux. After introducing this into the terminal: $ sudo apt install git wget build-essential $ sudo apt install g++ gfortran liblapack-dev $ sudo apt ...
jesusabf's user avatar
0 votes
0 answers
25 views

how to correct the error i get while downloading gromacs on ubuntu 22.04

checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... configure: error: unsafe srcdir value: '/home/banerjee/gromacs 1/gromacs-2024.2/build/src/...
Debosmita Banerjee's user avatar
0 votes
0 answers
124 views

Fatal error: defs.h: No such file or directory When using gcc to compile .c file

Using Openairinterface5g Open source software and am trying to compile one of the .c files using gcc - I keep on getting a very similar 'Fatal error' message which revolves around some sort of header ...
Dudley008's user avatar
2 votes
0 answers
129 views

Mismatch complier with kernel

While I was trying to install Virtual Box's Guest Additions, my Ubuntu's screen has been glitching, so I got 2 things to solve, but to no avail. I read and applied from 3 "askubuntu" posts, ...
K3nny_V4st's user avatar
0 votes
0 answers
84 views

Manually Building LLVM: libstdc++ version must be atleast 7.4

I am currently trying to install/build LLVM and MLIR on my machine, and have everything set up das suggested by LLVM/MLIR. This is the 'CMake' call I make: cmake -G Ninja ../llvm -...
Clebo Sevic's user avatar
3 votes
1 answer
393 views

How do I install ShengBTE software?

I am totally new user in Ubuntu. For research purpose, I need to install ShengBTE software. In the following I copied the texts which is important for compilation. According to the texts, I downloaded ...
Muhammad Hasan's user avatar
0 votes
0 answers
53 views

EtherCAT IgH Master compilation issues - Rasperry Pi with Ubuntu Server

I'm trying to compile the EtherCAT IgH Master into a Raspberry Pi for a ROS2 application. It's currently running the following kernel: @pi:~$ uname -r 5.15.98-rt62-raspi I've got the RPi image from ...
Manchancleta's user avatar
0 votes
0 answers
46 views

Sub-process /usr/bin/dpkg returned an error code (1) while i install pip3

Reading package lists... Done Building dependency tree... Done Reading state information... Done The following additional packages will be installed: binutils binutils-common binutils-x86-64-linux-...
Pedro Henrique Nairoski's user avatar
0 votes
1 answer
49 views

Problem building plib ... ./configure doesn't see OpenGL

The plib package for game-engines is only distributed as sources, and I'm following the instructions to a T, I believe; got all the dependencies, or I thought so, but when I run ./configure it says ...
DanW58's user avatar
  • 365
0 votes
0 answers
136 views

CMake version does not mach

I was trying to get the LBPH classifier for Java for OpenCV and to do that I need to use cmake. For this case thy are saying that the minimum version for the cmake is: "3.29" and I had 3.22. ...
Al3x4ndru1's user avatar
0 votes
0 answers
121 views

Install GCC 7.20 on Ubuntu 22.04

I saw this question several years ago, but it is worth asking. I have to do a coding test on "GCC 7.2.0 (with -std=c++17)" I have in my Ubuntu: "gcc version 11.4.0 (Ubuntu 11.4.0-...
Al3x4ndru1's user avatar
0 votes
0 answers
31 views

Launchpad: How to set up a "fork" of an Ubuntu source package?

I'm currently trying to create a PPA that would automatically release linux-firmware packages from the latest Ubuntu for all Ubuntu releases. To do that, I've created my project https://launchpad.net/...
Martin Pecka's user avatar
0 votes
1 answer
82 views

What happens to apt-tracked packages if I upgrade one manually?

I'm on Ubuntu server 22.04 (Jammy). I'm still a bit of an Ubuntu newbie and I wanted to apt upgrade a package that I have previously installed via apt and the relevant PPA. Turns out I can't, apt can'...
Dimitris Sfounis's user avatar
0 votes
0 answers
299 views

Force docker build to not verify TLS certs (WSL)

Running docker in WSL2 ubuntu image. I want to disable TLS verification for my docker build for testing purposes. How can I accomplish this? I tried the following: Adjust /etc/docker/dameon.json, ...
Dave's user avatar
  • 213
0 votes
0 answers
141 views

How to get around the 'configure: error: unrecognized option: `-''

I recently decided to sync OneDrive to my Windows machine. I have a virtual environment where I run molecular dynamics simulations using AMBER source code (Ubuntu). The source code file path was ...
meyerok's user avatar
1 vote
0 answers
353 views

Error installing driver via make due to GCC-12 version not matching

Trying to install drivers that via a make command, but getting the error: warning: the compiler differs from the one used to build the kernel The kernel was built by: x86_64-linux-gnu-gcc-12 (Ubuntu ...
user329488's user avatar
2 votes
0 answers
281 views

WSL Ubuntu: How to setup gcc to cross-compile for arm with a specific glibc version?

I'm not really an expert of linux, so i'm feeling a bit lost. I'm running an Ubuntu 22.04.3 LTS image in WSL, as i need to cross-compile a program for an ARM linux pc (a BeagleBone Black, "BBB&...
Parduz's user avatar
  • 143
0 votes
1 answer
215 views

Libisofs build error when using xorriso

Currently, I am trying to build Ubuntu 24.04 with xorriso, but failed with following error output. The Ubuntu I used is a daily build version: https://cdimage.ubuntu.com/daily-live/current/noble-...
Alex's user avatar
  • 1
0 votes
0 answers
38 views

Problem while compiling git repo

I'm trying to compile a git repository of a bioinformatics package (https://github.com/MBoemo/DNAscent) and I have been running into some problems and was hoping somebody could help with this. I'm ...
Tyhalj's user avatar
  • 11
0 votes
0 answers
590 views

How to install opencv with CUDA support

I need help of building opencv in Ubuntu. I tried to install opencv in Ubuntu 20.04 - not install libopencv. I want to install opencv with CUDA support. I installed CUDA-12.4, CUDNN-9.0.0 Then I tried ...
Albers Joy's user avatar
2 votes
0 answers
1k views

How to install glibc 2.31 from source on Ubuntu 22.04

I am trying to compile glibc 2.31 on Ubuntu 22.04 LTS. I followed a this answer as a template, which was incredibly helpful. My issue is that there are undefined references when I run make: ... make[...
Arizen's user avatar
  • 21
0 votes
0 answers
88 views

Cross-Compile Raspberry Pi "Kernel configuration is invalid" Error

I'm using ubuntu as a host to cross compile raspberry pi 3b+ as a target. I tried to use commands below: sudo make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -C /home/ubuntu/Desktop/workspace/linux M=...
Alperen's user avatar
0 votes
0 answers
391 views

skipping incompatible

I want to compile C files using make with the libpng library. However, this is what I got after typing the "make" make gcc mp5.o main.o -o mp5 -lpng -g -m32 /usr/bin/ld: skipping ...
user23569449's user avatar
-1 votes
1 answer
152 views

Nvidia GeForce 9600M GT driver installer cannot find GCC version number in /proc/version

I have learned a lot doing this and now I’m a bit hung up on this next part. This is a 2009 15-inch MacBook Pro which has had internal components swapped out, such as a Samsung SSD and apparently 2 ...
Julius Hamilton's user avatar
0 votes
0 answers
555 views

How to add NTSync support to both kernel and Wine?

Lubuntu 22.04.4 LTS. How can I apply NTSync patches for kernel and Wine? I've built a few custom kernels years ago (16.04 or 18.04, I don't remember), but I have no idea how to apply NTSync patches.
NickDoom's user avatar
  • 269
0 votes
0 answers
96 views

Cannot install nvidia drivers with .run

i was using nvidia omniverse, and a very simple scene crashed every time i opened it. I looked up a fix, and i found this page (https://docs.omniverse.nvidia.com/dev-guide/latest/linux-troubleshooting....
Josiah's user avatar
  • 11
0 votes
0 answers
668 views

How to compile libcurl statically on Ubuntu via musl-gcc

I will start with the fact that I am no compilation expert. I am trying to compile some c code that I have which utilizes libcurl (among other libraries), and I want it to be as cross-platform for ...
Gordon's user avatar
  • 1
0 votes
0 answers
38 views

openauto compiling error

the link of error pic /usr/include/c++/9/ext/new_allocator.h: In instantiation of ‘void __gnu_cxx::new_allocator<_Tp>::construct(_Up*, _Args&& ...) [with _Up = f1x::openauto::autoapp::...
manga's user avatar
  • 1
0 votes
0 answers
90 views

openauto building error

I have built aasdk library successfully the output was this abdelrahman@ubuntu:~/Desktop/aasdk/build$ make [ 81%] Built target aasdk_proto [100%] Built target aasdk abdelrahman@ubuntu:~/Desktop/aasdk/...
manga's user avatar
  • 1
0 votes
0 answers
127 views

Geany gives error message on compiling: "Fatal: Can't find unit system used by HelloWorld"

I have installed Free Pascal Compiler and Geany on my ubuntu machine. When I compile a programm with fp of FPC all is fine. If I compile the same program with Geany I get the error message "Fatal:...
1202_ALARM's user avatar
0 votes
0 answers
201 views

Kernel 6.7.2 issues

this is mine first time compile a kernel and I have this error make[3]: *** No hay ninguna regla para construir el objetivo 'debian/canonical-certs.pem', necesario para 'certs/x509_certificate_list'. ...
Ricardo Andres Riquelme Rios's user avatar
0 votes
1 answer
446 views

No package 'opencv4' found

I have makefile has this line : $(CLINAME): $(LIBNAME) main.c $(CC) -o $@ main.c -std=c99 `pkg-config --cflags --libs opencv4` -Iinclude -L. -l$@ -lm I am trying to run my code but I got on this ...
stella's user avatar
  • 1
0 votes
0 answers
377 views

Build Ghostscript 10 on Ubuntu 22.04

In official repositories of Ubuntu 22.04 LTS there is a Ghostscript 9.55. I'm trying to build latest Ghostscript 10 from sources. It's working but… a) when I type 'sudo checkinstall' it creates a deb ...
Robert Drygas's user avatar
5 votes
2 answers
2k views

How can I use a later version of GCC than the system runtimes support? Can software built with it run on a system with only normal packages installed?

I don't use Ubuntu very much, being a platforms and builds engineer in an organisation that's primarily Red Hat Enterprise and its work-alikes. The problem with just building and using an up-to-date ...
John Dallman's user avatar
0 votes
1 answer
78 views

./build command not found

trying to install dssh - https://github.com/PWZER/dssh but the ./build.sh command is not found nor is any build command. Ubuntu 22.04.3 LTS any help appreciated
Lillinator's user avatar
2 votes
3 answers
7k views

Ubuntu 22.04.3 - VMware Kernel Module Updater

Ran into the GNU C Compiler (gcc) version 12.3.0 was not found. I have seen this issue before and have resolved it, however when I run the commands below I still receive the request for GCC. Is the ...
CraigJem10's user avatar
5 votes
1 answer
577 views

compile TN 5250 program

I was a consultant on the IBM AS/400 for nearly 20 years. In the past I have used TN5250 to connect to the 400. Lately I've been getting a lot of emails with possible remote consulting gigs. I tried ...
vdubeau's user avatar
  • 67
-1 votes
2 answers
289 views

Compiling with Libadwaita, GTK4 and C

After installing the libadwaita-1-dev package on Ubuntu 23.10, I tried to compile the example from the official documentation: gcc $(pkg-config --cflags --libs gtk4) $(pkg-config –-cflags --libs ...
Holger's user avatar
  • 111

1
2 3 4 5
52