Episode #125 of the Stack Overflow podcast is here. We talk Tilde Club and mechanical keyboards. Listen now

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
18 views

Clang++ Compiles, but doesn't run

I try to compile a program by typing (lets assume here I'm cd'd into the directory) clang++ file_name.cpp. It compiles and should autorun, but it doesn't, and just ends the event, and opens the ...
0
votes
1answer
15 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
vote
0answers
20 views

Is Desktop Manager compiled with kernel in iso distribution files

I'm trying to see the process of redistributing a linux distribution. I was wondering if all the components are compiled with the kernel or kernel is seperated from components like is Desktop Manager ...
0
votes
1answer
24 views

Updating Software on Debian to non packaged version

The most current xf86-input-wacom version on Debian is 2 years old (0.34.99.1-1) it seems like and there is a bug where the touchscreen would not work spontaneously anymore which is fixed in version 0....
-3
votes
1answer
37 views

Cannot install git on rhel 7?

[root@server14 git-2.1.2]# make install CC credential-store.o In file included from cache.h:4:0, from credential-store.c:1: git-compat-util.h:213:25: fatal error: openssl/ssl.h: ...
0
votes
1answer
27 views

How to add a shared library in configure?

I am having a very hard time to install kmscon in a centos server. Everything was fixed , until i reached the libtsm library, which ksmcon requires. Then when I started dealing with it, it seams it ...
-1
votes
1answer
44 views

Why am I not able to compile this package?

I'm trying to create this package as per the instructions on the GitHub page https://github.com/cocodelabs/znc-palaver This is the error I get: [root@vps737775 znc-palaver]# make Building palaver.so ...
1
vote
2answers
120 views

How do I compile the Linux kernel with Clang? [closed]

Just out of curiosity, I am interested in compiling the Linux kernel with both the clang and zapcc compilers; one at a time. I can't find a guide to follow. Only GCC is getting used to compile the ...
1
vote
1answer
24 views

Building packages: command which yields 'amd64' (like uname)

Suppose I have a makefile that builds my package, and I only want the package to build if the package file is not present: package: foo_0.0.0_amd64.deb cd foo-0.0.0 && debuild -uc -us So ...
0
votes
1answer
19 views

rpmbuild, then install the rpm, then upgrade from repositories

I am a very novice administrator. Building my own production environment is my target. Which will be similar to professional ones. I wonder if it is better to install critical applications from the ...
-1
votes
1answer
19 views

RAM bandwidth activity

I compile sources in /tmp mounted into RAM. I'd like to know fast it is! That's show/monitor I/O activity (MB/s) for this device. If I want to monitor HD bandwidth I would have used tools like iotop ...
0
votes
1answer
27 views

Make Error installing radare2 on alpine linux

I'm running an alpine linux box, and am trying to install radare2. I downloaded the git repo, then ran the install.sh script. It seems to run fine until running into an error: In file included from ...
0
votes
0answers
56 views

Make error when building driver on fedora

I am trying to install a open source driver for my WiFi NIC that only has official support for Windows(this is the only linux driver I can find, and has very little support). It is found here. It ...
0
votes
0answers
23 views

How to build a custom portable chromium based browser?

I was able to compile chromium from source following the instruction manual from official chromium devs. However, the compiled output is around 34GB all I wanted was stable portable chromium. How can ...
0
votes
0answers
34 views

How to build from parent directory in current directory with make(“make” command)?

I have the source code of a package what I want to build, I need build from the parent dir, and output the builded contents in the current dir, for example with the directory structure: parent_dir --...
0
votes
0answers
21 views

Compile a python package to another target

Is it possible to "compile" a python package (with pip or installing by source with python setup.py install or something) and then transfer the resulting binary to another machine (in this case, an ...
0
votes
1answer
35 views

Cannot execute ld : error 126

I have f30 installed 3 weeks and I keep seeing this error when I try to compile C++ of maybe fortran code. It is an error connected to ld : error: ld returned 126 exit status I've tried to look into ...
0
votes
1answer
24 views

Error on Installing MySmartUSB Light in linux LMDE 3 Cindy (Makefile: No such file or directory)

I need to install MySmartUSB Light in linux LMDE 3 Cindy as programer for avr in linux,so i downloaded this driver (Linux_3.x.x_4.x.x_VCP_Driver_Source) from this link: based of it's note shown below:...
2
votes
0answers
56 views

Error compiling bc: cannot find libreadline.so.8

I am following the Linux from Scratch book, Version 8.4 and am stuck on compiling bc (Chapter 6.15). I have copied and pasted the commands on that page up to the make command, but when I run make, I ...
0
votes
0answers
40 views

Compile clang-tidy under Alpine Linux

I'm trying to make a Docker image for a CI pipeline, that needs to contain clang-tidy among other tools. The problem is that I can't find any package containing clang-tidy on the Alpine repos, which ...
0
votes
0answers
11 views

Plotinus - a searchable command palette

I've recently installed plotinus on my system by following the instructions at GitHub. Everythings seems to have gone just fine, and even the installation log is clean as a whistle. However, nothing ...
0
votes
1answer
25 views

Check the actual glibc version used

I want check the glibc version used by toolchain to build code for the target system (ARM). In toolchain directory I tried strings /sysroot/lib/libc.so.6 | grep GLIBC the output is GLIBC_2.4 ...
1
vote
1answer
41 views

Build a standalone bash

I would like to build standalone bash binaries, which would hopefully work on a good portion of the linux distributions out there. Complete coverage is definitely not a goal. How would I approach this?...
0
votes
0answers
82 views

gcc: readline/libreadline.a: No such file or directory gcc: readline/libhistory.a: No such file or directory

I am trying to install python readline 6.2.4.1 package on SLES 11 SP3 but I am getting the following error: gcc -pthread -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -...
0
votes
0answers
22 views

File extensions for intermediate files needed for static / shared libraries

I have a library which until now was just a static library. The file naming scheme that I used was the following: foo.c -> foo.s -> foo.o bar.c -> bar.s -> bar.o }-> libfoobar.a Now ...
0
votes
1answer
127 views

GCC cross-compiler can't find header file

A host PC with a pre-built cross toolchain for ARM target. I try to build a project from source, the build process stopped due to an error, when code tried to build pppd-2.4.1 module, here is ...
1
vote
2answers
49 views

Use Different OpenSSL for Apache

I'm compiling Apache from source, and staticly linking mod_ssl. I'm looking to use a different version of OpenSSL to the system-installed version. I would like to do this in a way that doesn't affect ...
1
vote
3answers
48 views

How to compile fIcy for BSD?

I'm trying to compile fIcy (https://gitlab.com/wavexx/fIcy) for NetBSD/FreeBSD. When I'm executing the make command nothing happens. Even no error message. The same source package compiles without ...
1
vote
1answer
59 views

I have some problem with kernel building in ubuntu

I have a problem while building kernel in ubuntu. First, I installed linux-source package and unzipped source code. I copied config from /boot/config-[Version]-generic to [source code dir]/.config ...
2
votes
3answers
37 views

how do i figure out the architecture of certain hardware?

I have a tomtom one XL GPS. It is clearly a linux device: plugging it in shows a stripped down filesystem, and strings gltt | less (a program in the bin) shows: /lib/ld-linux.so.2 __gmon_start__ ...
0
votes
0answers
20 views

unable to build gem5 due to no compiler option recognize

I'm trying to build gem5 simulator on Ubuntu 14.04 on a remote system (I use ssh to connect to this system). However, when I run the command sudo scons build/gem5/ARM/gem5.opt -j2 to build gem5, I ...
0
votes
1answer
172 views

Compile linux kernel error

As a novice in linux kernel compilation, it's my first time to compile a Linux kernel for myself (I'm trying to use other TCP congestion control algorithms). I followed the steps in How to Compile a ...
0
votes
0answers
39 views

Updating Linux Kernel

I am trying to update my linux kernel. I downloaded the latest one: 5.2.1 https://www.kernel.org/ When I run the command: make localmodconfig I get the following error: using config: '.config' ...
0
votes
0answers
25 views

changing one compilation of make

Is it possible to change some specific compilation made when executing Make, say by appending some new option for the compiller used for one target? One thing I want to do is to modify options because ...
1
vote
0answers
20 views

Compiling an old version of inetutils in a VM

I have to compile inetutils 1.4. The current iteration of gcc gives errors and I don't want to try installing an older gcc, so I think my best bet is to start a VM and compile it there. I don't care ...
1
vote
1answer
77 views

How to build a specific kernel module?

I installed a kernel source from the official Linux kernel repository (http://www.kernel.org/pub/linux/kernel/v4.x/linux-4.15.tar.bz2) and I recompiled it with some needed options to support the ...
0
votes
1answer
39 views

Add Key to (IMA) Keyring at boot or at kernel compile time

I know that one can add keys with keyctl to a keyring. Since the key I want to add is a key for the IMA/EVM subsystem, it has to be loaded at the earliest possible moment in the boot process or ...
1
vote
0answers
41 views

How to compile a Linux kernel with certificate / public key builtin?

I'd like to compile Linux Kernel 4.1.3 with a Public Key or self signed certificate built into the kernel. Is there a kernel option where I can specify the certificate/public key I want to add to ...
0
votes
1answer
21 views

How to free up space after kernel compile fail - where are the extraneous stuff

I need custom patch my linux kernel so it can access the MacBook Pro (2018/2019) SSD for Ubuntu installation. Luckily, someone made a patch that seems to work. I have a second computer with a 1TB ...
1
vote
1answer
69 views

Errors when trying to build openssl-1.0.2l

Debian 32-bit host PC, with a pre-built toolchain for ARM target in /opt dir. I tried to cross-compile project from the source code, got a lot of errors when system tried to build openssl package: &...
-1
votes
2answers
38 views

How do I find the dependency requirements for a source package?

If I'm compiling a package from source how do I find the required dependency? I notice when compiling Python 3 on Centos7 the only way I could find the required libraries and such was to run the ...
1
vote
1answer
53 views

Make error: DSO missing from command line

I am attempting to install rejoystick, and when I run make, I get this: Making all in src make[1]: Entering directory '/home/chrx/Downloads/joystick/rejoystick-0.8.1/src' make[2]: Entering directory '...
0
votes
0answers
20 views

gcc pass 1 looking for libc libraries

I'm attempting to build LFS. I'm currently on step 5.5.1 checking for C compiler default output file name... configure: error: in `/home/ubuntu/linux-toolchain/src/gcc-8.2.0/build/intl': configure: ...
0
votes
0answers
45 views

What cause path error occurs during code compiling

Debian 32-bit host PC, with a pre-built toolchain in /opt dir, the target is ARM. I'm trying to build project (f/w image) from source code,there is error during code compilation. The project have ...
0
votes
0answers
21 views

CentOS 7: Why am I still getting this “built with.. but.. running with” error?

Presently I am getting the error: Application built with libpng-1.6.16 but running with 1.5.13 Upon getting this error I tried reinstalling* libpng1.6.16 from source per this guide, which seems to ...
0
votes
0answers
22 views

Issue trying to compile libXres

I recently tried to build libXres from the source and I am encountering issues when trying to build from two different manners. In the first I run the configure script with: ./configure --prefix=/...
1
vote
0answers
97 views

Linux kernel cross-compile failure at arch/arm64/crypto

I encountered an error while trying to cross-compile Linux kernel v.5.0.0 on Ubuntu 18.04. I tested two different versions of aarch64-linux-gnu-gcc: v7.4.0 and v5.5.0, but both results in the same ...
2
votes
1answer
143 views

Linux From Scratch: Error while compiling binutils 2.32

I am working on Linux from Scratch and currently, I am on this page. While compiling binutils-2.32, I am getting this error: lfs@pop-os:/mnt/lfs/sources/binutils-2.32/build$ ../configure --prefix=/...
0
votes
1answer
65 views

UnixODBC-dev installed in /usr/local/, resulting in gcc reporting sql.h can't be found

My current use case is installing PyODBC via poetry in a Jenkins job build, which is failing because sql.h can't be found. For background, I have two servers, one RHEL 6, one RHEL 7; the RHEL 6 ...
0
votes
1answer
58 views

Why some projects are a 'repacked-rebranded' FreeBSD and call themselves a 'different' OS? [closed]

Ok, maybe this is not the right thread, if so, please point me to the right one. ​Some background: I've seen other Open Source projects derived from FreeBSD (FreeNAS, PFSense, etc) that called ...