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

learn more… | top users | synonyms (2)

0
votes
0answers
13 views

Error Installinig Kernel on Centos (from Source)

I am running GNU/Linux (Centos 6) on kernel 2.6.32-431.17.1.el6.x86_64. I am trying to update the kernel to 3.2.61. I performed the following steps inside the 3.2.61 folder structure: make ...
5
votes
2answers
82 views

Linux kernel manual build: resulting binary is 10 times larger than precompiled binaries

I'm using Linux Mint 13 MATE 32bit, I'm trying to build the kernel (primarily for experience and for fun). For now, I like to build it with the same configuration as precompiled kernel, so firstly ...
0
votes
1answer
33 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, ...
1
vote
1answer
33 views

“make test” failed while compiling Python

I compiled Python 3.4.1 on an emulated Debian 7 ARM system. make test failed on test_multiprocessing_fork: FAIL: test_semaphore_tracker (test.test_multiprocessing_fork.TestSemaphoreTracker) ...
3
votes
2answers
53 views

configure: error: C compiler cannot create executables

I am trying to upgrade apache 2.2.15 to 2.2.27. While running config.nice taken from apache2.2.15/build I am getting following error: checking whether the C compiler works... no configure: error: in ...
0
votes
1answer
20 views

Same native compilation for different distributions

Can I use a native build from fedora on ubuntu? What is the difference in compilation between distributions?
0
votes
1answer
18 views

Unable to build id3lib on Crunchbang

I'm trying to install id3lib in my new Crunchbang distro. So, I downloaded the tar.gz file and executed configure command which ran good. And when I run make I'm getting the following error: make[2]: ...
0
votes
1answer
182 views

“error: implicit declaration of function ‘vfs_readlink’” while installing VMware Tools

Been trying to reinstall vmware tools for my Fedora 20 VMware Fusion 6.0.4 Box for some time on my OSX Mavericks host now. After the Fedora update it was necessary so I could access Drop Box from the ...
1
vote
1answer
30 views

How can I exclude some library paths listed in “ pkg-config --variable pc_path pkg-config”?

I have Ubuntu 14.04 upgraded from 12.04 making dist-upgrades. I did many manual installations such as ffmpeg, libglib and so on, in the past. I have a nice custom distro now, it works well but I have ...
0
votes
3answers
29 views

Python compile error on openSUSE: no module named wx

I'm new to Linux. After installing openSUSE I'm trying to make my VPN software running. I've followed the site's direction: Unpack the general package [Other / Source code], install OpenVPN and ...
5
votes
1answer
100 views

Build Transmission 2.84 .deb package with checkinstall

I'm trying to compile and make by myself some .deb packages to keep my Raspbian more up to date than the repository. Now I want to update Transmission to v 2.84. Here's what I've done: Download the ...
1
vote
1answer
47 views

How do I compile source into the kernel?

I want to add and compile my custom application code into my kernel. How should I add my .c and .o files into my kernel 'bin' directory and compile them? I made a hello.c and hello.o file and I want ...
2
votes
2answers
46 views

Linux 2.6.36.4, GCC 4.7.2, getting lots of “variable set but not used” warnings

I am trying to compile the Linux kernel 2.6.36.4 on Linux Mint 14 running a 3.5 kernel by default. Using gcc version 4.7.2. Tried googling it, but didn't quite work out. The warning is: warning: ...
-1
votes
0answers
24 views

How to have a self-contained development environment under /home

I have access to a server with very good hardware but very old Linux. I constantly find that the API's I called are not found in the libraries installed by the package manager. So I decide to have my ...
1
vote
0answers
30 views

Build Mini Linux and Embedded Linux

How to build Mini Linux with Busybox, Kernel-3.15.3, Syslinux? I've built my Mini Linux using these steps: Steps in Building Base Mini Linux Distro 0 . Compile the kernel and see ...
0
votes
1answer
28 views

Where is <libraryname>.pc?

When installing a library with configure, make and make install, does make install copy <libraryname>.pc to some place? If yes: Where is it? If no: Should we copy it somewhere rather than ...
0
votes
1answer
13 views

kernel config with strange dependancies

I am trying to build the Android Linux kernel from source following this README. The instructions very clearly state: 1.1 Required enabled config options: After building a standard defconfig, ...
1
vote
0answers
33 views

Building HDF5 with GCC 4.7 and OpenMPI

I am trying to install hdf5 with GCC 4.7 from binary, because I do not have root permissions, using following script on a machine using CentOS release 5.6(AMD64bit): module purge module unload ...
0
votes
0answers
22 views

Source of biggest machine-code optimization

I've read somewhere that recompiling libc with the -march=native and -mtune=native flags will provide the maximum benefit for programs, where shared libraries are used instead of static libraries. Is ...
2
votes
1answer
55 views

ldd:FATAL: Unresolved symbol “getopt_long” called from Executable - using compiled binaries for QNX on arm. Why?

The Blackberry Playbook has formally reached EOL(april 2014), but I've installed BGShell, BGSSH-SCP-SFTP, and Term48 on it. So I have some ksh-like shell it seems with things like GNU awk 3.1.5, sed ...
1
vote
1answer
40 views

multiple ffmpeg library paths, how can exclude older ffmpeg installations?

I am trying to compile Simple Screen Recorder. I had a linker error due to a wrong library path relating to ffmpeg. When I checked installation paths with whereis ffmpeg, I get: ffmpeg: ...
1
vote
1answer
48 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 ...
4
votes
2answers
46 views

Find out extension of executable files?

When I am building software from source on a GNU+Linux system, during the ./configure stage I frequently see the following line: checking for suffix of executables... How do I create such a check ...
2
votes
1answer
34 views

Compilation error on Ubuntu

I'm trying to install the driver of the probe IPEH-00202242179, I downloaded an installation file with the following commands: $ cd peak-linux-driver-7.9 $ make clean $ make $ su -c "make install" ...
2
votes
1answer
61 views

View all disabled or hidden linux kernel options

I am trying to build a 3.12 Linux Kernel and I see some of the options (sub menus) are hidden and their branch (menu entry) is disabled in make menuconfig. [---- instead of being --->] I know ...
2
votes
1answer
44 views

What does make[number] mean in make V=s?

When I enable make V=s to read the full log of make. I always see make[numer] in the log. e.g: datle@debian:~/workspace/cpx/trunk$ make rm -rf openwrt/tmp cp config/defaut.config openwrt/.config cd ...
4
votes
1answer
99 views

Is building Perl an inside joke or is it supposed to require this many `make` invocations?

So I am building Perl version 5.18.2 from source on an ARMv7 processor right now, a Krait on the Snapdragon S4, and I am not too sure how much support there is for such an architecture. By the way, I ...
4
votes
2answers
225 views

Installing from source - do I need to keep the extracted tarball directory

If I'm installing from source, do I need to keep the extracted tarball directory? So if I download the git tarball. I then do: tar -xvzf git.tar.gz This will create a git.x.x. directory, into ...
2
votes
1answer
35 views

Automatized kernel upgrade

I am writing a BASH script that automatically configures, builds and installs the most recent kernel image. The generated kernel should include the grsecurity patchset. It would use the previous ...
2
votes
1answer
30 views

How do I find the NetBSD release for CentOS 6.5?

I want to find the NetBSD rump package used for CentOS 6.5. The list is present here. I want to get the rump package for CentOS and after searching, I found this version of netbsd-rump used in ...
0
votes
1answer
32 views

Cross Compiling - Platform Vs Architecture

Could someone explain, what is the precise definition of cross compilation. I am asking this because. When a program is compiled to a different platform (operating system) other than the host ...
2
votes
0answers
51 views

kernel build: why does 'make install' complain about missing modules?

I'm building a 3.2.x kernel on a RedHat Enterpise system. During 'make install' it takes a very long time and is complaining : ERROR: modinfo: could not find module xxx I assume its probing ...
0
votes
2answers
69 views

Library missing compiling XBMC from source

Somewhere between the 13 and 13.1 releases I was no longer able to compile XBMC from source. I was able to compile v13 when it was first released (from the Gotham branch). Then, 13.1 was announced and ...
8
votes
3answers
315 views

How does make continue compilation?

I know that I can interrupt a make process anytime without having to recompile the entire source tree again. As I know, make only compiles a target if it's not compiled yet, or the source code is ...
2
votes
2answers
82 views

Get ld to pick the correct library

I'm trying to compile a program prog and link it against OpenSSL's 1.0.2 beta, built from source and installed in /usr/local/ssl-1.0.2. On an older system using 0.9.8, this works without too much ...
1
vote
1answer
18 views

How to preserve .d files after kernel compilation?

I'm compiling third-party kernel modules. Their build system goes to /usr/src/linux-headers-[version] (of a custom kernel chroot) and runs make from there. I want to find out, which files - sources ...
1
vote
0answers
29 views

Load shared objects relative to executable path

I'm trying to get a C application to load shared objects from a relative directory regardless of where I call it from. So far it only works if I'm in the same directory as the executable when I call ...
3
votes
0answers
234 views

How to compile AMD Legacy driver on 64-bit kernel, Linux Mint 17

I'm trying to get the legacy driver for my HD 2400 GPU but I had an error while it was building. I looked at this answer, and have the same result, in the driver manager is empty: ...
2
votes
3answers
520 views

Run script without ./ before the name

I am running a quite complicated script which changes directories and runs many other commands. All these commands are run using 'scriptname', which works fine when I execute the main script from my ...
1
vote
1answer
114 views

configure error when trying to build OpenSSL on CentOS

I have a Centos 5.7 operating system box and I have installed OpenSSL 1.0.1h successfully. but when I am upgrading OpenSSH I am getting the below error message while running ./configure. Kindly help ...
1
vote
3answers
95 views

GCC: set architecture to pass to linker

GNU C compiler passes the wrong architecture name to the linker. For example gcc helloworld.i throws the error ld: unknown/unsupported architecture name: -arch arm. After some experimenting with LD, ...
1
vote
2answers
98 views

How do I determine which configuration options an rpm package is built with?

This is my first question and I'm still pretty new so please forgive me if I've missed or botched something, or if this is an obvious solution. I'm using CentOS 5.8 (yes I know it's ancient) and ...
2
votes
2answers
73 views

What is the best tool for automating the building 32-64bit libraries for Unix & Windows building C++ software, replicable by users and machines?

Is there a system or product that can be used in automating the process of building 32bit and 64bit libraries for multiple platforms (Solaris (Sparc & x86), and windows) used in building C++ based ...
0
votes
2answers
17 views

Can the --prefix path be the same as the directory where I downloaded/unzipped the source?

I was trying to build R myself and put it in a temp_R folder because I wrote .configure --prefix=/dir/where/I/wanted/to/put/R, but it seems that some of the important stuff was put in the temp_R ...
0
votes
0answers
79 views

Virtualbox installation

I'm trying to install virtualbox. But when I run dpkg -i {dpkg package} I get following error: sudo dpkg -i virtualbox-4.1_4.1.18-78361~Ubuntu~precise_amd64.deb Selecting previously unselected ...
1
vote
0answers
253 views

Installing Dummynet on Linux Ubuntu

I'm new to Ubuntu and I'm trying to install dummynet. I cannot however find a tutorial for Ubuntu. I've tried to follow this tutorial http://goo.gl/ZzKrpk however I get an error when making a kernel ...
1
vote
2answers
152 views

Cannot install libevent on CentOS 6.5

I'm on CentOS 6.5. Specifically, I'm running this AMI: Adobe Media Server 5 Extended. I followed these steps: $ sudo yum groupinstall "Development Tools" $ sudo yum install glib2-devel fuse-devel ...
1
vote
0answers
49 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 ...
1
vote
3answers
36 views

Sharing a project tree between environments

To save space and time I copied a large project tree on a network drive as hard links, i.e. cp -a -r --link proj proj_B (background: it's huge, needs to be rebuilt from two incompatible ...
1
vote
0answers
67 views

Kconfig - compiling kernel module

I stumbled over this site about USB video grabber under Linux, I'm trying to compile the code found here. I have read about makefiles but this one confuses me, cause it's so short: usbtv-y := ...