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

learn more… | top users | synonyms (2)

0
votes
1answer
48 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
114 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
359 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
370 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
467 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
27 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
88 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
1k views

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

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
542 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
509 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
209 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, ...
2
votes
2answers
613 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
181 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
20 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
159 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
781 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
904 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 ...
2
votes
0answers
99 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
45 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
165 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 := ...
0
votes
1answer
74 views

Why does kernel-devel contain so many “empty” directories?

I have been a Windows kernel developer for many years. Now I start to develop Linux kernel modules. To begin with, I installed kernel-devel under /usr/src/kernels/$(uname -r). However, after checking ...
2
votes
2answers
6k views

Error in compiling file using gcc: “/bin/sh: g++: command not found”

I want to compile a c++ program in Fedora Linux, but the program isn't compiled correctly. I got the following error: /bin/sh: g++: command not found make[1]: [*.o] Error 127 make[1]: Leaving ...
2
votes
1answer
359 views

LFS 7.5 - Glibc-2.19 compile errors at section 6.9, are they fatal to my LFS build?

I am using a host Ubuntu 14.04 system, and I am currently going through the Linux From Scratch guide here. At section 6.9, http://www.linuxfromscratch.org/lfs/view/stable/chapter06/glibc.html, after ...
0
votes
0answers
105 views

Cannot compile samtools due to errors caused by libz

I am having the same problem with samtools-0.1.19 installation. But we have libz.so.1.2.3 . gcc -c -fPIC -g -Wall -O2 -D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -D_USE_KNETFILE -D_CURSES_LIB=1 -I. ...
2
votes
2answers
594 views

Segmentation faults during compilation - where to begin?

I have a particular problem I need solved right now, but I'd really like to know a good strategy for approaching this type of problem - segmentation faults when compiling other people's code, so I'm ...
0
votes
1answer
3k views

make[2]: *** [sub-make] Error 2 make[1]: *** [all] Error 2

I tried to install MADWIFI on my OpenMediaVault-Server. Any more information needed? I get this error, every time i enter make: root@NAS2024:/media/5703066A59887FF7/Dsys/madwifi-0.9.4# make Checking ...
0
votes
1answer
43 views

Is there any alternative to genext2fs in RHEL?

I am tryting to make initrd file system following [this tutorial][1] My host system is RHEL 6 64 bit. I am unable to get the required command: genext2fs No rpm is available for it, neither ...
1
vote
1answer
70 views

Why is the .config file not copied to /boot after installing new kernel?

I run across such a weird problem: According to this: The kernel and modules must be moved to special locations in order to be used, 1. make modules_install 2. make install The first ...
1
vote
2answers
693 views

What is Binary package? How to build them?

I want to get detail about binary package and run them on linux. I am running Debian base (Ubuntu/Linux mint) Linux os. How to build binary package from source? And can I directly download binary ...
0
votes
0answers
61 views

Cannot build sox with FLAC support

I'm trying to configure and build sox v14.4.1 with FLAC support enabled, on Ubuntu. I have downloaded and installed flac and done an sudo ldconfig (just in case the libs were wrongly linked), but ...
0
votes
0answers
24 views

Compilation under Yocto

I've got an image installed with Yocto and a custom distribution on it (kernel 3.1). Theoretically, can I compile code with GCC and execute the binaries on my Yocto ? Can I develop an application on ...
1
vote
1answer
82 views

Pre-compiled Finale substitute for Fedora 20?

I recently lost my dual-booted HDD (with both Linux and Windows). It did some weird stuff and started changing all files to read-only on every start-up. So, I bought a new HDD and put Fedora 20 on it. ...
1
vote
0answers
60 views

How to compile Chromium OS [closed]

I know that there is this guide, but every time I tried to compile Chromium OS I never finished. I need some clear instructions to compile Chromium OS project and install it on my machine. There is ...
1
vote
0answers
303 views

Installing openambit on Ubuntu 12.04

My question is in regards to installing openambit which is software for Suunto's ambit watch. I followed the installation instructions here but it didn't work. When I did: $ mkdir libambit-build $ ...
1
vote
0answers
221 views

Some questions compiling linux kernel with make-kpkg

I'm doing my first steps compiling the linux kernel and adding a new system call. I've managed to do it, but I still have some questions. For this task, I has set up a Virtual Machine guesting debian ...
1
vote
1answer
62 views

Build kernel with multi_v7_defconfig setting

What is multi_v7_defconfig used for and how do I build the Linux kernel with this? I think I can write this into config file as: CONFIG_multi_v7_defconfig=y Please correct me if I'm wrong.
1
vote
1answer
52 views

How to compile to a specific executable format?

I'm a bit confused. I just read this: http://www.es.freebsd.org/doc/handbook/binary-formats.html, which basically says that freeBSD uses the elf binary format. But when I compile my code I using cc, I ...
1
vote
0answers
64 views

Is it possible to make Linux to autocompile my LaTeX-document

Is it possible to do the following in Linux? I'm writing a particular LaTeX-file using Nano. I would like to have my document compiled every time I save my document, i.e. I press F3.
2
votes
1answer
38 views

What means the labels =>, ==>, ===>, ====>, -, — and a certain number of spaces after them in an output of the command make install?

I'm writing a script and I need to mark several blocks of its output. To unify is not bad to use the labels like the output of the command such as make install. They are at the beginning of many ...
1
vote
0answers
88 views

u-boot compilation error

I am trying to build u-boot and getting these error No private recovery resources for TARGET_DEVICE G0 Building U-boot make -C u-boot ARCH=arm fio-om3xxx_config make[1]: Entering directory ...
1
vote
1answer
156 views

Why does PyCrypto require a C compiler?

Is there a python crypto library that does not rely on anything besides python? Or pre-complied bundles of PyCrypto for Linux?
1
vote
2answers
90 views

Do I compile Ubuntu Source code on Red Hat System?

If we install the Red Hat System then can we compile the other distros of linux on the Red Hat server system? If so, please provide me the tutorials and links.
0
votes
1answer
560 views

modpost.h:12:23: fatal error: elfconfig.h: No such file or directory

I am running Ubuntu: #lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise Kernel info: 3.8.0-38-generic ...
1
vote
2answers
582 views

FATAL: Module hello.ko not found

I'm using CentOS-6.5 and default kernel is 2.6.32-431.11.2.el6.x86_64. I downloaded 2.6.32 and built that kernel (under /lib/modules/2.6.32). I wrote a module for simple hello world program. This ...
0
votes
1answer
106 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
1answer
436 views

error while executing make commad in ubuntu terminal

While trying to install the som_pak-3.1-NAcMoS.tar.gz file, I've used the below commands: $ tar xvf som_pak-3.1-NAcMoS.tar.gz $ cd som_pak-3.1 $ cp makefile.unix makefile $ make $ cd .. $ ln -s ...
2
votes
3answers
154 views

Placement of kernel binary and sources for kernel module building?

I'm trying to setup an environment for kernel module development in Linux. I've built the kernel in the home folder and would like to place the sources and binaries to the correct place so include ...
4
votes
1answer
5k views

Unable to load module: Disagrees about version of symbol module_layout

Following this tutorial to write my first driver. The Makefile is: # Makefile – makefile of our first driver # if KERNELRELEASE is defined, we've been invoked from the # kernel build system and can ...
4
votes
2answers
132 views

How do you separate /bin and /sbin when making an RPM?

I'm trying to make a redis RPM using fpm When I run the following commands, all binaries are installed to /tmp/installdir/usr/local/bin cd /tmp/redis2-8 PREFIX=/tmp/installdir/usr/local/ make ...
3
votes
2answers
5k views

/usr/bin/ld: cannot find -lcrypt (rhel 6 )

System info [root@xilinx busybox-1.22.1]# uname -r 2.6.32-71.el6.x86_64 Following errors come when I make busybox on rhel 6: /usr/bin/ld: cannot find -lcrypt collect2: ld returned 1 exit status ...