Stack Exchange Network

Stack Exchange network consists of 174 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.

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
32 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
48 views

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

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
66 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
21 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....
8
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
28 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
10 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
29 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 ...
0
votes
0answers
7 views

What is the difference between crypt in unistd.h and crypt.h? [migrated]

crypt has two definitions, from the docs, One of them uses unistd.h #define _XOPEN_SOURCE /* See feature_test_macros(7) */ #include <unistd.h> This is defined as #ifdef __USE_MISC /* ...
2
votes
1answer
37 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 ...
-1
votes
0answers
40 views

John The Ripper Compilation Error

I want to install John The Ripper. I am following instructions in this blog. After ./configure I run make -s But I got this error : /usr/bin/ar: creating aes.a dynamic_fmt.o: In function `...
0
votes
1answer
22 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
43 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
36 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 ...
0
votes
0answers
66 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
1answer
23 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
27 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
26 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
51 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
28 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
2answers
31 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
202 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
40 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
32 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
42 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 ...
1
vote
2answers
59 views

Is it possible to add compile options to an already-installed program?

If I have installed a program from source (.tar.gz) using ./configure, make, make install – and then later on, want to add a build option (not sure the proper terminology – compile option?), is this ...
0
votes
1answer
49 views

How to compile a “.pc” file on Debian 9?

I need to compile a Pro*C - .pc file on Ubuntu. So far what I have realised is that I need a Pro*C compiler to translate the Pro*C - .pc file into pure / standard C code.  But I need to have Oracle ...
1
vote
0answers
179 views

Kernel compiling - Error during sync of the configuration

I am trying to compile the 4.19 kernel on my Linux Mint machine. I copied my current config (which is from 4.15), opened make menuconfig in order to append a local version string, saved it and then ...
0
votes
1answer
32 views

Gentoo “profile” definitions?

I'm using the Pentoo installer and it's asking me to select a profile. I believe the "amd64" profile will compile software from source. The "binary" profile will instead use precompiled binaries ...
0
votes
1answer
22 views

Configure mount to recognize self compiled fuse exfat

after removing the default exfat-fuse package version 1.2.5 from my Debian Stretch system and replacing it with version 1.3.0, compiled from source, running mount using type exfat results to an ...
0
votes
1answer
130 views

Could not find libmount

During compilation of customized distribution (using buildroot v. 11.2018) I have problem with libmount library (the problem appeared after I had included efl package in buildroot menuconfig - Target ...
1
vote
1answer
83 views

create a vdso in linux [closed]

I'm currently trying to implement my own VDSO. I have seen this tutorial which explains how to do this. However, this tutorial is made for Linux 2.6.x and I would like to use it on Linux 4.8.x. But ...
1
vote
0answers
135 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 ...
0
votes
1answer
62 views

Android kernel compiling error

When compiling the kernel, if I choose Ethernet Gadget (with CDC Ethernet support) or Network Control Model (NCM) instead of the Android composite device, I get an error: drivers/built-in.o:coresight-...
1
vote
1answer
72 views

Why the same executable in different location loaded different libc.so

I compiled a simple C(only contained an empty main function) file into a.out, and run it in different loaction: user@host:~$ md5sum /home/work/a.out /tmp/a.out dcbdb836569b99a7dc83366ba9bb3588 /home/...
0
votes
2answers
129 views

Why won't make let me build my kernel from source?

$ make menuconfig Makefile:128: *** main directory cannot contain spaces nor colons. Stop. I get this error message. Why?
-1
votes
1answer
25 views

Some Installing Errors while building owncloud client

I want to develop my OwnCloud client so I cloned a client of OwnCloud repository from GitHub and I read this documentation. Firstly, I want to say my system property. I am using Ubuntu 18.04 LTS (64 ...
2
votes
2answers
267 views

How do I install Redshift 1.12 on Linux Mint 19 Cinnamon from source?

Redshift packages which are available in most distributions are dated 2016-01-02, which is > 2.5 years ago. Like on my system - Linux Mint 19 Cinnamon 64-bit - there is only 1.11 version available: ...
3
votes
1answer
44 views

List all 32 Bit packages on a Gentoo System

How can I get a list of all installed 32 Bit packages on a Gentoo Linux system?
0
votes
1answer
30 views

Rebuild from src.rpm using new version

This is a follow up to my previous question regarding Building QuantLib on Amazon Linux. I followed the instructions in the answer posted by MLu: Download the source RPM (QuantLib-1.4-7.el7.src.rpm) ...
1
vote
1answer
62 views

Mint 19 - Pidgin IM Purple plugin - Error while configuring: No package 'json-glib-1.0' found

System: Linux Mint 19 Cinnamon 64-bit, based on Ubuntu 18.04. Pidgin: Built from source, version 2.13.0. Purple Facebook: I'd like to build it from source, version 0.9.5. But I get missing package ...
1
vote
1answer
57 views

Building QuantLib on Amazon Linux

I am trying to get QuantLib version 1.13 running on Amazon Linux. I found some .rpm files at https://pkgs.org/download/QuantLib, although there is an up to date .rpm for Fedora, there isn't one for ...
0
votes
2answers
67 views

Actual compilation differences between CPUs

For a project I intend to compile various *NIX OSs and their relative packages with different CPUs in order to maximize optimization and performance for specific systems. In order to save time and ...
2
votes
3answers
317 views

Getting 'rxvt-unicode': unknown capability while compiling urxvt 9.22

I am working on Debian. I ran this command: ./configure && make && sudo make install and I got this error: ./etc/rxvt-unicode.terminfo", line 57, col 20, terminal 'rxvt-unicode': ...
1
vote
2answers
57 views

rtlwifi compilation on Debian 7

I use Debian 7 Wheezy, and I have an error when I try to type make command. I am trying to compile rtlwifi driver. This is the error message: make[1]: *** /lib/modules/3.2.0-4-686-pae/build: No ...
0
votes
3answers
93 views

How to compile LESS pager?

I would like to compile less with latest fixes. I do this: git clone https://github.com/gwsw/less cd less/ autoheader autoconf ./configure make But make says this: make: *** No rule to make target ...
0
votes
1answer
270 views

Recompile a kernel including a firmware

How can i recompile the kernel? I' m trying this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel. I' m using lubuntu 18.04 on a tablet, i want a custom kernel to enable the touchcreen. ...
0
votes
1answer
153 views

How to compile VLC 3.0.3 tarball on Arch Linux?

I'm trying to report a VLC crash, but compilation fails: $ ./configure CFLAGS="-g" CXXFLAGS="-g" --enable-debug && make […] CC codec/libx264_plugin_la-x264.lo In file included from ../...