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

learn more… | top users | synonyms (2)

2
votes
1answer
36 views

How to compile against a custom kernel (Debian)?

There is a file version.h in /usr/include/linux. Many header files include this file and use the defines in there for their own ifdefs. However, when I compile my own kernel, I cannot see how this ...
1
vote
1answer
30 views

“make” doesn't find an installed library

I am attempting to use make to compile purple-facebook, a plugin for pidgin. It requires json-glib, which I have installed, but whenever I attempt to compile, it returns fatal error: json-glib/json-...
0
votes
0answers
15 views

Rebuilding a custom package from scratch

I have built and installed a package named to-build. My file hierarcy looks like this: $HOME/usr/ src/ to-build/ packages bin/ include/ lib/ share/ I built and ...
1
vote
0answers
14 views

How to compile efivar 0.24?

I am having trouble compiling efivar 0.24 and have already searched on StackExchange for an answer I found one close How to compile efivar? but it didn't exactly solve my problem. make V=1 -j1 I get ...
0
votes
1answer
14 views

Applying RT_PREEMPT

I'm trying to install a kernel with the RT_PREEMPT patch on a Lubuntu 16.04 distro and running into some issues I'm not sure how to deal with. I've downloaded the sources for kernel v4.4.12 (linux-4.4....
-3
votes
0answers
31 views

When running bash /cygdrive/ in front of Windows path issue

On my Windows Visual Studio project javing build file to build project. but when it runs this line it stopping execution rsync -av --exclude="*.mdb" --exclude="*.pdb" ./Services/...
0
votes
2answers
32 views

Trying to compile DWM on Centos 7.2 - missing freetype/config/ftheader.h

/usr/include/ft2build.h:56:38: fatal error: freetype/config/ftheader.h: No such file or directory #include <freetype/config/ftheader.h> I have freetype-devel installed. There are no other ...
0
votes
0answers
12 views

Getting a “unexpected reloc type in static binarySegmentation fault” when running a program

Hello I was recently doing two programs and when I compile them with the -static parameter, one works well, but the other shows the above message when I try to run it. I searched the internet and the ...
8
votes
1answer
232 views

Where is program installed after ./configure

I'm installing a software using the following wget <URL package.tar.gz> tar xzvf package.tar.gr ./configure package cd package make make install My problem is that the package is not ...
4
votes
2answers
70 views

When compiling, can I use a file for ./configure options?

Building some software from source and there are a lot of configure switches. ./configure --enable-ftp --with-gettext ... I have all the switches I want in a text file separated by new lines, e.g.:...
1
vote
0answers
62 views

Make kernel: recipe for target failed

I'm trying to get into linux kernels and I found a nice book which I wanted to read. Starting requirement is a readily built kernel which I'm trying to achieve for a few days now. As of now I'm ...
5
votes
2answers
50 views

Remotely execute commands but still have control of the host

I have a few Linux machines laying around and I wanted to make a cluster computer network. There will be 1 monitor that would be for the controller. The controller would execute a script that would ...
0
votes
0answers
21 views

Building Midnight Commander as non-root. glib-2.0 not found

How do I tell mc 'configure' where glib is located? I would like to build and run Midnight Commander 4.8.17. I downloaded and ran configure, specifying a --prefix pointing to ~/local. 'configure' ...
0
votes
1answer
30 views

Incompatibility of High Level Assembly on Kali Linux Rolling

After reading the "Art of Assembly Language", I obtained the High Level Assembly language from the website listed in the book. After editing my .bashrc file, I compiled my canonical "Hello world!" ...
0
votes
0answers
22 views

Attempting to compile any kernels, even vanilla ones, yields a certification error (continued from last thread) [duplicate]

(Accidentally lost previous account after crashing my computer without saving keepass information. Continuing thread here). I'm currently attempting to follow this guide in order to install the 4.5....
0
votes
2answers
99 views

Attempting to compile any kernel yields a certification error

I'm currently attempting to follow this guide in order to install the 4.5.7 kernel with Grsecurity on my Kali Linux desktop. I am following that list of instructions verbatim, except for the fact ...
1
vote
2answers
30 views

Compiling apache modules --enable-mods-shared vs --enable-modules

A snippet from the Apache httpd-2.4 configure document: --enable-mods-shared=MODULE-LIST Defines a list of modules to be enabled and build as dynamic shared modules. This mean, these module have to ...
1
vote
1answer
21 views

How to use local shared library while compiling the FOSS project?

I want to compile guile on shared hosting but when I run ./configure I've got error: configure: error: GNU MP 4.1 or greater not found, see README so I've downloaded GMP and tried to install it ...
0
votes
1answer
21 views

Configuration file for kernel in VM environment

I downloaded a fresh kernel that I'm planning on using in a VM. In the instructions of the tutorial I'm using, I'm told You will also need to build a new instance of the kernel, and ensure that ...
1
vote
0answers
19 views

Compiling non-Debian (doesn't have a debian sub-directory) package into a .deb [closed]

I have the source of a package that I'm trying to compile into a .deb (Thunderbird to be exact), but it is not a Debian-specific package (it doesn't have a debian subdirectory). I was following this ...
0
votes
1answer
48 views

Install samba4.4.4 from source on centos7

Following the steps on Samba wiki page, I was able to build the samba source code. However, after sudo make install, I could not start the samba service since there is no systemd entry under /usr/lib/...
0
votes
0answers
13 views

How to modify Ubuntu update-manager in IDE

I have downloaded the source code from update-manager via apt-get source command and now I'd like to edit it. Is there any IDE to import this package source to the IDE? Thanks in advance.
1
vote
2answers
53 views

Copy compiled application to another system

I compiled the latest version of netatalk (3.1.8) from source to replace the rather outdated version on my Raspberry Pi. This was quite successful, and I would like to use this version on other ...
0
votes
0answers
20 views

Linux cant find build tool for kernel

I'm trying to build a kernel for an embedded system. When I try running make AARCH=arm UIMAGE_LOADADDR-0x8000 uImage, the following message gets shown: make: arm-xilinx-linux-gnueabi-gcc: not found ...
1
vote
0answers
20 views

Add a driver module to embedded linux

I have a task that consists in implementing a driver for an RF module. The RF module communicate with the blackFin609 microcontroller using UART. In a first step i created a uClinux image and ...
1
vote
0answers
42 views

Can you set Linux sysctl values at compile time

I am compiling a custom linux kernel. I want to set some sysctl values at kernel compile time. Defaults I want are different to the defaults kernel sets. Is there a way to do this? Please note I ...
3
votes
1answer
35 views

Determine the name of the static/dynamic library

Quite often I am using third party snippets of c code that uses a Unix/Linux c library, an example #include <glib.h>, #include <net/if.h>. And they require me to know the specific library ...
1
vote
1answer
25 views

wmctrl compilation error - missing library

wmctrl is a utility application that controls GNOME/linux windows from command line I am building a wmctrl binary from source, however I am having a problem compiling it, it complains about not ...
0
votes
1answer
51 views

How to turn off stack protector in linux kernel easily? [duplicate]

I wrote a simple module for the Linux Kernel and it has a stack buffer overflow vulnerability. I want to exploit the module, but I have to turn off the stack protector in the kernel first. How could I ...
2
votes
2answers
363 views

“cc: Command not found” when compiling a PAM module on Centos

I was trying to make a linux server become a radius client. So I downloaded pam_radius. By following the steps from this website : openacs.org/doc/install-pam-radius.html and by following these steps :...
0
votes
1answer
66 views

error while loading shared libraries: libcppunit-1.13.so.0: cannot open shared object file: No such file or directory

I've done everything I thought was needed, but can't get this library to be installed properly. ldconfig -p | grep libcppunit keeps returning the empty string. To install it, I've run (do not ...
-1
votes
1answer
53 views

GCC 4.8 compilation error: cannot find the system header directory

I'm trying to compile GCC 4.8.3. I have read the documentation carefully but I'm still unable to cross compile it for 64bit system. I have also gone through this guide. But my requirement is to build ...
0
votes
2answers
33 views

Ubuntu - Removing MPFR and installing a new version from source

I am on Ubuntu Hardy Heron trying to compile gcc 4.4 from source. The problem is that I need MPFR version 2.3.2 or greater. I have MPFR version 2.3.1. I can verify this via running this small snippet ...
0
votes
1answer
61 views

What does the file cpuid.h do?

I am trying to build GLIBC 2.14 from source. I keep getting the error message that cpuid.h was not found. What does that file contain and what purpose does it serve ? I have seen that cpuid.h is ...
1
vote
0answers
25 views

How to build GTK2 on the Mac OS X EI Captain?

I tried to build GTK2 to Mac OS X EI Captain from source code. But by the environment variable (INCLUDE?), an error occurred and I failed to build. Please help me by advices? Doesn't someone have the ...
1
vote
1answer
48 views

Compiling Apache with another glibc version

My system has an old glibc version. I compiled the new version [2.23] into /FaF/glibc. Due to the fact the new glibc version is not compatible with SLES 11 SP2 & SP3 I have to use the linker ...
0
votes
1answer
35 views

Linux kernel 3.14: Cannot find LILO

I'm trying to compile linux kernel 3.14 on ubuntu 14.04. Before anyone points out, I know newer stable versions of the kernel are available but I have been asked to install 3.14 itself. So, I wrote a ...
1
vote
1answer
40 views

Problems compiling VASP

I'm trying to compile VASP 5.4 on Ubuntu 14.04 and running into issues. I believe I'm most the way there but when I run the make command it seems to bottle out with out a specific error. I am unable ...
0
votes
1answer
49 views

Build Linux for a Raspberry Pi without /opt/vc?

Now that the vc4 DRM/GBM driver has been making progress, is it possible to build Linux (not just the kernel but the entire operating system eg. Linux From Scratch) without libraries and programs from ...
1
vote
1answer
74 views

What does 'build with master branch of …' mean?

I'm trying to install ios-webkit-debug-proxy. and while running 'make' I get following error. webinspector.c: In function 'idevice_connection_get_fd_wrapper': webinspector.c:50:3: error: implicit ...
-1
votes
1answer
93 views

Where do C# executables running on an Ubuntu Linux 16.04 desktop which use source code that DLLImport's shared objects look for them at runtime? [closed]

Where do C# executables running on an Ubuntu Linux 16.04 Lenovo Thinkstation desktop which use source code that DLLImport's shared objects (so's) look for shared objects at runtime? Even if the shared ...
1
vote
1answer
59 views

How to compile efivar?

I am trying to compile efivar-0.23 for my LFS, but when I untar it end run the following command: make libdir="/usr/lib/" bindir="/usr/bin/" mandir="/usr/share/man/" includedir=/usr/include/" V=1 -j1 ...
1
vote
2answers
40 views

How to determine if a custom kernel improves system performance?

In addition to measuring boot time and kernel size before and after re-compilation, what are some other useful metrics for determining if a custom-compiled kernel improves system performance? I know ...
2
votes
2answers
98 views

How can I find out what linker flags are needed to use a given C library function?

Running example C code is a painful exercise unless it comes with a makefile. I often find myself with a C file containing code that supposedly does something very cool, but for which a first basic ...
2
votes
4answers
112 views

How long might it take to build NetBSD userland and kernel?

I am interested to use NetBSD as the operating system on my server. I have not used a system where security updates are performed by source, but have read enough in the guide to feel comfortable ...
0
votes
0answers
19 views

How can I compile a more compact glibc?

While trying to create an x86-64 appliance, I naturally wanted to compile glibc 2.23. I managed to do so through mkdir build cd build ../configure --enable-kernel=2.6.32 --with-headers=/path/to/...
1
vote
1answer
34 views

unable to compile GNOME planner from source

I'm using fedora 23 64 bits here, i suppose i have all dev deps installed, however this last one i don't know how to solve: [sombriks@sephiroth planner]$ sh autogen.sh /usr/bin/gnome-autogen.sh ***...
2
votes
0answers
126 views

How to compile custom kernel for Raspberry Pi

I'm trying to run the Ubuntu 14 Raspberry Pi ARM image in QEMU, and for that I need the kernel that matches the version used in the image. If I mount the image and run file vmlinuz I see: vmlinuz: ...
2
votes
2answers
44 views

Saving time while compiling Kernel

I have to demonstrate a practical where I have to make my own module, add this module to a kernel's source and implement the system call. I'm using 3.16 kernel on Ubuntu but it takes around 2 hours to ...
1
vote
0answers
31 views

Freebsd porting and pkg-static

I am porting makemkv to freebsd 10.2 and for this reason I wrote the following makefile: # New ports collection makefile for: makemkv # Date created: 05 Mar 2012 # Date Updated: ...