Questions tagged [compiling]
Compiling is the process of transforming source code into byte codes for a particular computer architecture.
1,558 questions
1
vote
1
answer
39
views
Do I need to define an absolute path to be able to compile the DRM / Panfrost subtree code of JSM on the RockPro64 / Khadas Edge-V / RK3399?
I'm trying to compile the drm-subtree of JSM because I want to enable the panfrost driver on the RockPro64 / KHADAS EDGE-V / RK3399. The code is here:
https://github.com/jsm222/drm-subtree
He improved ...
2
votes
1
answer
59
views
Error while building app qman from source with meson
I'm not used to build apps from source and when I do, it's not free from hiccups.
While trying to build the app qman, I was met with this error code:
[1/11] Generating src/config.h with a custom ...
0
votes
1
answer
51
views
Unable Compile libubus, wpa_supplicant and hostapd for Armv7
Disclaimer: im not a linux expert and the only reason im posting is because i looked everywhere (hopefully) so please be gentle if you are going to flame me.
-Attempting to compile libubus, ...
0
votes
1
answer
119
views
Trying to compile a tinycore linux kernel leads to Error 2
EDIT 1 - Following instructions from : https://github.com/on-prem/tinycore-kernel
EDIT 2 - after trying make os, it fails giving an Error 2 compiler error. i know that it has something to do with the ...
0
votes
1
answer
276
views
How much disk space is needed to compile a Linux kernel in a VM?
I just coded two system calls using the Linux 6.12.1 kernel, and I transferred the kernel to a Lubuntu virtual machine with 25 GB space (on Virt-Manager/KVM), but when I compile the new kernel, I get ...
1
vote
1
answer
115
views
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 ...
0
votes
2
answers
52
views
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 ...
0
votes
1
answer
105
views
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 ...
0
votes
0
answers
31
views
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 ...
0
votes
0
answers
46
views
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 ...
0
votes
0
answers
343
views
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,...
0
votes
0
answers
78
views
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 ...
0
votes
0
answers
233
views
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 ...
1
vote
1
answer
239
views
Building Kernel - Invalid Symbol Value
I'm building a customized OpenWRT image for a Teltonika RUT241 Modem/Router. My build is based off the 'SDK' from the manufacturer with a few extra addons.
When I build it on my local development PC (...
1
vote
1
answer
663
views
Compling kernel in CentOS 9
When I was compiling kernel I faced with this error:
** No rule to make target 'certs/rhel.pem', needed by 'certs/x509_certificate_list'. Stop.
I ran these commands:
scripts/config --disable ...
0
votes
1
answer
277
views
Compiling kernel modules for a Terramaster NAS
I'm having a bit of trouble with compiling the Coral AI PCIe drivers for my Terramaster NAS. Terramaster support has been no use at all. However, one other user has managed to compile some modules to ...
0
votes
1
answer
104
views
Problem adding onnxruntime python package to a yocto build
I'm trying to add the meta-st-x-linux-ai to my yocto build setup so that I can have the onnxruntime python package available on my linux, but I get the following errors :
Notice that all my layers ...
3
votes
3
answers
688
views
Global vs package specific USE — best practice
I'll be installing Gentoo for the first time and as a preparation I am crawling Gentoo wiki for packages I'll need and what USE flags those packages use.
What I am not sure about is at what level I ...
3
votes
1
answer
256
views
Is there any way to compile C++ code by g++ without any disk-writing? [closed]
I have a special Linux environment: all files and folders are read-only and G++ is installed. I am also unable to run sudo. I can just run a C++ program on it. I want to compile another piece of C++ ...
0
votes
0
answers
202
views
Failure to bootstrap GCC 13.2
I am trying to install the latest version of GCC 13.2 on my system:
Linux minty-virtual-machine 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
...
1
vote
1
answer
2k
views
Makefile:12: *** missing separator. Stop [duplicate]
In trying to compile my makefile, I keep getting the same error message repeatedly:
Makefile:12: *** missing separator. Stop
I've removed the tabs, removed the spaces, deleted the makefile entirely ...
0
votes
1
answer
119
views
CentOS 7.9 not reporting full version number after recompiling kernel
I needed to enable SCSI support in CentOS 7.9 so I followed the instructions here:
https://wiki.centos.org/HowTos(2f)I_need_the_Kernel_Source.html
to add SCSI support and recompile, which worked as ...
1
vote
1
answer
205
views
ADCIRC - Cannot find -lhdf5_fortran: No such file or directory
Trying to compile ADCIRC, a Fortran program with NetCDF support, and I hit the following error.
/usr/bin/ld: cannot find -lhdf5_fortran: No such file or directory
collect2: error: ld returned 1 exit ...
1
vote
1
answer
1k
views
How to install SAGA GIS 9.3.0?
I need to install SAGA GIS for some interpolations. Sadly, sudo apt-get install saga will only install version 7.3.0, but I need version 9, preferably 9.3.0.
The SourceForge repo doesn't contain Linux ...
0
votes
0
answers
110
views
configure: error: C compiler cannot create executables ERROR on FreeBSD 14.0-RELEASE
I'm not able to install sudo on my FreeBSD 14.0-RELEASE-p3 amd64
marietto:/usr/ports/security/sudo # make
===> License sudo accepted by the user
===> sudo-1.9.15p4 depends on file: /usr/...