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
12 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
36 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
32 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
57 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 ...
0
votes
0answers
13 views

Can gcc linker options change assembler instructions in the compiled binary? [migrated]

I am wondering if gcc linker options (e.g.: -Wl,options) can change assembler instructions in the compiled executable, as this happens if you use certain gcc optimization options.
1
vote
1answer
35 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
34 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
52 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 ...
1
vote
3answers
81 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
16 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 ...
0
votes
0answers
16 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
42 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
40 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
22 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: ...
0
votes
0answers
22 views

Build location-independent GCC binaries

I have some problems with GCC. I want a portable version of GCC because the PC I use for programming cannot be connected to Internet due to some driver issues. So, I read an article on how to compile ...
0
votes
1answer
40 views

GNU Make4.1 Segmentation Fault

During a make check after compiling GNU Make-4.1, the following error occurs. make[2]: Entering directory '/mnt/lfs/sources/make-4.1' cd tests && perl ./run_make_tests.pl -srcdir ...
1
vote
0answers
37 views

How do I enable memory zone reclaim mode on the Linux kernel?

I am running Gentoo Linux Hardened using kernel 4.3.3-hardened-r4 on an AMD A4-5300 APU. To troubleshoot a memory problem I have with my system I need to enable sysctl vm.zone_reclaim_mode=1, but ...
2
votes
1answer
105 views

How to compile kernel module for different kernel version?

I have the following kernel installed: [root@localhost ~]# uname -r 2.6.32-573.el6.x86_64 And the following kernel source: linux-2.6.32-573.1.1.el6.x86_64 I am trying to compile a kernel module ...
3
votes
1answer
32 views

How to get the compiler flags that are used to build the binaries in a (.deb) package?

I know that apt-get source <package_name> gives you the source package. It contains a debian folder with a file called rules. If I understand it correctly, this file describes how the source ...
1
vote
0answers
23 views

How to uninstall linux kernel?

I was building linux kernel from git master for ubuntu all day, I was not able to build packages, so I just ran sudo make module_install install. How to remove it? Makefile doesn't provide make ...
0
votes
1answer
91 views

GCC 5.1.0 fails to compile following the LFS guide — pass 2; linking errors?

I'm trying to follow the LFS guide for compiling the GCC 5.1 with binutils 5.25 and glibc 2.21 and the process fails when reaching the "gcc pass 2" step giving me the error: ld: ...
0
votes
1answer
33 views

Shell script getting 'permission denied' despite using umask 000 before command

I have a shell script (build.sh) that ends by attempting to copy some files into a new directory. However it says: mkdir: cannot create directory ...
0
votes
1answer
14 views

custom sysconfdir for coreutils

I compiled coreutils with --sysconfdir=/test/etc instead of default /etc, moved /etc/group to /test/etc/group, and chgrp failed with chgrp: invalid group: $groupname. How can I fix that and ...
0
votes
1answer
13 views

Can ifort and pgi complier coexist in the same system?

My linux cluster has installed ifort compiler now. But for some purpose, I need pgi compiler in the same computer. Can they coexist? I'm not familiar with this area, afraid of meeting trouble.
1
vote
1answer
34 views

Compile shared library from asm code with current sources

I just did some basic functions in asm that I compile in a shared library. Like : [BITS 64] global foo section .text foo: mov rax, 1 ret I compiled ...
0
votes
0answers
98 views

clang: error: argument unused during compilation: '--param max-inline-insns-single=1000'

I am trying to install cosi2 downloaded from http://www.broadinstitute.org/mpg/cosi2. While running ./configure to install the program, I get the following error: clang: error: argument unused during ...
1
vote
3answers
83 views

Install Mesa3D on Debian - LIBDRM not found by configure autoconf

I am trying to compile and install mesa3D from source. (ftp://ftp.freedesktop.org/pub/mesa/11.0.0/mesa-11.0.0-rc3.tar.gz) I am at the configure step ./configure \ CXXFLAGS="-O2 -g ...
1
vote
0answers
35 views

Build custom EDID with several modelines

I would like to build custom EDID using kernel sources. But I need to use several modelines - more refresh rates for same resolution. Is it possible using method in kernel sources? Could you please ...
9
votes
3answers
735 views

How to reduce the size of the initrd when compiling your kernel?

When I compile my own kernel, basically what I do is the following: I download the sources from www.kernel.org and uncompress it. I copy my previous .config to the sources and do a make menuconfig ...
0
votes
1answer
62 views

How to create /usr/src/linux-headers-{version} files

I am trying to compile a custom kernel for Nvidia's Jetson TK1 board, and it seems that as well as the kernel itself (zImage) I will need /usr/src/linux-headers-{version} and /lib/modules/{version}. ...
1
vote
0answers
26 views

What is the most managable way to install a program from source in Debian? [duplicate]

Let's say that I've found a program that I want to install on my machine. It is only available as a source tarball that can be built with the usual ./configure; make; make install. While I could do ...
0
votes
0answers
8 views

Distcc with zeroconf doesn't work through wi-fi access point

I've got some distcc build servers connected through wi-fi. I don't want use static IP's, I think zeroconf is better. But I can't see servers using distcc --show-hosts on my main machine (connected ...
0
votes
1answer
96 views

How do I install sfml-audio to build extreme tux racer?

I have downloaded extreme tux racer as a .tar.xz on sourceforge. I performed tar xJF on the file, a directory was created, I entered it and there I performed ./configure. A list of Dependencies was ...
0
votes
1answer
67 views

can not install, No targets specified and no makefile found. Error

I'm trying to install kiwix on fedora 23 when I tried to compile kiwix sourcecode under my computer. and when I want to run make, it shows me this message! [ar.lnx@host kiwix-0.9] $ make make: *** ...
1
vote
1answer
69 views

“make” stops during installation of tty0tty (null-modem emulator)

I try to install tty0tty a null-modem emulatom like in the linked installation guide, but I have a problem at "3. Build the kernel module from provided source": ...
0
votes
1answer
29 views

Loop device support on self compiled kernel doesn't work

I compiled 3.10 kernel, I checked that these configuration lines are not commented CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_LOOP_MIN_COUNT=8 When i'm trying to mount loop device I get this error # ...
2
votes
1answer
41 views

Use multi-threaded make by default?

Is there any way to have make use multi-threading (6 threads is ideal on my system) system-wide, instead of by just adding -j6 to the command line? So, that if I run make, it acts the same as if I ...
1
vote
0answers
18 views

problems with running tcsh file

I can't get the following program to run. When I try running it, it says set goal = `head -c 15 < /dev/urandom | base64 | sed 's/[^0-9]//g' | sed' Usage: tcsh [ -bcdefilmnqstvVxX ] [ argument ... ...
0
votes
0answers
30 views

Problem when installing FADE on Ubuntu

I'm trying to install FADE (Secure Overlay Cloud Storage with File Assured Deletion) but i have some problems when i try to install it. Here is the error. root@GRayFox:/home/ahmed/fade-0.2# make ...
0
votes
0answers
150 views

Building Handbrake on Debian Jessie

I have found a web site that explains how to install Handbrake 0.9.9 on Jessie. The explanations there seem a bit outdated, because it advises to use SVN to get the sources, but Handbrake has switched ...
1
vote
0answers
84 views

Buliding libaffa: running make says Nothing to be done for 'all'

I'm trying to compile the library libaffa, with the following procedure: sudo ./configure -> OK sudo make && make install -> "Nothing to be done for 'all' " How do I fix this? I run ...
0
votes
1answer
23 views

Distcc ld error

I want to compile supertuxkart for notebook on my main computer (v-mint, with distcc daemon). My actions: Clone git+svn repos from official sources. (compile/{stk-code,stk-assets}). cd ...
1
vote
2answers
56 views

Could the compile procedure be the real difference between Red Hat EL and CentOS? [duplicate]

The last few days I'm itching to change the distribution I'm using for years, Debian. Since stability is of major importance for me and I'm not interested in bleeding edge features, I've decided to ...
0
votes
1answer
81 views

How to install a custom GMP lib for just one user?

I'm doing some heavy number crunching on one system and I'd like to compile (and finetune) a custom GMP 6.1.0 for the user launching the number crunching computation. Previously I had a Debian wheezy ...
0
votes
3answers
112 views

How to install 'build-essential:i386' on Debian 7.9 x64

I'm on Debian 7.9 (wheezy) x64, and I would like to install build-essential: i386. I already added i386 in dpkg --architecture, updated aptitude and installed java-jdk-1.6:i386 successfully. BTW, no ...
0
votes
0answers
18 views

Unable to compile gnome-shell (clutter error)

I am compiling gnome-shell on LFS (http://www.linuxfromscratch.org/blfs/view/systemd/gnome/gnome-shell.html) I have compiled and installed clutter 1.24.2 as they said it requires it. however the ...
3
votes
1answer
316 views

Unable to build Vulkan on linux mint rafaela

How can I build the Vulkan driver for linux mint? I'm running Linux Mint Rafaella, 17.2, with Intel Graphics 5th gen, i3-5010U. I tried to compile ...
2
votes
2answers
70 views

Minimal Busybox/Linux Installation - Won't Run C

I'm trying my hand at creating a very minimal custom Busybox/Linux distro, a task that is admittedly above my head, but I figured I'd give it a shot. My issue is that whenever I try to run a C program ...
0
votes
0answers
60 views

'syntax error' at token '' on line 6:

I'm quite new to Linux and I need to build a local policy SElinux module. I'm compiling with audit2allow from a file containing the following lines : module lockx11vnc 1.1; require { class ...
0
votes
0answers
68 views

Manually move kernel image to /boot directory

I have compiled my own kernel on Gentoo (following the handbook) and then I have moved the bzImage to /boot/vmlinuz-4.0.5. But when I boot the system I get the Grub2 shell. What am I doing wrong? ...