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
1
vote
1answer
5k 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
58 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 ...
1
vote
0answers
572 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
461 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
645 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 ...
1
vote
1answer
76 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
68 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 ...
3
votes
1answer
195 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 ...
4
votes
1answer
2k 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
75 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
1answer
136 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
3k 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
2answers
2k 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
213 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
1answer
309 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 ...
2
votes
2answers
3k views

What libraries are needed to install Python 3.7 on Ubuntu 18.04

When trying to install python 3.7 on Ubuntu 18.04 I get error messages like: zipimport.ZipImportError: can't decompress data; zlib not available or ModuleNotFoundError: No module named '...
0
votes
1answer
1k 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
634 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
378 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
1answer
308 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 ...
-2
votes
1answer
59 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
1k 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 ...
1
vote
0answers
93 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
77 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
134 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
589 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
196 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 ...
2
votes
1answer
8k 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
5k 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 ...
8
votes
6answers
2k 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 ...
28
votes
3answers
3k 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
209 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 ...
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
868 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
187 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
852 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
1k 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
2k 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 ...
1
vote
0answers
1k 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/...
2
votes
1answer
27 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 ...
0
votes
1answer
696 views

Alpine Linux - can't build libtorrent, missing linux/netlink.h

I'm trying to compile libtorrent on Alpine Linux. autogen and configure work fine but after invoking make it fails with the following message: local_addr.cc:45:10: fatal error: linux/netlink.h: No ...
1
vote
1answer
649 views

Build OpenSSH client only

I'm trying to build OpenSSH 7.9p1 from source, but I can't find a way to delete (or not include), for instance, ssh-agent, ssh-keygen, scp, sftp, sshd, etc. – of course, assuming none of those are ...
0
votes
1answer
3k views

LD cannot find lib even with specified path

What I've tried: gcc -L/path/to/lib/ -llib ... gcc -l/path/to/lib/lib.so.x.x.x ... Update ldconfig Added path to LD_LIBRARY_PATH file shows correct build version and link to the correct file No ...
1
vote
0answers
24 views

Can I limit a process's access to specified files and stdout only without root?

I want to setup a server for students to upload C code. The server compiles C code, run the binary and shows output to students. Now I am having security concern. Students can upload any code, but I ...
-1
votes
1answer
1k views

How to build openconnect-gui? [closed]

In OS Windows I used openconnect-gui. After I changed the OS on Debian, I didn't find a version for Debian and I don't understand how to build openconnect-gui for Debian.
1
vote
0answers
323 views

Configure cannot find intltool installed in custom path

I'm trying to build transmission-2.94 on a remote server where I have no privileged access. I, therefore, wanna install all custom software under ~/.local. I have successfully installed gettext and ...
1
vote
0answers
323 views

I tried to use wireguard docker image,but I failed

I deleted all the datas in VPS,and reinstall a new Centos 7 and I downloaded the lastest stable kernel source code 4.20 and extracted it to the source directory which is /usr/src,then I builded it.the ...
1
vote
1answer
159 views

How to get php-cgi with phpbrew (PHP5.3.x)

I installed php-5.6.40 php-7.1.14 with phpbrew and I've got php-cgi binaries on these both version. I used this command for get php-cgi 5.6.40 phpbrew install 5.6.40 +default+fpm+mysql+sqlite+mb+...
2
votes
2answers
806 views

How to install Musescore 3 on Debian?

I'm using Debian testing and I'm having problem with installing Musescore 3. I'm trying to compile it, and I have tried following these guides: General linux and BSD instructions Ubuntu 14.10 and 16....
-2
votes
1answer
338 views

Where can I find precompiled bootloader files (initramfs-linux.img)?

I need the boot files (initramfs-linux.img and vmlinuz-linux) from Arch 4.20-1 to fix a system. Is there a standard place where these can be found, or can they only be custom built? When I look in ...

1
3 4
5
6 7
29