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

learn more… | top users | synonyms (2)

1
vote
1answer
339 views

Can I compile in one computer and 'make install' in another?

Given two computers A and B with the same specifications, both with the same Linux distribution, is it possible to 'make' compile in computer A and copy the directory to computer B and 'make install' ...
0
votes
0answers
41 views

Is it possible to compile the Linux-Libre kernel without LILO?

I'd like to compile/install the Linux-Libre kernel but I don't want to use LILO as a bootloader since I already have GRUB, is it possible to do?
0
votes
0answers
101 views

configuring kernel source for manual module compilation

I need to compile an xpad module from source, system is debian wheezy, the platform is ci20. I cannot locate linux headers-3.0.8-(...) anywhere (not on the system, not on the web, not in official ...
4
votes
1answer
301 views

Change the root password of a Linux image

I'm building a jessie build of Debian. Passwords are saved in /etc/shadow in the build tree, but they are salted obviously so I cannot change it just by editing the file. If this was my installed ...
2
votes
0answers
68 views

Debian packaging: custom file extensions for lib* package

I'm a newcomer in debian packaging. Currently I'm making attempts to build deb packages from C++ (and Cmake configured) project providing some shared library. The problem is non-standard extension ...
1
vote
2answers
34 views

Running application compiled on another distribution

I wonder whether I can compile application on one Linux distribution and use it on another Linux distribution (same CPU architecture). If not what problems I can run into? Only problems which came to ...
5
votes
1answer
104 views

Find out which kernel source files were used when kernel was compiled

I am compiling the Linux kernel for my specific hardware and I only select the drivers/options which I really need. This is in contrast to a typical distribution kernel, where they compile almost ...
1
vote
1answer
439 views

glib errors on cygwin

I want to compile and install geany text editor in Windows 7 by using cygwin. I follow the usual way to compile and install C source: ./configure make make install the configure script was ...
3
votes
0answers
165 views

How to insert a modified ELF loader given the current ELF loader is present?

I need to modify the ELF loader's kernel implementation of an Ubuntu 14.04 distribution. Having downloaded the sources using: sudo apt-get source linux-image-$(uname -r) I ran the configuration ...
0
votes
1answer
247 views

Trying to make a Universal Makefile

I'm working on my own netfilter module for the first time. According to internet documentation, The simplest module contains the following C code: //'Hello World' kernel module, logs call to ...
2
votes
1answer
102 views

installing tmux on Ubuntu 8.04

Spending the weekend getting an inherited Ubuntu 8.04 in shape. Has to run for 2 more years (company internal, so security not really an issue). Trying to install tmux 1.9a from source (not in the ...
0
votes
2answers
996 views

How to get a grsecurity kernel on Debian Wheezy using the linux-patch-grsecurity2 package?

There is a package linux-patch-grsecurity2. But it seems to be lacking documentation. How to make use of linux-patch-grsecurity2 to get a grsecurity enabled kernel?
4
votes
1answer
168 views

Is there any automatic tool for installing required libraries to compile a program from source?

I want to know if there is any tool that, given the output of configure, cmake, autoconf or whatever library/dependencies matcher you have; installs the required packages/sources for you from your ...
3
votes
1answer
79 views

How to update all Debian packages from source code?

For building packages from source code, there is apt-get source --compile pkg-name. But for it to work, one has to run apt-get build-dep pkg-name beforehand, which downloads binary packages. Is it ...
1
vote
1answer
1k views

Compiling kernel but doesn't build kernel modules

I am trying to compile a linux-sunxi kernel for my Banana pi. Using this link: http://sunxi.org/Linux_Kernel#Compilation Unfortunately I am getting the following message at the bottom when I am ...
0
votes
0answers
871 views

Building cURL 7.40.0 and OpenSSL 1.0.2 from source: Headers and library doesn't match

I would like to ask for assistance, related to cURL and OpenSSL, both of them, built from sources. OS is Debian 7, latest version, minimal and clean install. Only installed packages: apt-get -y ...
1
vote
1answer
507 views

Using autoreconf without root rights on a prefix path results in a corrupted configure-script

I am trying to compile a package (libdrm-2.4.59) and to use sed and autoreconf to remove a dependency: sed -e "/pthread-stubs/d" -i configure.ac && autoreconf -fiv It produces the following ...
1
vote
0answers
37 views

Kernel compilation for minimum program execution

Compiling the Kernel requires me to configure modules. I am unsure how to configure a Kernel which only supports following things: Programs compiled with gcc on other machines (glibc). I want to run ...
0
votes
1answer
632 views

Compiling LibSSH2 with specific LibSSL

I have downloaded and compiled the latest version of libssl, the result of which is located at /usr/local/ssl. I want to compile libssh2 using the files in this folder, and to do that I've set the ...
1
vote
1answer
552 views

Compile static tmux with libutempter support

I'd like to fix issue for tmux when it can't report username via logname: logname: no login name I'm using steps below: # lets assume all other prerequisites are compiled already # and ...
0
votes
1answer
7k views

“fatal error: stdio.h : No such file or directory” while compiling a C file [closed]

Trying to compile following code in terminal i got root@debian:/home/mz2/Documentos# LANG=C ./soma.c ./soma.c: line 2: syntax error near unexpected token `(' ./soma.c: line 2: `int soma (int a, int ...
1
vote
1answer
313 views

Missing kernel headers, but need them to install the Wifi driver

I am trying to install Kali on my Lenovo Yoga13, but after formatting the disk the setup failed to install grub because of no internet access (no Ethernet, need driver to get Wifi to work). So, I ...
5
votes
2answers
450 views

Build the same source package for different Debian based distros

I wand to build multiple .deb packages from same source for different versions and distros. Even if the source code is exactly same, some files in debian folder can not be shared because different ...
0
votes
1answer
224 views

Error openSSL appears to lack for elliptic curve cryptography? What's that mean and how to resolve it?

I followed this step to compile Bitcoin code, but got an error. Could you please explain what the problem is and how can it be resolved? Error: [root@localhost bitcoin-0.10.0rc1]# bitcoind Error: ...
2
votes
1answer
434 views

Apache2 'Server' header reports wrong openSSL version

Does anyone know where the Apache 'Server' header pulls the openSSL version from (file location/directory)? I am expecting openssl-1.0.1j but apache is reporting openssl-1.0.1g (system's openssl ...
2
votes
1answer
249 views

Change the kernel in downloaded Ubuntu Image [closed]

I'm adding multiple new system calls to kernel. I want to test my custom kernel by making an bootable ISO out of it trying to boot on another machine. As a part of making this bootable ISO, I got ...
1
vote
1answer
154 views

Build system for shell scripts

At my workplace, there is a Bash script which is used to list Oracle databases running on a farm. I have made some modifications to it, using some inlined Python code (ex: python -c "import sys..."). ...
0
votes
1answer
61 views

Why is necesary to compile the entire kernel for a simple patch?

So I am patching my kernel to fix my Bluetooth and building using this guide https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel Why do I have to compile the entire kernel which takes about an hour?
0
votes
1answer
48 views

How to tell the compiler to search some libs inside /usr/lib/x86_64-linux-gnu

I try to compile a project, I got the source files from git hub. But when I launch make, the compilation complains that the dependency on wayland-server is not met. However, I have wayland installed....
3
votes
1answer
5k views

Why autoconf.h is not copied automatically to its place?

I'm working on a clean Debian 7.7 install. After the install everything was working fine except the webcam in Iceweasel browser. After reading a lot I found that the best solution is to install ...
0
votes
1answer
148 views

How to use programs with MPI?

Is it possible to use programs with MPI for example blender? Is it a mpi program by only adding the source file "mpi.h" or is there any way to simply convert an existing program for the use with mpi? ...
1
vote
1answer
100 views

Cannot compile any software

I have Linux Mint 17. I wanted to compile python 3.4.2 from source. During the ./configure command, everything went well until an error came out. configure: creating ./config.status ./config.status: ...
0
votes
1answer
78 views

Combining parts of original Android with newer sources to create a new image [closed]

Hi I wanted to talk to the pros on the compiling and decompiling Android source and binaries respectively. Is it possible to decompile an Android OS running in a device and get its source, so that you ...
0
votes
1answer
2k views

How do I compile the latest apache2 on ubuntu using the original layout, configuration and configure options

I needed to compile apache2 on ubuntu but I wanted it to use the original configuration and layout. It took me a very long time to find the information to do this, so I thought I would create this ...
1
vote
1answer
1k views

Trouble compiling RealTek Wifi Drivers rtl8192ce on Fedora 21

o/ Greetings, I was wondering if anyone else had trouble with the Realtek 8192cu drivers from Realtek. They have an install bash script to help, however it first failed due to missing the kernel-...
1
vote
2answers
2k views

How to properly build a minimal FreeBSD kernel?

Is there any proper way to build a minimal kernel for FreeBSD? The FreeBSD Handbook has the lack of information about this. By default /boot/kernel directory has the pretty big size - around 450MB. I ...
-2
votes
1answer
546 views

libevent… configure: error: not found, cannot proceed

I received the following error while trying to build pgBouncer from source. This occurred during the configure phase (OS:Ubuntu12.04). Any solutions? checking for library containing gethostbyname... ...
1
vote
1answer
152 views

CROSS compilation of BTRFS file system

We are developing Beaglebone black based custom board, We are planing to use eMMC for storage. To decide the file system on the eMMC we want to cross compile Btrfs user space utility, Does anyone know ...
4
votes
2answers
2k views

Compiler cannot find header file, do I add the directory to PATH?

I am trying to work with gtk which is located at /usr/include/gtk-3.0/gtk/ .., but all of the header files in the toolkit have #include <gtk/gtk.h>. Aside from adding /usr/local/gtk-3.0 to ...
0
votes
2answers
308 views

When building a new kernel in OpenBSD 5.6, can the name of `config` be something else?

I am using the release version of OpenBSD 5.6 and have to apply a patch called 004_kernexec.patch.sig (URL: http://ftp.openbsd.org/pub/OpenBSD/patches/5.6/common/004_kernexec.patch.sig ) An excerpt ...
0
votes
1answer
1k views

RT3070 driver will not compile

I'm trying to compile the RT3070 driver on Arch but it's not compiling. When I run make some of the files compile but most others spit out error messages and do not compile. I don't know what to do to ...
0
votes
2answers
343 views

Building KDE from source?

I am trying build the kde from the source available on https://www.kde.org/info/4.14.3.php, but I am a bit lost about the order of installation of the packages listed on the page, which would give me ...
1
vote
2answers
682 views

Why apache binaries built with gcc 64-bits are mixed 32 and 64 bits?

On Solaris 10 I built gcc 4.9.0 for 64 bit. At least I thought I did. I'm building an Apache based stack, and other prerequisite tools. If I build apache file shows a 64bit httpd: file apache-test/...
3
votes
2answers
3k views

No build scripts available when compiling module outside of Linux source tree

I am attempting to build a basic module outside of the Linux source tree (3.18.0-rc6). When I build it, I get an error saying it couldn't find scripts/... My directory setup looks like this mymodule/...
1
vote
1answer
254 views

How to build dnscrypt plugins?

I tried to build a plugin for DNSCrypt, but it keeps telling me that it needs some other files. I need to know how I can build it, and I've never compiled a package from scratch. I've always been ...
2
votes
1answer
174 views

Types of dynamic linking in Unix/Linux environments

When creating a windows static library, we simply create a .lib file which should be included in the linker path. When creating a windows shared library, along with the .dll, we also a generate a ....
4
votes
1answer
317 views

Error compiling custom kernel with a new usb serial driver

I have tried compile a driver for my kernel 3.13.0-40-generic. I have also tried compile a custom kernel with this driver but both have failed. The name of the driver is vizzini for Linux 2.6.18-3.4....
4
votes
1answer
954 views

what does “ gbp:error: upstream/1.5.13 is not a valid treeish” mean?

I want to build a debian package with git build package.(gbp) I passed all steps, and at least, when I entered gbp buildpackage, This error appeared. what does it mean? and what should I do? gbp:...
1
vote
1answer
120 views

Applying patch to the uClibc

I have a buildroot package that I need to build. When I issue the 'make' command, it runs until it errors out with "lutimes undeclared". After lengthy research, it appears that uClibc needs to be ...
1
vote
1answer
191 views

float.h library not found when compiling gtk+3/vte app with Homebrew

I get the following error when I try to compile my application. I have installed all dependencies using Homebrew, looked at output from "brew doctor", nothing clear on how to solve this problem. I ...