Compiling is the process of transforming source code into byte codes for a particular computer architecture.
4
votes
2answers
40 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
27 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
56 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
33 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
96 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
213 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
29 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
24 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
28 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
36 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
44 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
295 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
57 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
16 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
21 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
117 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
517 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
74 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
74 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
62 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
57 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
59 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
151 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
76 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
41 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
34 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
46 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
49 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 ...
1
vote
2answers
231 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
136 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
29 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
108 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
26 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
25 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
50 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
24 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
9 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
28 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
30 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
106 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
55 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
17 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
38 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
44 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
36 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
28 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
82 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
64 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
165 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 ...