Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [compiling]

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

0
votes
0answers
13 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
12 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
23 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
67 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
23 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
53 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 ...
0
votes
0answers
17 views

Compiling module crc32_intel_glue fails

I have two CentOS hosts and want to install the kernel module crc32_intel_glue.  I don't find it in the official repo, so I tried to build it from source, and failed. I downloaded crc32c-intel_glue.c ...
2
votes
1answer
43 views

How to upgrade kernel on Pinebook now ARM support is mainlined?

I have a Pinebook with a Quad-Core ARM Cortex A53 64-Bit CPU running the official KDE Neon image with the really old official 3.10 kernel. In 4.17 support for the Pinebook was mainlined, so ...
0
votes
0answers
15 views

User mode Linux can't run – It aborts immediatly after execution

When compiling UML – kernel 5.1.2 – with the following configuration CONFIG_64BIT=y CONFIG_X86_64=y CONFIG_BINFMT_ELF=y CONFIG_HOSTFS=y CONFIG_LBD=y CONFIG_BLK_DEV=y CONFIG_BLK_DEV_LOOP=y ...
1
vote
1answer
49 views

Compiling VDO for use on Debian

I cannot find any packages for vdo for Debian, and my own attempts to compile and run the software have failed. Can anyone shed light on how to compile vdo for use with Debian as this is software ...
0
votes
3answers
45 views

How to add a modular bash script to `bin`?

I have a bash script that uses source to make the script more modular. Here's how it would look copied into a user's bin directory: /bin modules/ script-1 script-2 script-...
0
votes
0answers
23 views

Error compling and building pymedia package on Ubuntu

I'm trying to install the package pymedia on my Ubuntu 18.04 PC and I took cues from this post. But I get the following errors: skrowten_hermit@PC230989:~/Downloads/pymedia-1.3.7.3$ python setup.py ...
0
votes
0answers
14 views

Unable to build Intel driver on Puppy Linux - Cannot find a kernel config file

I tried to build Intel 82845G Graphics Controller driver from source, to install on Puppy Linux 5.2.8. The install.sh build script had complained about missing compiler, but I quickly solved it by ...
0
votes
1answer
23 views

Necessary package for compiling libX11

I am currently trying to compile libX11 version 1.0.0 and during the configure process this error message shows up: checking for BIGREQS... configure: error: Package requirements (bigreqsproto) ...
0
votes
1answer
138 views

Error executing 'msfconsole and bundle install' on termux - Android

I am getting the below error when executing the 'bundle install' command. So I run 'msfconsole' and get this: $ msfconsole waiting for server to shut down.......
0
votes
1answer
78 views

configure: error: mcrypt.h not found. Please reinstall libmcrypt

I'm trying to compile php on Suse 10.2. When I run the configure script with --with-mcrypt I receive this message: configure: error: mcrypt.h not found. Please reinstall libmcrypt
0
votes
1answer
47 views

Buildroot: compile fbi against kernel headers

I'm adding a generic-package to Buildroot 2019.02.1. This package (fbi) includes <asm/page.h> in the fbtools.c, but the headers are not available in output/target. Compiling the package causes ...
0
votes
0answers
21 views

zlib error when compiling

I am trying to install pythia package coming with POWHEG-BOX on Fedora 27. When running make main-PYTHIA-lhef it writes: pwhg_io_interface.f:214: undefined reference to `gzputc' and so on. It ...
0
votes
1answer
35 views

Creating intermediate object files to another directory with Makefile

Due to an error made when partitioning the system disk of my OpenBSD box, I'm running out of space on /usr now. openbsd$ df Filesystem 512-blocks Used Avail Capacity Mounted on /dev/sd0a ...
0
votes
1answer
74 views

CentOS 7: When building Mapnik, the configure step does not find optional dependencies like libpng-devel, libjpeg-devel, etc

I am trying to build/install Mapnik (3.0.10) on a CentOS 7 system and I am having trouble getting all the dependencies in place and recognized. I have installed gcc/g++ compiler from the gcc6 series ...
1
vote
0answers
34 views

How do you specify the pkg-config path when compiling something with cmake?

I want to build ffmpeg with support for the av1 codec on CentOS 7. I start by following the instructions here: git clone https://aomedia.googlesource.com/aom mkdir aom_build cd aom_build cmake ../aom ...
1
vote
1answer
37 views

Distributed build systems

Which tools for distributed builds are currently in use in popular Linux distros, like Ubuntu, Debian, RedHat, etc.? For example, we have a huge amount of packages with dependencies and try to ...
0
votes
0answers
31 views

Slic3r requires the boost libraries. Please make sure they are installed

What is the problem? When trying to install Slic3r using the guide found here: https://plugins.octoprint.org/plugins/slic3r/ I get this error: Slic3r requires the boost libraries. Please make sure ...
1
vote
0answers
33 views

Compiling a program from a source in GuixSD

I installed GuixSD and was looking for a way to install mega.nz syncing program. Perheaps the only way is to do it from a source. I found some info of it on Github: https://github.com/meganz/...
0
votes
1answer
76 views

Check which library compiled in linux

I want to compile a C file with gcc, to embedded arm that is running Gnu/Linux . How can I known which function/header files that I need to compile statically, and which dynamically?(I don't want to ...
0
votes
0answers
20 views

compile assembly code with arm-none-androideabi-as

I have an assembly code and need to compile with "arm-none-androideabi-as" the documentation mentioned compiling like this arm-none-androideabi-as -o /dev/null -f=tmb.lst tmb.asm I want a compiler ...
-2
votes
1answer
31 views

Linux Prog has 24 Libs Fails LDD, and strace shows 692 “1 ENOENT” during prog library reads

I am requesting opinions on expected and desired outcome of prog initialization, specifically loading of shared libraries for a program that I do not have source code. All code delivered via RPMs. ...
1
vote
0answers
115 views

ASUS USB-AC68 not connecting in Linux Mint

I recently bought a ASUS USB-AC68 which uses the Realtek RTL8814AU chipset, to replace the outdated WiFi card of my (new) PC, but there are no downloadable Linux drivers from the OEM. At the directive ...
0
votes
0answers
24 views

Qmake Specify QT installation path

I try to compile the minitube on ubuntu 16.04LTS using the non-repository installed version of Qt as seen in: http://sourcedigit.com/19858-how-to-install-qt-5-6-1-on-ubuntu-16-04/ and after making the ...
1
vote
0answers
24 views

How do I build the mainline kernel with all default Ubuntu modules?

My normal way of building a mainline kernel has been: $ sudo apt build-dep linux $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git $ cd linux $ make localmodconfig $ make -...
0
votes
1answer
50 views

Building in different linux-based OS

I'm not experienced in C, qt and cmake. I spent last 10 hours trying to build this project: https://github.com/moonlight-stream/moonlight-qt May main goal is to build it myself and run it on Ubuntu. ...
2
votes
2answers
53 views

installing old 32-bit software on latest UBUNTU

I'm trying to install legacy software (32-bit) on a 64-bit LINUX HPC cluster. This is quite old software from 2005. Software is at https://www.drive5.com/pals/ OS details are PRETTY_NAME="Ubuntu 18....
1
vote
1answer
50 views

-lm doesn't work for my Makefile

I'm trying to create a Makefile to compile my project. However, when I use the 'math.h' library, my make fails. This is the Makefile file : run: tema1 ./tema1 build: tema1.c gcc ...
0
votes
0answers
30 views

Error message trying to compile old Pango

I am currently trying to install and old version of Pango. I tried two versions, 10.5 and 1.1.1 and they say similar things. Pango 1.1.1 says: I tried to run configure in two different versions of ...
1
vote
1answer
620 views

G++/GCC installed but still: error trying to exec 'cc1plus': execvp: No such file or directory

Full error message: arm-linux-gnueabihf-g++: error trying to exec 'cc1plus': execvp: No such file or directory So I have got this error message while trying to build a C++ project on my machine ...
2
votes
1answer
477 views

Installing python modules fail - “limits.h” missing?

I am trying to install a number of python 3 modules (e.g. regex, cytoolsz, spacy) that require compilation, but they all fail with an error identical to the below (bottom). I have tried to check for ...
0
votes
0answers
38 views

How compile intel graphics compiler for 8th and 9th geneneration core UHD 630 for linux

Anybody already successfully compiled the Intel Graphics compiler for 8th or 9th generation of core cpus for use with internal UHD 630 graphic engine? (sources: https://github.com/intel/intel-graphics-...
8
votes
6answers
958 views

What are the advantages of using `make` for small projects? [closed]

I've seen that make is useful for large projects, especially with confusing dependencies described in a Makefile, and also helping with workflow.  I haven't heard any advantages for using make for ...
27
votes
3answers
2k views

Porting Linux to another platform requirements [closed]

I know that Linux is available and has been ported for many different platforms such as for X86, ARM, PowerPC etc. However, in terms of porting, what is required exactly? My understanding is that ...
0
votes
2answers
81 views

Cannot compile git on OpenBSD

I'm trying to install git on a college server, just for my user, but for some reason I can't compile it. I tried the latest version on github, as well as a couple random older versions from both ...
0
votes
0answers
28 views

Can't compile package

trying to install this: https://github.com/libimobiledevice/libimobiledevice I run ./autogen.sh and it starts to install and then I get this error: jeffcojake@mean-machine:~/Downloads/...
1
vote
0answers
25 views

Can I replace bzImage and ko files in installed modules separately?

I'm currently trying to debug a kernel module. After installing the kernel, I'm trying to change the kernel a little and a single module a little and see how things work. When I changed the kernel ...
7
votes
2answers
2k views

gcc - unknown switches (absent also from the manpage)

I'm trying to experiment with shared objects and found the below snippet on http://www.gambas-it.org/wiki/index.php?title=Creare_una_Libreria_condivisa_(Shared_Library)_.so gcc -g -shared -Wl,-soname,...
4
votes
0answers
95 views

Compile a library aiming to reduce size as much as possible

I have to 'squeeze' all the needed code to run ldaps on an embedded system. So the 3 MiB of lybcrypto and almost 700KiB of libssl are way too much. I'm now experimenting on ldapsearch because reading ...
0
votes
1answer
65 views

Replace application from computer with cpu SPARC 64b to computer with cpu Intel 64b [closed]

I have application compiled on server with Solaris 8 and CPU UltraSPARC-III+ x64b and need replace it (due to server end of life) to another new machine with CPU INTEL 64b , its may be same OS or ...
1
vote
1answer
144 views

Why does my Makefile not compile and how can I fix it?

I have been having problems compiling a router's kernel for QEMU. I have the router working in QEMU using an OpenWRT kernel, but networking does not work. This is why I want to compile the original ...
0
votes
1answer
183 views

Compiling vsftpd on CentOS7, getting “/usr/bin/ld: cannot find -lcap” error

I am in the process of compiling vsftpd, but keep getting this error: [alex@lab vsftpd-3.0.3]$ make gcc -o vsftpd main.o utility.o prelogin.o ftpcmdio.o postlogin.o \ privsock.o tunables.o ftpdataio....
9
votes
1answer
1k views

How different is compiling source code in Debian GNU/Hurd from Debian GNU/Linux?

I was trying to compile libnetfilter_conntrack source from github as it was requested by iptables while compiling iptables and as any of these were not available in the HURD software repo and ended up ...
0
votes
0answers
130 views

Curl is not supporting SSL (./configure --with-ssl)

I am trying to install curl in opensuse Leap 15.0. I have downloaded the .zip file from this link (version 7.63.0) I am running this command from the curl root directory: ./configure --with-ssl=/usr/...
1
vote
0answers
14 views

What microarchitecture are packages on apt/yum typically built/tuned for?

I'm just learning a bit about lower-level languages and I've noticed that gcc you can specify -march and -mtune parameters to optimise the software for particular CPU families. But I've also found ...