Skip to main content
OverflowAI is here! AI power for your Stack Overflow for Teams knowledge community. Learn more

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
19 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
24 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
37 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
  • 327
0 votes
0 answers
33 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
45 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
13 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
73 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
82 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
  • 203
0 votes
0 answers
32 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
110 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
116 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
90 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
34 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
246 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
0 votes
0 answers
583 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
  • 1
0 votes
0 answers
50 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
153 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
113 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
311 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
55 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
262 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
32 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
68 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
106 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
178 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
287 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
221 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
1k 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
58 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
5k 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
564 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
218 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
  • 101
0 votes
1 answer
56 views

Error caused by libgd-dev when installing software

I tried to install a plotting software. It passed "./configure" but it failed on "make & make install". See below: htan@HT:~/grads-2.2.1$ sudo make Making all in src make[1]: ...
Haochen's user avatar
1 vote
1 answer
223 views

Building kernel from deb-src - missing modules?

I'm trying to build a kernel from the Ubuntu package source on Mantic. So far, I've done this: $ sudo apt-get build-dep linux linux-image-generic $ sudo apt-get install libncurses-dev gawk flex bison ...
Tom's user avatar
  • 1,146
1 vote
0 answers
95 views

How can I get taglib >= 1.9

I Try to build ardour 8.2 for sources but get a error when I run ./waf configure. I get the message "taglib 1.9 not found". I am on Ubuntu 22.04.3 LTS. When I try to build ardour 7.3, I get ...
user2588998's user avatar
0 votes
0 answers
129 views

How do I configure an environment for rebuilding current (Mantic) kernel packages?

I'm trying to build a patched version of the current Mantic kernel (6.5.0-14). But I can't even get the unpatched version to build. It seems like I haven't got my Rust installation right but I can't ...
Tom's user avatar
  • 1,146
0 votes
0 answers
51 views

I want to show kernel page table

Firist, I install ubuntu on my labtop.(LG Gram model) I downloaded kernel source, version 6.0 I also make sure about config. CONFIG_GENERIC_PTDUMP=y CONFIG_PTDUMP_CORE=y CONFIG_PTDUMP_DEBUGFS=y Then, ...
crucialzint's user avatar
0 votes
0 answers
39 views

Identify cflag, libs for a make

I'm trying to build a package from sourceforge that made use of GTK2+. I'm running Ubuntu 22.04 which has GTK4 installed. I've changed the references to GTK2+ to GTK4. But I cannot figure out what ...
taf's user avatar
  • 1
0 votes
0 answers
88 views

Compiller error - End binding failed: Bad value

I'm using Ubuntu 22.04. I'm compiling a driver to control LED via serial, but it gave the following error at the end of the compilation: /usr/bin/ld: dl_free_download.o: R_X86_64_PC32 relocation ...
Alex Dedalus's user avatar
0 votes
0 answers
24 views

Kernel Module insertion failed due to kernel mismatch

While inserting module xfs.ko it gave kernel mismatch error I am trying to build linux kerenl version 5.15.1 on my Virtual Machine and trying to insert xfs.ko from it into the VM's kernel as a module. ...
tanny0303's user avatar
0 votes
0 answers
449 views

The C compiler "/usr/bin/cc" is not able to compile a simple test program. flutter

####@flash:~/Documents/app_dev/test_one$ dart run jni:setup -p jni -s src/calculation selecting source directories: [src/calculation, /home/####/.pub-cache/hosted/pub.dev/jni-0.7.2/src] Target newer ...
bot_one's user avatar
1 vote
1 answer
671 views

SSL error building signed kernel?

I'm following the instructions here to build a signed kernel deb package: https://paldan.altervista.org/signed-linux-kernel-deb-creation-how-to/?doing_wp_cron=1701813437.7412788867950439453125 It ...
Tom's user avatar
  • 1,146
0 votes
0 answers
280 views

Facing issue while compiling my kernel module with kernel 6.2.0-26-generic

I am building kernel module, my module was working properly with kernel 5.x versions, but now I am getting so many errors during the compilation process from the kernel headers. errors: Error from ...
Tamilselvan S's user avatar
0 votes
0 answers
203 views

Protobuf C compiler doesn't support proto3

I just installed protobuf compiler and protobuf C compiler using apt install. protoc --version shows: libprotoc 3.12.4 But as I try to compile a proto file with the --c_out option, I get: Filename....
Junhe Liu's user avatar
0 votes
0 answers
82 views

Ubuntu OS:: Strongswan compilation is failing (make is failing)

I am using Ubuntu OS 22.04. I have run "apt-get install strongswan" After I install "apt-get install opensc" After I install "apt-get install libgmp-dev" After I install ...
Arjun Nanjundappa's user avatar
0 votes
0 answers
22 views

Building psensor or getting started building GTK stuff in general

Background: I'm an experienced and competent firmware / driver C / C++ programmer with years in Windows work and just (last 5 years) switched exclusively to Ubuntu. Mostly I work in embedded systems, ...
James Newton's user avatar
1 vote
0 answers
70 views

rootfs building tools

I need to build some Ubuntu-based rootfs. This rootfs consist of some packages from ubuntu repo with custom configs and some packages from our own private repo. Right now in our team it is done by ...
Kamil Zaripov's user avatar
0 votes
1 answer
3k views

ld.lld: error: unable to find library -lstdc++

CMake is complaining that I don't have a working c++ compiled because of the error: ld.lld: error: unable to find library -lstdc++ I've narrowed it down the following: Given the program int main(){...
Foobar's user avatar
  • 609
0 votes
2 answers
2k views

g++ -- Undefined Reference to main in 86_64-linux-gnu/Scrt1.o:

I am trying to compile a simple C++ Hello World program to test my environment, however, whenever I try, I get this Error: /usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/11/../../../x86_64-linux-gnu/Scrt1....
Jack Summers's user avatar
0 votes
0 answers
107 views

How to fix this error when building Linux Kernel 2.4.36.1?

I want to build a Linux Kernel 2.4.36.1 from the source codes. However the following errors occurred. I used the WSL Ubuntu on Windows 11 and please see the following information: dingjun@G02515:~/...
Dingjun Chen's user avatar

1
2 3 4 5
51