Questions tagged [compiling]
Compiling is the process of transforming source code into byte codes for a particular computer architecture.
1,554 questions
1vote
1answer
42views
How do I build a statically linked copy of xz-utils?
I'm trying to build a statically linked copy of xz-utils, such that the xz do not have dependencies on libc. I tried the usual way, which is to set LDFLAGS=-static, and works for most other packages ...
1vote
0answers
37views
Cannot compile kernel modules on TrueNAS Scale
I have a Ugreen DXP 6800 Pro and the OS disk died. No actual NAS data was lost but I cannot figure out how to get the OS back to the same state. I was previously able to compile modules and add them ...
0votes
2answers
19views
Recompiling my custom kernel and my .config is set to old config every time
I am trying to recompiling my kernel. I did a small change in drivers/media/usb/uvc/uvc_driver.c and put a pr_info() only to see in dmesg if its working. I changed the .config file too in ...
-1votes
1answer
37views
What packages will be upgraded after upgrading from Ubuntu 16.04/20.04 to 22.04?
Our IT suggests we upgrade the Ubuntu 16.04/20.04 VM to Ubuntu 22.04 since Ubuntu 20.04 will be EOS after April 2025. Because we use the VM to build the code and the package compatibility is important ...
0votes
1answer
44views
How can I compile fdisk for UEFI shell
I am hoping someone would be able to help me with the following. I have been trying to compile fdisk for UEFI shell the files are provided at https://sourceforge.net/projects/uefi-fdisk/ as per the ...
0votes
1answer
36views
how does Visual Studio Code resolve includes & macros for autocomplete & build?
If using only the C/++ Extension from Microsoft in Visual Studio Code, then how does preprocessing of includes & macros for autocomplete work? Many include headers (such as sys/statvfs.h), depend ...
0votes
0answers
16views
How to set new features to N during kernel compilation from an old .config file?
I am compiling a custom linux kernel for a compute cluster. The cluster is currently running on kernel version 4.4.47 since last 5 years. I need to upgrade the kernel to a more recent version. I've ...
0votes
0answers
69views
How can I get libc-client.so.2007?
I downloaded the source code for UW-IMAP/imap-2007f_upstream from the URL below. https://github.com/uw-imap/imap/archive/refs/tags/imap-2007f_upstream.tar.gz I compiled it, but libc-client.so.2007 was ...
0votes
0answers
21views
Running py2debi for ffsubsync, I get: "No such file or directory: 'requirements.txt'"
I'm trying to follow the advice here: Install a Python package on Debian/Devuan when apt has no package for it and create a Debian/Devuan package for the ffsubsync Python package. All the dependencies ...
0votes
2answers
153views
Suggestions on Linux distro that allows updates ot C++ to latest compiler releases
I am currently using Ubuntu 24.04 (22.04. sorry, wrong) but frustrated that I can't load the latest GCC compilers. I have GCC 14.2 but want to install 14.3 and then 15.1 when available. Ubuntu won't ...
0votes
0answers
151views
Building GCC 12.4, I get: libisl.so.23: ... No such file or directory
I'm trying to build GCC 12.4.0 on Oracle Linux 9.4 (sorry about that... not my choice of distribution), as a non-root user. So, I've downloaded and built my relevant prerequisites: gmp, mpfr, mpc, isl,...
0votes
1answer
383views
Is it possible to build an up-to-date version of the g++ (14/13) on Raspberry Pi running Debian 12 arm64?
I am puzzled. There is seemingly no newer Debian image for Raspberry Pi than the current stable version 12 (bookworm). I have downloaded and installed it just when it went out without issues, I ...
0votes
0answers
50views
Passing Makefile Variables into Kernel Modules
I'd like to grab information from the shell and pass it into a kernel module through the makefile. I can do this with user space programs using -D. Is there a similar mechanism for kernel modules? For ...
0votes
0answers
37views
Getting these make command errors while compiling an android kernel
──(root㉿kali)-[~/Documents/kernel-source-alioth-stock] └─# make -j2 CC=clang O=output/ $config make[1]: Entering directory '/root/Documents/kernel-source-alioth-stock/output' .... HOSTLD scripts/...
0votes
0answers
135views
Setting up OpenPrinting CUPS and brlaser on Raspbian
I have a Brother HL-L2300D monochrome laser printer I'm trying to interface with a Raspberry Pi as a print server. Using Apple CUPS 2.2.10-6+deb10u7 and printer-driver-brlaser 4.1 from APT, the ...