Questions tagged [compiling]

Compiling is the process of transforming source code into byte codes for a particular computer architecture.

Filter by
Sorted by
Tagged with
0 votes
1 answer
10 views

drm-kmod-20220907_2 not supported for this configuration / NVIDIA : Failed to initialize the NVIDIA kernel module

I need to conduct some tests on top of the FreeBSD 13.1. So,I've installed it on one of my disks. I've installed xfce4 and KDE,Xorg and from the ports (after having upgraded them). I've installed the ...
Marietto's user avatar
  • 521
0 votes
1 answer
88 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 ...
Kyla Henry's user avatar
0 votes
0 answers
38 views

What safety CFLAGS does the Linux kernel use?

I have seen it said that the Linux kernel is built with -fwrapv to define signed integer overflow as wraparound, potentially sacrificing a tiny bit of performance in return for preventing the ...
rwallace's user avatar
  • 101
0 votes
1 answer
53 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 ...
Jim C's user avatar
  • 3
0 votes
0 answers
26 views

GCC warning for uninitialized data seems opposite of what the standard says [migrated]

Detailed code is given below, but basically: I have a class with some uninitialized data (not set in the ctor). When copying an instance of this class under certain circumstances, GCC gives no warning,...
jwd's user avatar
  • 1,447
0 votes
2 answers
121 views

I'm Using Distribution $X That was shipped With Compiler $Y, but I Need Compiler Version $Z

Issue This question, and answers containing various approaches to solving it comes up many times almost daily on our exchange here. If a search result brought you here Welcome! If a comment I left in ...
eyoung100's user avatar
  • 6,164
1 vote
1 answer
35 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 ...
Alexandre Georges's user avatar
0 votes
1 answer
68 views

Help with Makefile for C program

I'm trying to generate a new library that includes another one I have created previously. In my current folder I have my source files inside a src folder and my headers inside an include folder. This ...
Ricardo Sisco's user avatar
0 votes
1 answer
112 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 ...
Pixelcode's user avatar
  • 101
0 votes
1 answer
104 views

Difficulty resolving "fatal error: charconv: No such file or directory"

I am having difficulty resolving the error below: $ g++ -std=c++17 -fno-exceptions -Wno-deprecated-declarations -DHAVE_CONFIG_H -I./../include -g -O2 -MT util.lo -MD -MP -MF .deps/util.Tpo -c util.cc ...
user18010's user avatar
0 votes
0 answers
48 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/...
mister_smith's user avatar
0 votes
1 answer
40 views

Error "undefined reference to" when building package seafile-client on manjaro

My seafile-client on Manjaro stopped working. So, I removed it and tried to reinstall it. However, when I tried to build the seafile-client from AUR, the installation always aborts. The installation ...
YukiJ's user avatar
  • 101
0 votes
0 answers
8 views

How do build GNOME apps of a SLES15 machine with few/no GNOME development libs?

I want to build a GNOME-ish app on a SLES15 machine I'm working on. I can download the source, but the app relies on multiple GNOME-related libraries - for which I only have the libfoo packages, not ...
einpoklum's user avatar
  • 9,462
1 vote
1 answer
76 views

How can I build an older GCC version (8.5.0) on a newer Linux distribution (Devuan Excalibur/Debian Trixie)?

If I download and try to build GCC 8.x on a newer machine, e.g. Devuan Excalibur GNU/Linux (i.e. Debian Trixie without systemd) - this fails, with the error going something like this: libstdc++.so.6: ...
einpoklum's user avatar
  • 9,462
0 votes
0 answers
73 views

Trouble in compiling GCC for LFS

I wanted to compile the LFS and in GCC-13.2.0 Pass 1 but in the make step i encourted the error done make[4]: Leaving directory '/mnt/lfs/sources/gcc-13.2.0/build/x86_64-pc-linux-gnu/libgcc' make[3]: ...
LinuxDefUser's user avatar
0 votes
1 answer
46 views

gcc build error

when I configure gcc I got a error message could anyone help me ? plz.. messages.. checking whether the C compiler works... no configure: error: in `/home/kjs0625/gcc/gcc-13.1.0': configure: error: C ...
Rahul Nitin's user avatar
0 votes
0 answers
32 views

Cannot compile critic2 using libxc. cmake says different compiler

$ cmake -DCMAKE_BUILD_TYPE=Release -DLIBXC_DIR=/usr/lib/x86_64-linux-gnu/libxc.so .. -- A library with BLAS API found. -- Could NOT find NUMDIFF (missing: NUMDIFF_EXE) -- Found libxc (lib=/usr/local/...
Kamalesh Roy's user avatar
0 votes
0 answers
83 views

Upgrading NVIDIA L4T (Linux 4 Tegra) GPU modules from 3.10 to Something Newer (Like 4.19 LTS)

I'm an owner of an ARM (armv7h) ChromeBook, in particular, it is the Acer ChromeBook 13 with an NVIDIA Tegra K1 GPU. I've recently have been successfully able to run Ubuntu 22.04 (Jammy Jellyfish) ...
NVIDIALinuxUser's user avatar
1 vote
1 answer
155 views

Compiling GCC failed on Openbsd 7.4 (configure: error: .... libgomp)

I'm yak shaving: to compile gcc (especially with libgccjit for ultimately compiling emacs with native-comp) on openbsd 7.4. The reason behind is libgccjit isn't available via pkg_add. Thus I'm trying ...
Garid Z.'s user avatar
  • 532
-1 votes
2 answers
346 views

glibc preconfiguration error: libc shouldn't be installed in /usr/local

. . . checking for kernel header at least 3.2.0... ok *** On GNU/Linux systems the GNU C Library should not be installed into *** /usr/local since this might make your system totally unusable. *** We ...
Anubhav's user avatar
  • 173
0 votes
0 answers
178 views

ld error with clangs when compiling vdso

i am trying to compile a kernel but it always return this error: LD arch/arm64/kernel/vdso/built-in.o ld.lld: error: cannot find linker script -r make[2]: *** [scripts/Makefile.build:507: arch/...
xxjoe's user avatar
  • 11
0 votes
0 answers
70 views

How to compile and transplant samba-4.19.0 as small as possible?

I am compiling samba-4.19.0 on Debian12 and then porting the compiled content to other systems. At first, I wanted to compile it into a static executable file as much as possible, but I couldn't find ...
ABeginner's user avatar
  • 121
1 vote
0 answers
95 views

Behavior of running ldconfig with a directory argument

I have installed some shared libraries to the non-standard directory /usr/lib64/mylib. Then I run sudo ldconfig /usr/lib64/mylib. I can assert by running ldconfig -p that my libraries are indeed ...
Nick's user avatar
  • 111
0 votes
0 answers
404 views

Linux kernel build fails with sed: can't read modules.order: No such file or directory

I am trying to build Linux Kernel for the first time and I am facing below issue while trying to make modules_install sed: can't read modules.order: No such file or directory make: *** [Makefile:1483: ...
Devansh Jani's user avatar
1 vote
2 answers
2k views

Error building GCC 9: version `GLIBCXX_3.4.30' not found

I've been trying to install GCC 9.5 on Debian Bookworm (12) using gcc-12 which is available in the Debian repos. The build fails at make citing it couldn't find GLIBCXX_3.4.30. The relevant part of ...
RogUE's user avatar
  • 197
0 votes
0 answers
177 views

Shift the address in the hex file with Offset

I want to update the hexfile start address with offset. For example, i have a hex file name abc.hex and start with address 0x0000 to 0xFFFF. But I want to shift the context in the hexfile to the ...
sagar's user avatar
  • 3
0 votes
0 answers
156 views

LFS libstdc failed - make: *** No targets specified and no makefile found. Stop

I am on chapter 5 of LFS. I am trying to compile LibSTDC. After cd'ing into the build directory I created and running: ../libstdc++-v3/configure \ --host=$LFS_TGT \ --build=$(../config.guess) \ --...
lfsthrowaway's user avatar
0 votes
1 answer
79 views

How to update programs compiled from source (from Github)?

I'm using Debian 12. I recently followed this guide (https://stopanddecrypt.medium.com/running-bitcoin-lightning-nodes-over-the-tor-network-2021-edition-489180297d5#13c5) to install some software, and ...
NVBK3's user avatar
  • 1
1 vote
1 answer
179 views

building Debian package from Buster fails on Bookworm

I need to use older version of linphone on Debian 12. The version in bookworm is 4.4.10-3, and I actually need 3.12.0, which is available in Buster. On my bookworm build machine, I changed the sources,...
Martin Vegter's user avatar
1 vote
1 answer
174 views

Linux build with custom config using all RAM (8GB)?

I am trying to compile the mainline Linux kernel with a custom config. This one! Running on a 64 bit system. At the last step, when linking the Kernel, it fails because it goes OOM (error 137). [...] ...
user2543740's user avatar
1 vote
1 answer
2k views

failed: load btf from vmlinux: invalid argument make on CONFIG_DEBUG_INFO_BTF=y

I just got the following error when compiling linux-5.14.2.tar.gz and patch-5.14.2-rt21.patch on CONFIG_DEBUG_INFO_BTF=y: AS arch/x86/lib/iomap_copy_64.o arch/x86/lib/iomap_copy_64.S: ...
ABeginner's user avatar
  • 121
0 votes
2 answers
265 views

No rule to make target `scripts/extract-cert' when building Linux Kernel - Centos 7, devtoolset-9

I'm trying to debug my build environment for compiling a linux kernel with some patch sets. I installed devtoolset-9 in my CentOS 7 environment to satisfy the minimum gcc version requirement of the 5....
merlin's user avatar
  • 1
1 vote
1 answer
210 views

make menuconfig hangs when trying to compile linux kernel 6.1.44

I am trying to compile linux kernel 6.1 on Debian 12. I have installed the build environment: apt-get install build-essential bc libncurses-dev libssl-dev libelf-dev bison flex Now when I run make ...
Martin Vegter's user avatar
0 votes
0 answers
241 views

Compile git for /lib/ld-linux-armhf.so.3 from vm that links with /lib/ld-linux-aarch64.so.1 by default

I'm building git from source from a debian 10 vm that has /lib/ld-linux-aarch64.so.1, which ends up linked in the git binary after a basic NO_TCLTK=true make prefix=$(pwd)/2.41.0/arm make all and ~ ...
bpstrngr's user avatar
  • 101
0 votes
1 answer
65 views

Is there a way to compile KNOPPIX from source?

Instead of downloading the ISO, is there a way to download all the source packages and compile it locally? I came across the following URL https://knopper.net/knoppix-sources/ and would like to know ...
tuxbud's user avatar
  • 53
0 votes
0 answers
69 views

I need help compiling the linux kernel for WM8650 (armv5te)

I have a cheap laptop that uses the WonderMedia 8650 CPU. It has 256MB of DDR3 ram and 4GB of on-board NAND FLASH. This laptop comes with android 2.2 from the factory. Even when it was released, it ...
fpp's user avatar
  • 11
0 votes
0 answers
101 views

Is building the Linux kernel on a case-insensitive filesystem possible?

Linux kernel source has some overlapping filenames which would collapse when put on a case insensitive filesystem. Here is the list as of 6.4.7: in include/uapi/linux/netfilter/: xt_CONNMARK.h and ...
tpimh's user avatar
  • 282
0 votes
0 answers
25 views

Who's been in my /opt/lib dotfiles?

Long story short, I recently decided to compile blender from source for the second time in a year. Not sure if I took this long at it last year. As usual, it all comes down to the libraries being in ...
ixtmixilix's user avatar
  • 13.2k
0 votes
0 answers
32 views

How to use new programs/applications without internet or root access?

I am given a computer without root or internet access. (It is running Ubuntu 18.04) It seems to be installed with minimal installation and it seem to lack most of the common application-level package ...
mhn2's user avatar
  • 1
0 votes
0 answers
320 views

RHEL/Rocky 8.8 - 100% CPU and Memory lockup on "make"

Our software product runs correctly on all RHEL 8 versions, until we updated to RHEL 8.8. While running a "make" on Version 8.8, it failed because the RHEL skb_recv_datagram() was updated ...
Izerman Uln'hyrr's user avatar
0 votes
0 answers
148 views

Installing matching kernel-headers

I am trying to install kernal-headers for the kernel 6.0.7-301.fc37.x86_64 on fedora, but dnf only gives me these options: Name : kernel-headers Version : 6.3.3 Release : ...
user7954302's user avatar
0 votes
0 answers
158 views

make[2]: *** [scripts/Makefile.build:267: arch/x86/kernel/paravirt.o] Error 255

I'm trying to compile linux kernel 5.7.0rc1. But while compiling I'm facing the following errors. I'm using this config file. Link: .config arch/x86/kernel/paravirt.o: warning: objtool: missing symbol ...
Zeshan Ahmed Nobin's user avatar
0 votes
1 answer
118 views

How to Patch and Compile Linux Kernel for a specific issue? (No sound in HP ENVY x360 2-in-1 Laptop 15-ey0xxx)

I got the exact same problem as the person here: HP Envy x360 2022 Ryzen edition speakers not working and I want to patch and recompile my kernel with: https://lore.kernel.org/lkml/20220811053950....
Daniel Koch's user avatar
0 votes
3 answers
2k views

Installing GCC 13.1.0 on x86_64 Debian

Did anybody here manage to install GCC 13.1.0 on their computer? When I try to build it from source on my 64-bit Debian Linux, I get the following error message: /usr/bin/ld: .libs/hwasan.o: ...
FlatAssembler's user avatar
0 votes
0 answers
78 views

Undefined reference error while building dssp

I am having following error when I try to run make command for dssp 3.1.4 installation in Ubuntu. make all-am make[1]: Entering directory '/mnt/d/MD_SecR_20230405/Martini3/Martini3/dssp-3.1.4' g++ -g -...
Dammar N Badu's user avatar
0 votes
0 answers
64 views

Passing Cario's dir to meson

While trying to build epiphany I received: Run-time dependency cairo found: NO (tried pkgconfig and cmake) meson.build:80:0: ERROR: Dependency "cairo" not found, tried pkgconfig and cmake ...
user2752471's user avatar
1 vote
1 answer
86 views

vulkan build error : 'createResultValue' is not a member of 'vk'

I'm trying to compile a program that uses vulkan hpp and it uses a method in a file named vulkan_driver.h like this: // Evaluate f and if result is not a success throw proper vk exception. #define ...
Ahmed Moselhi's user avatar
1 vote
0 answers
68 views

Can data be recovered from a directory wiped out by a compiler's install task?

I cloned gradle from https://github.com/gradle/gradle and worked on building it on linux x86_64 (Fedora 37). I did not modify any of the configuration files. As gradle finished building, it erased/...
tluser's user avatar
  • 11
0 votes
0 answers
2k views

Can't find `C/C++: gcc build and debug active file`, when trying to compile C program in vscode classic on manajro

When I click the arrow button: I get these options: I'm looking to get the C/C++: gcc build and debug active file option. This is a freshly installed manjaro and vscode. Vscode was installed via ...
Manfred's user avatar
  • 25
0 votes
1 answer
38 views

BlockSolve.o Error in Makefile

I am trying to run Enzo Project simulation and have followed the steps listed on the website here: https://enzo.readthedocs.io/en/latest/user_guide/bootcamp.html . I have been getting an error and ...
Jacob Krebs's user avatar

1
2 3 4 5
31