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
1k views

module: x86/modules: Skipping invalid relocation target

I tried to compile a module on Debian 10 (v4l2loopback) like this: sudo apt-get install linux-headers-$(uname -r) git clone https://github.com/umlaeute/v4l2loopback.git cd v4l2loopback/ make -j4 sudo ...
-3
votes
0answers
11 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
14 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
82 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/...
31
votes
4answers
30k views

Attempting to compile kernel yields a certification error

I'm currently attempting to follow Hardening Debian for the Desktop Using Grsecurity guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of ...
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 ...
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 ...
3
votes
1answer
5k views

How to compile a third party driver into the kernel?

I am using Linux Mint 17.2 on Toshiba c640. As my LAN driver is no more functional, I am using a USB to LAN converter which was provided with some driver installation files. Every time i want to use ...
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 ...
1
vote
1answer
2k views

libzip Linux cross-compile configuration

I am trying to cross compile libzip-1.5.1 having previously successfully complied zlib-1.2.11 (these are required by libzip and I have installed in a local home path), but I am experiencing problems ...
2
votes
1answer
555 views

Compile OS with gcc and ld on Linux

I'm practicing operating system development and am having trouble getting gcc and ld to produce pure binary without any metadata or section labels. For example: int function(){ return 100;} would ...
3
votes
1answer
7k views

Error building Oracle client 11g R2 on RHEL 5.5

We are trying to install oracle 11g R2 64 bit in Rhel 5.5 machine ( 64 bit ). Kernel version is 2.6.18-194.el5. We are getting the below error while installation. error in invoking target 'mkldflags ...
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
1answer
1k views

How to build my code to run on a linux system without vdso support

I have a small C++ program which I am compiling on a ubuntu machine. The program runs fine on the same machine, but when I copy and try to run on a different linux system it printed ./prog1 : No ...
0
votes
1answer
1k views

(Buildroot) “silentoldconfig” error on compile

I just moved an old buildroot folder from an old VM to a newer one to consolidate. I thought that simply moving the folder, along with any dependent folders, and making the appropriate path/name ...
2
votes
1answer
1k views

Which libraries are needed tom compile vim with gui (gvim) on OpenSUSE?

I have been trying to compile vim with a GUI interface (gvim) on OpenSUSE 13.1 for a while now. I thought all the required libraries were installed, but apparently not. These are the relevant lines ...
1
vote
1answer
206 views

Freebsd 11.1 issues with gnu m4 eval test fail

I am pretty new Freebsd user. As I am trying to install gnu m4-1.4.18, I get eval fail on eval test section: Checking ./189.eval @ ../doc/m4.texi:6405: Origin of test ./189.eval: stdout mismatch --- ...
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
2answers
2k views

Yocto project installation error

I installed the Yocto project in Ubuntu 12.04 desktop. I followed steps what they given in the yocto website Supported Linux Distributions. $ sudo apt-get install gawk wget git-core diffstat unzip ...
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=...
37
votes
2answers
156k views

Can not run configure command: “No such file or directory”

I'm trying to install a Debian package from source (via git). I downloaded the package, changed to the package’s directory and ran ./configure command but it returned bash: ./configure: No such file ...
1
vote
0answers
2k views

How to compile and install iperf on a MIPS based router?

I have a DIR-825 router based on Atheros AR7161 (MIPS) running DD-WRT v24-sp2 std. How can I compile and install iperf on it? Can I compile it directly on the target device, or do I have to cross ...
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
24 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
6k views

build is missing for compiling kernel module

this is my first time trying to create a kernel module, apparently after creating a module I need to follow these steps to compile it: echo "obj-m := Hello.c" > Makefile make -C /lib/modules/`...
21
votes
11answers
36k views

Compiling code from vim

New to vim and and I want to be able to compile code from within vim without running a new terminal and calling the compiler. How do I go about doing this? Note that this requirement is not ...
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 ...
5
votes
1answer
16k views

E: Unable to locate package mingw32, Linux Mint

I would like to compile some C programs for Windows. So I used a search engine and I found that I probably need to install mingw32. If I run: sudo apt-get install mingw32 and I got: E: Unable to ...
0
votes
1answer
149 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
0answers
48 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 ...
1
vote
2answers
2k views

How to install 'build-essential:i386' on Debian 7.9 x64?

I'm on Debian 7.9 (wheezy) x64, and I would like to install build-essential:i386. I already added i386 in dpkg --architecture, updated aptitude and installed java-jdk-1.6:i386 successfully. BTW, no ...
10
votes
4answers
86k views

make complains “missing separator (did you mean TAB?)”

While trying to install the som_pak-3.1-NAcMoS.tar.gz file, I've used the below commands: $ tar xvf som_pak-3.1-NAcMoS.tar.gz $ cd som_pak-3.1 $ cp makefile.unix makefile $ make $ cd .. $ ln -s ...
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
198 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 ...
1
vote
1answer
3k views

Upgrading Berkeley DB rpm in a Centos OS

I have a software which needs Berkeley DB 4.5 or above. But in my CentOS 5.11 x86_64 Server I have: Package db4-4.3.29-10.el5_5.2.x86_64 already installed and latest version Package db4-4.3.29-10....
0
votes
1answer
43 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 ...
2
votes
1answer
1k views

glib errors on cygwin

I want to compile and install geany text editor in Windows 7 by using cygwin. I follow the usual way to compile and install C source: ./configure make make install the configure script was ...
0
votes
1answer
513 views

-lcrypt error cross compiling 64 to 32

I am trying to compile dirtycow exploit file which can be found in here. gcc -pthread dirty.c -o dirty -m32 -lcrypt Because my target is 32 bit I compile it with -m32 and -lycrypt to make sure it ...
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?
3
votes
1answer
3k views

Apache + mod_ssl build not linking to my OpenSSL build

I have spent some time searching online but none of what I found seems to help. I'm running CentOS 6 64bit and would like to compile Apache with mod_ssl and need to link it to my own OpenSSL build (...
1
vote
1answer
2k views

Trouble installing libc-dev

I am getting this error when I try to compile a C program on Ubuntu: $ gcc aa.c aa.c:1:9: fatal error: stdio.h: No such file or directory #include<stdio.h> ^-------- compilation ...
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
3answers
2k views

Cannot change ownership to uid 1001, gid 1001: Invalid argument

I'm installing ONOS and following this guide: https://wiki.onosproject.org/display/ONOS/Developer+Quick+Start I executed the command sudo bazel build onos This will compile and assemble the ...

1
2 3 4 5
29