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
10 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 ...
0
votes
0answers
19 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 ...
-2
votes
0answers
12 views

Drivers for my Panda Wireless PAU09 on a Kali Linux Virtual Machine in VirtualBox

The instructions are to install drivers for an external wireless adapter on a fedora machine; I've changed them around a bit when i tried installing them to fit a debian distro, such as kali linux, ...
-1
votes
0answers
9 views

Need to recompile module ideapad_laptop, how? [on hold]

I found that ideapad_laptop doesn't have my laptop, causing wifi to not work. I need to edit and recompile the file. The file is here. Now I want to recompile that file and the other files it needs so ...
1
vote
1answer
31 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
20 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 ...
0
votes
0answers
21 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
38 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
30 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
48 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
18 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
19 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
50 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
40 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
21 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 ...
0
votes
1answer
231 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
211 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
26 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
906 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
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
70 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
25 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
21 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
1k 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
57 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
63 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
114 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
93 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
74 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 ...
0
votes
1answer
87 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 ...
2
votes
1answer
47 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
116 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
17 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
85 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
57 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
208 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 ...
0
votes
0answers
34 views

GPU/CUDA Compile Error

I am trying to compile some CUDA/GPU code on Ubuntu 16.04 with CUDA 8.0, but I am receiving the following error. I'm not sure how to debug this. nvcc -I/usr/local/cuda/include -gencode arch=...
1
vote
1answer
31 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+...
0
votes
0answers
93 views

How to build openWRT with specific version?

I want to build openWRT 18.06.1 for my mt76x8 device, and the source code I'm using is from https://github.com/openwrt/openwrt/archive/v18.06.1.tar.gz. When I tried to install kmod-mii package, I got ...
2
votes
2answers
114 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
47 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 ...
0
votes
1answer
50 views

Can I build from source using just the PKGBUILD file, or do I have to checkout the whole source tree?

I want to build Vim from source in Arch Linux to get various non-standard features in the resulting binary. I notice that the PKGBUILD file has URLs in it. Does this mean I can do the build with just ...
0
votes
1answer
707 views

Compiled kernel 4.19 will not boot: “Kernel panic not syncing : System is deadlocked on memory”

I am compiling kernel 4.19 on Ubuntu 14.04 because I have a assignment to add a system call, but when I try to boot this kernel there's a error: Kernel panic - not syncing: System is deadlocked on ...
0
votes
1answer
103 views

How to install libpq.so.4.x on Debian 9

I try to compil from source PHP5.3.29 on Debian 9. The make command stopped in error at this step LDFLAGS="-Wl,-rpath=/opt/OpenSSL/openssl-1.0.1u/lib,-rpath=/opt/CURL/curl-7.26.0/lib" make .../... (...
1
vote
1answer
35 views

Are CentOS 7 binaries the same of Ubuntu or any other GNU distribution?

I need to compile and run binaries on CentOS 7 but I'm having hard time running my wrapper app due to Python versions and other issues. If I compile and test binaries on Ubuntu (or any other ...
5
votes
0answers
45 views

Possible to “build world” in FreeBSD without root? [duplicate]

The FreeBSD jail manpage has instructions on building a jail distribution tree: D=/here/is/the/jail cd /usr/src mkdir -p $D make world DESTDIR=$D make distribution DESTDIR=$D Is it possible to ...