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

learn more… | top users | synonyms (2)

1
vote
0answers
32 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
49 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
81 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 /mnt/lfs/...
1
vote
1answer
74 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
249 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
49 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
27 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
180 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: /tools/lib/../lib64/...
0
votes
1answer
46 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 ‘/files/ondisk/shared//comp/auto/bleeding-1169-...
1
vote
1answer
20 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
16 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
37 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
135 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
154 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
40 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
792 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
99 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
13 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
124 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
169 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
103 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": user@linux-bmne:/run/media/.../...
0
votes
1answer
35 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
69 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
39 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 make:...
0
votes
0answers
212 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
171 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
47 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 compile/stk-...
1
vote
2answers
66 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
114 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
151 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
20 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
441 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 https://cgit.freedesktop.org/mesa/mesa/tree/?h=...
2
votes
2answers
103 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
100 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
98 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? ...
1
vote
1answer
90 views

Linux Mint + FriendlyARM 2440: Cannot install and execute cross-compiler and toolschain (arm-linux-gcc-4.4.3.tar.gz)

I am new to learning Linux. I have installed Linux Mint 17 on my 32-bit laptop and bought a FriendlyARM Mini2440 development board to do some basic programming and learn concepts of Linux. However, I ...
0
votes
1answer
66 views

Error in codeblocks: free(): invalid pointer

So, I just installed Code::Blocks by downloading the source code from the official site, and then run the ./configure command, autoreconf -f -i, make and then make install. Everything works just fine ...
1
vote
0answers
92 views

error while compiling my first program in C language? [closed]

I am a newer user of Ubuntu I used to compile c file via Code Block in Win OS. But now I've created a simple program (hello ,world!). This is the code #include<stdio.h> /* demo.c: My first C ...
1
vote
0answers
56 views

Build xpra on local directory without root priviledges

I am trying to build xpra on local directory without root priviledges. The xpra official site says: https://www.xpra.org/trac/wiki/Building Building with distutils For installing into a local ...
0
votes
1answer
139 views

How do I install NTP from source on CentOS v7? (/bin/ld: cannot find -lcap)

I unpacked the .tar.gz file. I installed the gcc compiler. I ran the ./configure command with various flags and options. I ran make check and found an error. The exit status is 2. Only 0 is ...
1
vote
0answers
16 views

How can I decrease the amount of data that repo downloads for CWM recovery? [closed]

I'm trying to port ClockworkMod Recovery to a new device. To do so, I'm instructed to download the source using repo. Until now, I've executed: repo init -u https://android.googlesource.com/platform/...
0
votes
0answers
17 views

init & System V IPC in kernel

Does it affect init if System V IPC is not compiled into a kernel? Does init require System V IPC?
3
votes
1answer
161 views

How to install compiler tools with opkg on MIPS CPU architecture

I just bought a set top box (digital reciever - Vu+ Solo2) which runs Linux, and would like to compile some C software on it. It uses OPKG as the package manager. I executed opkg update and: root@...
1
vote
1answer
132 views

scons can't find glib-2.0 >= 2.32 on cygwin

I downloaded the source for rmlint and am trying to compile it on cygwin. When I run scons, it says Checking for glib-2.0 >= 2.32... Error: glib-2.0 >= 2.32 not found. In the cygwin setup ...
0
votes
0answers
39 views

Building python with openssl support

I have the following directory structure: nchambers@nchambers-305E4A-305E5A-305E7A:~/mini-bin$ la 2to3 cpp-5.3.0 gcov-5.3.0 grmid-5.3.0 objcopy-2.25.1 ...
1
vote
1answer
473 views

pfSense: What package may I install for the `make` command?

I am new to BSD, and have installed pfSense (FreeBSD based) in order to test it and learn. The first thing I wanna do is installing some undetected network card (Silicom PXG6BPi) driver, but it ...
1
vote
1answer
109 views

how can I build the RTL8192SE driver?

while trying to build it (executing install.sh), manny, many compiler warnings/errors appear: error: implicit declaration of function 'daemonize' [-Werror=implicit-function-declaration] warning: cast ...
2
votes
0answers
291 views

GLIBC not loading even after source compilation

While I am installing chef , I am getting below error. [root@centos Tools]# chef-server-ctl reconfigure /opt/opscode/embedded/bin/ruby: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /...