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
612 views

gcc 4.6.3 local installation with gmp 5.0.5 mpfr 3.1.1 errors

I am trying to install a new gcc version (g++ version) in my home directory on a server I have access too. This server already has gcc elsewhere (and gmp etc) but older versions, and I want to locally ...
1
vote
0answers
79 views

How do I install additional modules when building an Apache RPM?

We've been compiling and installing Apache under /usr/local/apache2 and in turn would tar the folder up to distribute to our other servers. I would like to convert this into an RPM package for easier ...
3
votes
2answers
2k views

How to build a custom kernel on Fedora?

I want to test an (upstream) custom kernel on Fedora. The plan so far is: use a recent fedora config as starting point, e.g. /boot/config-3.6.6-1.fc17.x86_64 lookup build dependencies lookup right ...
1
vote
0answers
205 views

Compiling libqwplot3d on armhf

This started as an attempt to compile GNURadio on armhf (Pandaboard & Beagleboard). Thanks to the answer by Mike Larsen. I tried to compile libqwplot3d. apt-get build-dep qwtplot3d apt-get source ...
1
vote
3answers
101 views

Is there a way to know which options were used at compile time?

Take a look at the following command line: gcc -o hello -Wall -D_BSD_SOURCE hello-world.c Now, is there a way to know about these options by doing some processing on the 'hello' executable.
1
vote
1answer
142 views

Autotools does not detect my architecture correctly. How to handle?

I am trying to build the latest ffmpeg from the git repo. However, as you can see below, autotools does not detect correctly that my box has 64-bit architecture (Ubuntu 12.04). Consequently, during ...
1
vote
2answers
294 views

Can't compile kernel in gentoo

I installed gentoo by the handbook from official site. When I got into the step 7.b. Installing the Sources, the book says: Code Listing 2.2: Viewing the kernel source symlink When you take ...
7
votes
2answers
3k views

How to compile a c program without leaving the editor?

I am using vim editor on Linux mint. I want to know if there is any way to compile c program without leaving the editor.
2
votes
1answer
873 views

Unable to mount root fs after new kernel compile in VMware

So, I'm attempting to compile and use the 3.6.2 kernel on my Debian 6 VM (running under Windows 7 in VMware Workstation 9). I've already had several hick ups, but I am slowly getting through them but ...
-1
votes
2answers
1k views

Building Qt: 'make clean' causes everything to get recompiled?

(This applies to Qt versions >= 4.7.3.) I made an attempt to build Qt with custom parameters on my Debian box and it actually took AGES to compile (IIRC more than 6 hours on a single-core CPU). That's ...
2
votes
2answers
458 views

Building MariaDB 5.5.27 without OQGraph: How to deselect the plugin?

I'm trying to build MariaDB 5.5.27 from source. In fact, I just need the client, but I seem to have to build the complete database system anyway. While configuring with cmake and later compiling with ...
4
votes
1answer
414 views

Install only a few GNU coreutils?

Is there a way to build and install only a few of the GNU coreutils? The README in coreutils-8.19.tar.xz lists 100-odd, but the INSTALL doesn't say how to install only a few, and the Makefile is (to ...
123
votes
4answers
46k 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
0answers
583 views

“Wrong version of libnet” when configuring nemesis

Whenever I try to configure Nemesis it stops at "checking libnet version....no" and claims I have the wrong version. I have checked my libnet folder to make sure, and I do have the right version. ...
2
votes
1answer
84 views

Build Gimp from custom-path libraries

I'm installing Gimp (2.6.10) on Debian. The system has all the required libraries (dependencies) installed in the default directories, so giving to Gimp ./configure && make && make ...
2
votes
1answer
403 views

Replace python built with UCS4 with UCS2

I've got fedora fc15 installed with python 2.7.1-7.fc15. It is built with ucs4 and I've got some packages here at work that are built with ucs2. I now cannot build other packages that use these ucs2 ...
1
vote
1answer
121 views

%post section of rpmbuild not interactive

Situation: I'm trying to build a custom rpm to place a config file in a particular location. The installation completes fine by placing config files in proper directories but the %post section is not ...
0
votes
0answers
242 views

mod_python won't “./configure” because it can't determine httpd version

I'm trying to install mod_python 3.3.1 on Apache 2.4.3 and whenever I try to run ./configure (with apxs etc) and instead of configuring correctly, it says that Apache 2.x is required and my current ...
0
votes
1answer
3k views

Kernel upgrade 2.6 to 3.5.3 on CentOS 5.8 -> switchroot: mount failed: No such file or directory

I upgraded kernel on my CentOS 5.8 from 2.6.18 to 3.5.3 and now it is unable to mount the root filesystem: I could not find any explanation through Google. Can you point me in the right direction? ...
1
vote
0answers
446 views

Install CentOS in a VirtualBox to a Compact Flash and use it on a mini PC

I got into a very specific situation and want to get to know your opinions. I have got a mini PC with Intel Atom processor which should run CentOS with an upgraded kernel to 3.x and some ...
4
votes
3answers
1k views

What exactly are Linux kernel headers? [duplicate]

Possible Duplicate: What does a kernel source tree contain? Is this related to Linux kernel headers? I know that if I want to compile my own Linux kernel I need the Linux kernel headers, ...
3
votes
3answers
247 views

New source install over existing one

I have Slackware installed on my computer, and I install a lot of software from source. Now I want to install ffmpeg from source just to recompile it with some more options. But I already have ffmpeg ...
5
votes
1answer
289 views

Relocatable emacs

Is there a way to build emacs on Linux so it doesn't embed the path where it was built into the binary, and it can be relocated harmlessly to a different path? That is, if you build with ...
5
votes
3answers
251 views

Effect of compiling from source on already installed applications

I use Ubuntu 12.04. Say I have installed package x from the repository (with all its dependencies) at version 1.7 but I need some functionality that is only available in version 1.8, so I download the ...
2
votes
0answers
489 views

Compile parameters for MIPS based codesourcery toolchain?

I installed codesourcery cross compile toolchain for mips32 architecture on my WIN 7 machince. I want to first compile a simple 'factorial' binary for my router which is based on MIPS32. From little ...
3
votes
2answers
158 views

Generic Preprocessor adds extra whitespace

Following up on this article I use GPP to empower Markdown parser pandoc with some macros. Unfortunately, gpp seems to copy all whitespace into the result. For example, consider file test.md % Title ...
6
votes
2answers
532 views

How can I create a .deb package with my compiled OpenCV build?

OpenCV 2.4.2 took 6 hours to compile on the Raspberry Pi and I'd love to package everything up as a deb but I have never done that before. How can I package the compiled files so that they download or ...
1
vote
0answers
402 views

Eglibc cannot compile suffix of object files while trying to cross compile

I'm currently making my way through Trac's CLFS book. When trying to configure the 32-bit version of EGLIBC-2.15, using the options: BUILD_CC="gcc" CC="${CLFS_TARGET}-gcc ${BUILD32}" \ ...
5
votes
1answer
353 views

Compiler flags for mplayer2 to optimize it for old hardware

I just compiled mplayer2 from source (git://git.mplayer2.org/mplayer2-build.git) because the repository (ubuntu 12.04) version didn't work on my system. Since I have old hardware I was just wondering ...
2
votes
0answers
308 views

Error cross compiling linux kernel using buildroot

I am trying to build a kernel bt in cross compiling the kernel when I ran following command make CROSS_COMPILE=i686-linux- ARCH=x86 I got the following error: UCLIB_EXTRA_CFLAGS="" \ ...
2
votes
1answer
602 views

/usr/include/stdio.h:140: parse error before `__gnuc_va_list'

I keep getting this error, when trying to compile my C program in SCO (using gcc). I have had a look on Google, and found this other forum: Linux Questions, and that guy had the exact same issue as I ...
0
votes
0answers
26 views

Loading a custom library [duplicate]

Possible Duplicate: Entry point of linux kernel I'm compiling my own linux kernel and I was wondering how I could make the kernel load a library that I made when it first boots up.
3
votes
3answers
266 views

Present USE flags upon emerging a package in gentoo

I was wondering if there are any tools to present the compile time options/ flags of a package in Gentoo when emerging. I am referring to something like this
2
votes
2answers
403 views

stuck at “make install”

I'm building the kernel (3.5) from /media/src_prog/linux-3.5/ to /media/sda5_k/. I've gone through the following steps: make O=/media/sda5_k/ menuconfig make -j2 O=/media/sda5_k/ make ...
3
votes
2answers
6k views

executing binary file: file not found

I know there are similar questions out there, but I haven't found a solution nor this exact case. The binary was built on Arch Linux using its GCC 4.7. The package works fine on the build system. The ...
4
votes
1answer
162 views

How are Linux kernel compile config's determined?

I am compiling my first Kernel (3.5 rc1) from source through menuconfig. Certain configuration options are pre-set. Who / what determines if they are pre-set? Does the make menuconfig somehow ...
2
votes
0answers
568 views

libbfd-2.22.so missing while compiling Binutils/Glibc/Zlib

When I try to compile Binutils, Glibc and Zlib using chroot on my LFS system, I get this error: ar: error while loading shared libraries: libbfd-2.22.so: cannot open shared object file: No such ...
3
votes
1answer
203 views

Archlinux gizmod

I've recently installed Archlinux on my laptop and it's been doing everything I needed except one thing: key bindings. I wanted to be able to use the volume buttons (including when in a full screen ...
2
votes
1answer
521 views

How to build Shallot

I am trying to build Shallot. I run x64 Debian Sqeeze. It runs into compile problems I don't understand... john@hayek:~/build/katmagic-Shallot-831de01$ make cc -O3 -I/usr/include ...
2
votes
1answer
2k views

Adding ssh on embedded linux

I want to run SSH on Qtopia (on my FriendlyARM). My own distribution is Ubuntu, so I cannot copy and paste the ssh binary file into the device. If I can copy and paste a binary file, where can I find ...
1
vote
1answer
1k views

Unable to find headers in GCC

I am trying to compile a program using GCC in SCO, and I am unable to find the ctype.h file. I have managed to find the other files that were missing when compiling, like string.h etc. I was getting ...
2
votes
1answer
116 views

determine what is processing command GB_INIT()

debian wheezy (raspbian armhf) and i'm struggling to compile gambas3 from source: pi@raspberrypi ~/gambas-svn $ ./configure checking whether to enable maintainer-specific portions of Makefiles... no ...
0
votes
1answer
466 views

Error compiling glib

I am trying to compile glib 2.24.2 under Debian 64bit GNU/Linux 6.0.4 (squeeze) using: gcc 4.0.3 glibc 2.3.6 Configure command: CPP="/home/swarkentin/externalBins/bin/cpp" \ ...
3
votes
0answers
156 views

target/build CFLAGS mixup when cross-emerging due to bug or my stupidity?

I'm trying to emerge LLVM using emerge from a crossdev (for ARM) overlay in Gentoo. I've set the CFLAG of the overlay to optimise for arm (-march=armv6j), which seems to make ./configure fail on the ...
4
votes
1answer
404 views

Embedded board with apache

I'm working on a Davinci DSP ARM embedded board. The board itself is the Texas Instruments 816X/389X EVM. I'm currently trying to get apache working on the board. The problem is that the SDK for the ...
1
vote
2answers
2k views

CentOS 6.3 (kernel 2.6.32-279) & wl-kmod won't compile

I have been trying (unsuccessfully) to compile a Broadcom driver for use on my CentOS laptop. Previously, I had used the instructions located here to compile and it worked flawlessly. Now, I cannot ...
8
votes
4answers
536 views

What could be causing make to hang when compiling on multiple cores?

Yesterday I was trying to compile the ROOT package from source. Since I was compiling it on a 6 core monster machine, I decided to go ahead and build using multiple cores using make -j 6. The ...
2
votes
1answer
3k views

How can I install my webcam on Debian?

I'm trying to install the webcam driver for my Logitech C210. After some googling Linux UVC driver seems to be what I need. I followed their typical use in hope to get it installed: git clone ...
4
votes
3answers
781 views

Mystery of binary files

This is about files straight from the compiler, say g++, and the -o (outfile) flag. If they are binary, shouldn't they just be a bunch of 0's and 1's? When you cat them, you get unintelligible ...
0
votes
0answers
564 views

How to set library searching path using environment variable in compile-time

-I option set header file searching path for gcc/g++, and CPLUS_INCLUDE_PATH/CPATH append the searching path list. Then what about libs? It seems that LD_LIBRARY_PATH is just a path list for ...