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

learn more… | top users | synonyms (2)

1
vote
2answers
558 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
186 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
43 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
143 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
28 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
28 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
73 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
31 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
10 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
33 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
35 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
147 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
70 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
21 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
44 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
46 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
37 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
92 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
67 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
253 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
127 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
67 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
68 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
89 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 ...
2
votes
1answer
1k 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
110 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 ...
2
votes
2answers
599 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 ...
0
votes
1answer
53 views

Building Snapwm on FreeBSD (Problem of gcc and clang)?

According to FreeBSD, from version 10 they use Clang/LLVM instead of gcc. on the surface of it all things should perform as been before even better. but I have faced this reality more than I want to. ...
1
vote
2answers
353 views

Error compiling drivers for Ralink RT2870

Im trying to install drivers for a rosewill RNX-N600UBE wireless card (Ralink RT2870 chipset) on Kali Linux. I downloaded the drivers form their website and unpacked/unzipped them, but now when i try ...
2
votes
1answer
118 views

Compilation of gtkdialog with gcc fails on Solaris (cc1: error: invalid option `t')

I have Solaris 10 x86 just installed on my VBox, but I have problem with make and make install command. When I try to run this command I got error related to gcc compiler option -t: Here is config.log ...
1
vote
2answers
94 views

On OpenBSD, how do I recompile OpenSSL with md2 support?

I searched but couldn't find any similar questions. I need to recompile OpenSSL with md2 support so that I can compile and install libpki. I can't for the life of me figure out how recompiling OpenSSL ...
0
votes
0answers
19 views

Unable to link with shared object file

I am trying to generate traces of GPGPU benchmarks on X86 cpu using GPUocelot. For this reason, I am compiling the benchmarks with -locelot and -locelotTrace linker flags. My benchmarks compile and ...
1
vote
3answers
98 views

Enabling IP forwarding at kernel compile time

I am compiling a kernel for a router. I know a way to enable IP forwarding in an existing Linux system. At compile time, CONFIG_IP_FORWARD is said to do the same task. I am configuring version ...
0
votes
0answers
30 views

Need a different header path for compiling

I'm trying to update numpy, a python package, on my fresh install of debian. I have installed from source the latest version of python in /usr/local When trying to update numpy via pip, I get an ...
0
votes
0answers
35 views

How to generate a new rootfs and add blobs

Before reading this question please take two seconds to read my last questions : How to add folders and file before compiling kernel To sum up I want to add a folder @ rootfs which one has to hold ...
0
votes
1answer
313 views

Can't run executable file on Ubuntu, terminal expects sudo, or gives errors like “Invalid or incomplete multibyte or wide character”

I'm trying to run executable files on Ubuntu, but it's not working, although the exact same executable file works fine on others' machines, which are also running Ubuntu 12.04 like me. Based on this, ...
1
vote
2answers
117 views

Building zsh without admin priv: No terminal handling library found

I am trying to install Zsh without root privileges on a Linux machine. I downloaded the source tarball and run: ./configure --prefix=<my_installation_path> but then I got: configure: ...
3
votes
3answers
77 views

Source files with `*.in` extension

When poking around in some source code trees, sometimes I encounter files with extension "*.in", typically for non-compiled files that belong somewhere under /etc or /usr/share. For example, in ...
3
votes
2answers
185 views

How to add folders and file before compiling kernel

I'm building custom Android Kernel based on Cyanogenmod ROM' kernel source code. What I need to do is to add folders and files into the root folder of the OS ("/"). For instance, after having ...
0
votes
1answer
23 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 ...
0
votes
1answer
35 views

Linux Kernel Compile-time options for Seagate IDE drive

I am configuring linux kernel 3.12.14 obtained from linux.org for compiling using 'make gconfig'. My question is what options exactly I need to enable to make it work for my Seagate IDE HDD? I am ...
1
vote
1answer
21 views

How to compile xbindkeys

I cloned the git repository of xbindkeys using: git clone git://git.sv.gnu.org/xbindkeys.git I want to compile it. How can I do this? Where can I find the compile instructions? What are the ...
3
votes
1answer
149 views

What is the “kernel build”, and where do I get it?

I am trying to compile OpenOnload from Solarflare for my nic on a server that I'm building. It is saying something about not having a kernel build. root@server:/usr/src/openonload-201310-u2# ...
0
votes
1answer
133 views

Trouble using `make gconfig` in ubuntu linux

I am trying to compile vanilla Linux kernel 3.12.14 downloaded from kernel.org. When I try make gconfig, it says: * Unable to find the GTK+ installation. Please make sure that * the GTK+ 2.0 ...
1
vote
1answer
76 views

fmem compile error with make

I am a beginner in the Linux world and I'm trying to figure out how to run the make command. I'm trying to make use of fmem (a tool found on the internet), and it is said that "make" must be run from ...
1
vote
1answer
44 views

Set makeprg to gradlew

First a bit of context for those who don't know gradle. It's basically like make except that you don't have to have gradle installed on your computer. It ships with projects as a file called gradlew. ...
4
votes
1answer
174 views

How to strip unused architectures, drivers, etc from headers when building a custom linux kernel?

I am building custom linux kernel packages in a Ubuntu 13.10 amd64 environment usingapt-get source linux-image-$(uname -r)the debian way make-kpkg clean;fakeroot make-kpkg --initrd ...
0
votes
1answer
394 views

RPM: Installed (but unpackaged) file(s) found on Centos 6 with CUPS 1.7.1

Trying to install CUPS 1.7.1 on Centos 6.5 via RPM, I use: # rpmbuild -ta cups-1.7.1-source.tar.bz2 --without dbus --without libusb1 but stops with below error: Checking for unpackaged file(s): ...
1
vote
2answers
107 views

CUPS libusbx-devel is needed error when trying to build cups-1.7.1 from source

I have been trying to build CUPS 1.7.1 on RHEL 5.6 using $ sudo rpmbuild -ta ./cups-1.7.1-source.tar.bz2 and was getting: error: Failed build dependencies: libusbx-devel is needed by ...