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
1answer
8 views

How prevent to auto-compilation loop with fswatch upon changes in Texmaker?

After inspecting this question and the unaccepted answer, I tried to test it. First I tested the recommended command with: fswatch -o report.tex | xargs -n1 -I{} pdflatex report.tex Which led to an ...
-3
votes
0answers
14 views

./configure problem linking pythia with hepmc

i m facing this issue.. help me to resolve it.. faisal@faisal-Latitude-E5470:~/Downloads/softwares/Hepmc$ ./configure --with-hepmc=/home/faisal/Downloads/softwares/Hepmc/HepMC-2.06.09 --with-...
0
votes
0answers
15 views

How to compile kernel without optimizing scheduler

I have developed an application demonstrating priority inversion in linux kernel and now I want to prove it by capturing certain context switches using kgdb. I have working setup to debug kernel on ...
0
votes
1answer
86 views

What does '/bin/bash: line 2: 30063 Killed' mean?

I'm trying to install ps2dev a homebrew playstation 2 development toolchain and SDK But I'm having trouble compiling gcc 11.1.0 it stops at make[2]: Entering directory '/home/david/ps2toolchain-ee/...
1
vote
1answer
15 views

Getting error in /bin/sh when trying to use a makefile

I am trying to compile a file using a makefile but for some reason, I am getting an error in /bin/sh, I am getting the following: nvc FLAGS(LDFLAGS) black_scholes.o gaussian.o main.o parser.o random.o ...
0
votes
1answer
25 views

Help building older version (<= 7.1p2) of OpenSSH Portable (< on Linux or any other Distro)

I am working on creating my own PoC of CVE 2016-1907 along with several other OpenSSH involved CVE's for Ethical Hacking / Bug Bounties. Currently, I have found through Nmap servers running ...
0
votes
1answer
20 views

What are you supposed to do for “pass 2” sections in LFS

I'm trying to build an LFS system but I've hit a roadbloack, what am I supposed to do for the 2nd passes. I thought maybe I had to re-untar again then compile their but that didn't make a new ...
1
vote
0answers
16 views

custom kernel module not being compiled

I'm playing with linux kernel, trying to write some modules. I added them in the linux sources, under /drivers/my_module/my_module.c. (I'm using kernel 4.9, on debian 9, make 4.1) Here it is: #include ...
0
votes
1answer
38 views

ERROR: A failure occurred in build(). while installing “checkinstall” help the newbie out

I wanted to uninstall conky that I built from source on my arch linux and this thread suggested installing checkinstall. But I am new to all this and makepkg -sic resulted in the following error - ...
0
votes
0answers
15 views

Project links during compile but ldd shows library not found. why?

When i run through the compile process of a project, quite often i need to use a custom library compiled and stored somewhere that is not in the path. At the start of the compile, I can specify the ...
0
votes
0answers
24 views

How to compile Linux Kernel 0.95 and run it with QEMU?

I want to compile Linux Kernel 0.95 and run it with QEMU. But I just found this (Linux Kernel 0.95 source code).
0
votes
1answer
46 views

Make file not working c

A4: main.o testA4.o helper.o miscFunctions.o queueFunctions.o headerA4.h gcc -Wall -std=c99 main.o testA4.o helper.o miscFunctions.o queueFunctions.o main.o: main.c headerA4.h gcc -Wall -std=...
0
votes
0answers
9 views

Including only .text section with GNU Linker

I'm using it to generate a plain binary from an ELF : ld --oformat binary a.out -o bin But it does include all its sections, and I want only .text section to be stored. How can I do that ?
0
votes
0answers
26 views

How to Build GNU IceCat for Pi 4 running aarch64 Raspbery Pi OS

I would like to build the latest version of GNU IceCat in a 64bit Raspberry Pi OS environment running on a Raspberry Pi 4 with a Broadcom BCM2711B0 Quad-core Cortex-A72 (ARM v8) 64-bit SoC @ 1.5 GHz ...
0
votes
1answer
47 views

Does the shell script interpreter optimize if else chains?

As far as I understand, an interpreter runs code line by line; but I find probable that my reasoning is incorrect. If in this example case the first if line returns true, will the program know to skip ...
0
votes
0answers
17 views

error: implicit declaration of function 'rdtscl' cc1: some warnings being treated as errors

I'm following Step 3a of instructions here: https://wiki.centos.org/HowTos/Laptops/Wireless/Broadcom But I'm receiving this error: It is suggested: find where -Werror is set and remove that flag I ...
0
votes
0answers
49 views

Inconsistency detected by ld.so: elf_get_dynamic_info: Assertion `info[DT_RUNPATH] == NULL' failed! trying to run qemu using glibc-2.33

For educational pourpoise I would like to run the latest version of qemu using glibc-2.33,instead of glibc installed as default on the 18.04 (vers. 2.27). The final goal is to virtualize windows 10 ...
0
votes
0answers
12 views

openSuse - change PHP cli version

I have built PHP 7.3.27 from source like this: ./configure --with-config-file-path=/etc/php7/cli \ --with-config-file-scan-dir=/etc/php7/cli \ --with-openssl \ --with-bz2 \ --with-zlib \ --with-...
0
votes
0answers
9 views

PHP - Why do I get “zlib extension is required” even though I configured php with zlib?

I installed php 7.2.33 from source like this: ./configure --with-config-file-path=/etc/php7/cli --with-config-file-scan-dir=/etc/php7/cli --with-openssl --with-bz2 --with-zlib --with-curl --with-bz2 --...
0
votes
0answers
32 views

Building Lokinet on Void Linux fails

I am trying to build Lokinet on Void Linux from source. I am deviating from the directions on its github which are for a development build. I am instead doing a stable build myself, and I do not want ...
0
votes
0answers
200 views

“Failed to change profile to headset_head_unit” — problems with ofono phonesim

Dear helpful community, please bear with me as I am new to this. As I am having the same problem, I am trying to follow the instructions by alisabzevari here: Failed to change profile to ...
0
votes
1answer
152 views

Local installation of pcre2 not detected while installing R 4.0.4 from source

I am trying to do a build and local install of R 4.0.4 on Red Hat Linux 6.8. There were several unmet dependencies which I resolved by doing local installations (following the procedure in this). ...
0
votes
1answer
44 views

Can't compile headers on Kali Linux

i have a problem on my kali linux - i wanted to write a simple program which included 3 header files: #include <linux/input.h> #include <stdio.h> #include <fcntl.h> i tried to ...
0
votes
1answer
20 views

How can I compile scanbd on Raspberry Pi?

I am trying to get the buttons on my Canon CanoScan LiDE 60 to work. So far I installed the sane-utils, the printer is detected and I can scan. However the front buttons on the scanner are not ...
0
votes
0answers
19 views

How to configure linux kernel so that it does not require initrd?

What should be done in the menuconfig to compile a kernel which does not require initial ramdisk?
0
votes
2answers
82 views

Locating the C header “stdio.h”

I wrote my first C program which is the generic "hello world" program. Could anyone please tell me where can I find stdio.h file in my system? It will help me a lot in understanding of the ...
0
votes
0answers
21 views

Where to store cached compiled binaries for my scriptng language

I wrote a programming language which is kinda scripting but at the same time compiled, the compiler compiles the source and executes it. But first it checks the timestamp of the source and the binary ...
0
votes
0answers
20 views

How to upgrade gfortran in miniconda environment

I'm trying to compile a program that requires gfortran inside a miniconda3 environment but I get the error message: No suitable fortran compiler found (cause: 'gfortran version need to be above 4.3 ...
0
votes
0answers
39 views

ifort will not find gmp library (libgmp) while linking

Does anybody know the underlying sorcery behind libgmp?? I am working on compiling a program (hires_ifr.c) on Red Hat Enterprise Linux 7.9 that previously had no issues. It is now failing to find the ...
0
votes
0answers
108 views

Make error: DSO missing from command line when installing YOLOV4

I am trying to install YOLOV4 in Linux and when I run make.I get this error: lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line. Maybe the problem is related the ...
0
votes
1answer
56 views

How to compile static binary for i386?

I'm trying to compile some code statically (dosfstools) with GCC for i386, using -static and -march=i386, but the libraries, for example /usr/lib/i386-linux-gnu/libc.a, are not i386 despite the name. ...
1
vote
1answer
42 views

What is the best way to determine missing dependencies when using G++ to compile a program with headers and static libraries?

I am trying to compile the demo for the Acontis etherCAT master stack, but G++ is reporting a number of undefined references when trying to compile, without giving any clue as to which headers or ...
0
votes
1answer
45 views

Change console size

I'm trying to run linux kernel inside VMware from iso image compiled from sources. At the current moment I'm trying to start initramfs but for some reasons it crashes. My problem is I cannot know why ...
1
vote
1answer
690 views

CentOS 8 - /usr/bin/ld: cannot find -lnsl

I am working on a new CentOS 8 server to replace an aging CentOS 6 server. Most everything is working and I am having the primary users test out everything they use the server for. Many errors have ...
0
votes
0answers
30 views

Compilation with dependencies

noob here rpm -i expat-devel then need to configure make make install gdal Now my question is If I am installing GDAL, after installing the expat rpm, do I need to do ./configure --with-expat or would ...
0
votes
2answers
15 views

Static Libraries: Recompilation and sharing of the source code

I am trying to understand creation and use of static libraries and shared libraries in Linux using Program Library HOWTO. There are two statements in the link that I am confused about: Static ...
0
votes
0answers
39 views

Linking to wrong .so file on Fedora 33 (libx265) when compiling ImageMagic

On Fedora 33, I'm trying to compile ImageMagic from git. libx265 and libheif are installed from the Fedora fusion repos, along with their -devel packages. When running ./configure --prefix=$HOME --...
1
vote
0answers
49 views

Custom 64bit 3.10.9 kernel not booting in qemu and stucks on Booting from ROM

My custom build kernel 4.10.9 with gcc-4.8 is not booting in qemu and it is stuck on booting from ROM: I used the following qemu command: qemu-system-x86_64 -kernel linux-3.10.9/arch/x86/boot/bzImage....
0
votes
2answers
37 views

What types of things break regarding building of native software when upgrading versions of Fedora, and what are some solutions? [closed]

I do a lot of software testing and that requires me to build many different projects from source. I've recently upgraded to Fedora 33 from 31, and essentially, I have a group of issues that involve ...
0
votes
0answers
39 views

Building QT statically out of tree from source with XCB

I'm trying to build QT 5.15 statically from source out of tree with GUI enabled and have problems with XCB. I am trying to build on Ubuntu 20.04 and used https://wiki.qt.io/Building_Qt_5_from_Git as ...
0
votes
3answers
75 views

Should you uninstall previous versions when installing a newer version from source? Are there problems associated with not doing so?

I'd like to install a software of which there is only a very outdated version in (latest) Debian's repositories (and no other repository to add). To do so I need to compile/install it from source. ...
0
votes
1answer
96 views

U-Boot Compile Error on Ubuntu 20.04.1 LTS

I've been following this tutorial on how to set-up a basic boot loader configuration on an embedded system. I've been stuck on the U-boot part owing to not being able to build it. Downloading U-boot ...
0
votes
0answers
7 views

How to fix multiple RTAI errors when compiling code in Ubuntu

I am learning RTAI, can grasp the basics of Linux. I am trying to run a simple script in RTAI with two periodic (different periods) tasks manipulating one global variable. After compiling, I am ...
-1
votes
1answer
65 views

Trying to compile X Window System and getting errors that I don't know

I have double-checked that I have every dependency to build X and that they are all at the latest version. I'm not even sure where to begin with these errors, so I was hoping someone here could help ...
0
votes
0answers
30 views

Error on building gcc cross compiler toolchain

I'm following this guide to build a linux system for learning experience On the the guide at the section titled GCC (Static), I'm having an error, on running the command ` $ ln -vs libgcc.a `${...
0
votes
0answers
54 views

Compiling C on Manjaro

First of all, I'm pretty new to the whole Linux world so sorry if this question may seem stupid. I'm currently studying informatics and telecommunications, I tried Linux for the first time about 2 ...
0
votes
0answers
122 views

unmet dependencies error when I try to compile and install ffmpeg with apt-buid

I'm trying to use apt-build install ffmpeg to install a compiled from source version of ffmpeg rather than apt in order to have binaries optimized with machine specific instructions, rather than just ...
0
votes
0answers
161 views

cannot open '/home/user/original/AndroidManifest.xml' for reading: No such file or directory

I've been trying to use evil-droid to backdoor an apk. But it showed me this error. ] Adding permission and Hook Smali [ ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ] head: cannot ...
0
votes
1answer
31 views

How can I know whether a bunch of header file are part of a “standard” C++ toolchain on Debian

I have a build that fails, it complains about the lack of the following header files: /usr/include/Availability.h /usr/include/AvailabilityInternal.h /usr/include/_types.h I know for sure that my ...
0
votes
1answer
153 views

Failed compiling Busybox: very long and confusing error

I've been writing a script that can compile a Linux Distro, which you can find here. Essentially, it creates /mnt/semcos, and throws up a linux-based system there. At the moment, I'm stuck at ...

1
2 3 4 5
29