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

learn more… | top users | synonyms (2)

5
votes
5answers
5k views

Compiling code from apue

Just now I have began reading the book: Advanced Programming in the UNIX® Environment. I wanted to try running its first code example. I am running Scientific Linux 6.4. I downloaded the source code ...
0
votes
2answers
17 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
25 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
1answer
32 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 ...
1
vote
0answers
14 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 ...
0
votes
1answer
15 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 ...
2
votes
4answers
97 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 ...
7
votes
1answer
779 views

Linux From Scratch 7.2: Error while making binutils-2.22 in chapter 6

I get the following error while executing make tooldir=/usr ../../binutils-2.22/libiberty/regex.c:130:1: warning: function declaration isn't a prototype [-Wstrict-prototypes] ...
1
vote
1answer
13 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 ...
1
vote
1answer
36 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 ...
2
votes
2answers
5k views

libX11.so.6 Not found

I tried to make && make install package, but I get an error: libX11.so.6 not found Where can I get this library?
0
votes
1answer
38 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
votes
1answer
59 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
1answer
866 views

Do I have to compile the kernel every time, even for a small change?

In my project I configure the kernel (2.6.32) in block/ioctl.c. We all know that kernel compiling and building takes few hours. Even for a small change, I'm compiling from scratch. So is there any way ...
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.
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 ...
2
votes
1answer
3k views

buildroot compiling driver

I'm using Buildroot for compiling embedded linux. It works well because I have target Makefile configurations, but now I need driver for my usb devices. I manage to compile Qt appilactions(c++) on my ...
4
votes
3answers
1k views

How to make a portable Linux app?

I'd like to make a "portable" version of Emacs 24.3. I am using some Debian 7 systems, where I don't have root access. Since Debian 7 is missing Emacs 24, I'd like to build a portable version of it, ...
0
votes
1answer
911 views

How to specify a custom include directory in Debian?

I am trying to compile my program on a Debian system via ssh and without root privileges. PRETTY_NAME="Debian GNU/Linux 7 (wheezy)" NAME="Debian GNU/Linux" VERSION_ID="7" VERSION="7 (wheezy)" I ...
2
votes
1answer
2k views

Understanding SPL & U-Boot Memory Map using bdinfo?

We are using beaglebone black based custom board, I want to write some test results into RAM location from SPL, and read that log and send it via tftpput to the host PC. So far I'm able to do tftpput ...
3
votes
3answers
2k views

Adding Buildroot Package

I'm trying to add a package to buildroot, but I'm not having much success. The package I'm trying to add is an autotools package called scew. I've followed the buildroot guidelines about adding ...
3
votes
3answers
3k views

Generate MIPS architecture assembly code on a X86 machine

I need to generate MIPS specific code on my machine when I run my C program. When I simply run, gcc -O2 -S -c hello.c On my system, I get the hello.s which seems to generate some assembly code but ...
2
votes
1answer
2k views

Build Chromium from source

I'm using Fedora 16 and I've successfully compiled Chromium from source (the first time I compiled something from source) a while back following these instructions: ...
1
vote
3answers
279 views

Am I in the right direction for a linux os?

I compiled the linux kernel by downloading it from kernel.org, put it on my desktop, and opened up terminal. I changed to the linux-3.2.13 folder, typed mr proper. Then I use make menuconfig to ...
1
vote
2answers
375 views

Having issues with compiling node.js from source using ./configure [closed]

I referred to this already answered question, but it wasnt of any help. Can you tell me what I'm missing? I'm trying to install node.js on my Debian 8.0. According to this github article, I followed. ...
0
votes
0answers
859 views

Compile network card driver on debian

I buy a new network card , D-Link DGE-528T. My OS is Debian(Jessie) kernel : 3.16.0-4-amd64 but it can't detect the new network card, so I must to compile driver by myself. follow README file. ...
3
votes
0answers
191 views

An obscure autotools error with Epson iscan project

I'm seeing the following error when attempting to build iscan using the master branch on Debian wheezy. This project provides support for Epson scanners, in cases when SANE doesn't. This project ...
0
votes
1answer
2k views

Error while Compiling Subversion with a custom-compiled Apache on a shared server

Am using a RHEL 5.5 shared server, my user has complete access to /opt folder. No root access, cant write to /etc, /usr etc. So, I downloaded httpd-2.4.6 and httpd-2.4.6-deps onto /opt (ie. ...
1
vote
1answer
74 views

Compilation error on fedora 14

I installed fedora version 14 using virtual box but when I try to compile a program then displayed command not found. After that I tried to install g++ compiler using commands but, the way I followed ...
-1
votes
1answer
1k views

How to install libesedb? Build error

I'm trying to build the libesedb package so I can read edb files. I went to: http://code.google.com/p/libesedb/wiki/Building and found the following: tar xfv libesedb-alpha-<version>.tar.gz cd ...
0
votes
1answer
333 views

Compile OpenBroadcaster on Debian

Trying to compile obs on debian like here described: https://github.com/jp9000/obs-studio/blob/master/INSTALL gives me this error: Linking C shared library libobs.so /usr/bin/ld: ...
1
vote
1answer
2k views

ZoneMinder compiling error: “missing binary operator before token ”(“”

When installing ZoneMinder 1.25.0 in CentOS 6.4 (64-bit) the following error pops up when executing make: zm_ffmpeg_camera.cpp:105:44: error: missing binary operator before token "(" Full log: ...
0
votes
1answer
32 views

Is my compilation false?

I thought my compliation was okay because no errors were printed out, yet when I try to run the executable, he tells me that it's unreachable... coppan12@b048-08:~$ gcc -Wall prog.c -o prog ...
1
vote
1answer
87 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 ...
0
votes
1answer
60 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 ...
213
votes
4answers
76k views

Why is FreeBSD deprecating GCC in favor of Clang/LLVM?

So I was surfing the net and stumbled upon this article. It basically states that FreeBSD, starting from Version 10 and above will deprecate GCC in favor of Clang/LLVM. From what I have seen around ...
1
vote
1answer
36 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
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 ...
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 ...
3
votes
2answers
3k views

How do you compile your own kernel on a RHEL6 system?

In RHEL6, the kernel is 2.6.32. What is the procedure to compile your own kernel?
2
votes
2answers
53 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 ...
0
votes
0answers
17 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
43 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 ...
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 ...
3
votes
2answers
2k views

How do I redirect only stderr?

I am having a bit of trouble doing this. I am required to run a compiled .java file and redirect only stderr to a file called error. So the .java file is named javaProgram.java. This is what I have ...
1
vote
0answers
23 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
24 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 ...
1
vote
0answers
38 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 ...