1
vote
1answer
25 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
26 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 ...
1
vote
0answers
27 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 ...
1
vote
1answer
38 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: ...
2
votes
1answer
33 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
0answers
48 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 ...
8
votes
3answers
312 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 ...
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 ...
2
votes
1answer
180 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
37 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. ...
0
votes
1answer
27 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
0answers
69 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
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
243 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
124 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
66 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 ...
2
votes
1answer
994 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 ...
1
vote
1answer
328 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 ...
0
votes
0answers
18 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 ...
0
votes
0answers
58 views

How to install libevent tmux?

I've been trying to install libevent / ncurses / tmux into '$HOME/local', but am having an issue running .configure for tmux. What I am trying to do is install it as follows: TMUX_VERSION=1.8 ...
3
votes
3answers
742 views

Self-built kernel: failed to mount /dev: No such device

I am trying to install a Linux kernel (3.8.1) from source in a Fedora distribution. The kernel is a vanilla one. I follow the kernel's build instructions closely that is: make menuconfig make sudo ...
1
vote
2answers
44 views

Slight change to command to compile C++ program causes error

This morning , I was trying to compile a C++ program using the following command on the command line g++ -o foo.cpp foo I spend about an hour trying t to resolve why I kept getting undefined ...
17
votes
1answer
823 views

Configuring, compiling and installing a linux kernel

I'd like to try using a kernel other than the one provided by my distro -- either from somewhere else, or as customized by me. Is this difficult or dangerous? Where do I start?
0
votes
1answer
14 views

Enabling carl9170 in xconfig

I am building the sunxi-linux kernel for a cubieboard and I need the carl9170 driver to make a usb wifi adapter work. I am using the 3.4 sunxi kernel, and no matter what I do in xconfig, I cannot ...
0
votes
2answers
27 views

How to modify source code of collection of programs of a GNU/Linux OS? [closed]

Basically the title says everything, Ubuntu/Fedora (to mention a few ones) is composed for several applications or programs dedicated each one to a specific task, but I've got a few questions: How ...
1
vote
1answer
72 views

Cooking EDID and finding values for .S file

It became really annoying and the resolution is bad so I decided to make my EDID and pass that to the Kernel. (I am creating EDID for S20A300B and samsung says in its page the best RES for this ...
1
vote
1answer
202 views

Saving a kernel config file through menuconfig results with different options?

I'm experimenting with different kernel configuration files and wanted to keep a log on the ones I used. Here is the situation: There is configuration file called my_config which i want to use as ...
2
votes
1answer
44 views

Make Install Linux Kernel Location Change

I have already run make to compile the Linux Kernel 3.12.6, but when I run make install, I don't want it to install it in /boot (as I don't want another OS on the hard disk). How can I change it so it ...
-1
votes
1answer
141 views

How to install libesedb? Build error

I'm trying to build the libesedb package so I can read edb files. I went to: http://code.google.com/p/libesedb/wiki/Building and found the following: tar xfv libesedb-alpha-<version>.tar.gz cd ...
2
votes
1answer
175 views

How to build nginx on Ubuntu with cache_purge module?

I have been trying to rebuild nginx with cache_purge module from here. I did the following and somehow the new build doesn't seem to include the module: Installed nginx Stopped it Installed build ...
1
vote
0answers
92 views

Where to get UUID libraries and code

What is the difference between the libuuid that comes with the util-linux-ng package and the one that comes with e2fsprogs? Also, if I want to compile libuuid from source, where should I get said ...
1
vote
1answer
28 views

Cross compiling libSDL

I'm trying to cross-compile libSDL version 1.2 for a custom made, Debian based Linux system. The toolchain I'm using is already configured properly so that I just run gcc/g++ on the desired code and ...
1
vote
2answers
80 views

Minimal Linux, stuck at building GRUB

I am trying to build a minimal linux, for experimenting out with drivers (LLD 3 book refers kernel version 2.6.10). LFS looks out to be a hell of a task, and I am not sure of if I would be able to ...
1
vote
0answers
225 views

How to compile and install iperf on a MIPS based router?

I have a DIR-825 router based on Atheros AR7161 (MIPS) running DD-WRT v24-sp2 std. How can I compile and install iperf on it? Can I compile it directly on the target device, or do I have to cross ...
2
votes
0answers
579 views

“Kernel panic - not syncing” after building Centos-6/elrepo 3.10.19 kernel from source

I need to rebuild the Centos-6 / elrepo 3.10.19 kernel from source. Background: the GVision touch screen drivers are incompatible with kernels > 3.8 and require source code patches to add code to ...
1
vote
1answer
51 views

How can I compile, install and run the tools inside kernel/tools?

There are some tools in side the kernel, <kernel source root directory>/tools perf is one of them. In ubuntu I think the tools inside this folder is available as package linux-tools How ...
0
votes
0answers
127 views

How to compile video4linux for ARM?

I would like to use a webcam using a Linux over ARM board. Through reading, I have discovered video4linux so I would like to compile it for ARM. My unique notes are: git clone ...
44
votes
5answers
2k views

How to compile the C compiler from scratch, then compile Unix/Linux from scratch

Let's say I work for a large services organisation outside the US/UK. We use UNIX and Linux servers extensively. Reading through this article it mentions that it would be easy to insert a backdoor ...
1
vote
2answers
784 views

How to make OpenWrt Makefile compile faster?

I have recorded that it took 50 minutes for an initial compilation of the OpenWrt firmware image, assuming all the necessary packages have been installed via sudo apt-get install. My BuildRoot Root ...
2
votes
1answer
371 views

Compile the Ubuntu “Raring” Kernel with the Intel Compiler

Of course, the first question is: why I'm doing this. Just for fun! I'm learning more about Linux kernels and I have a virtual machine that I can replace in 15 minutes. Getting to business, I don't ...
0
votes
0answers
39 views

Install Fedora/Ubuntu from its source code using virtual box

How can I compile Fedora/Ubuntu from its source code by using some kind of virtual machine? Actually I want to trace some signals; especially termination signals SIGTERM SIGINT and SIGKILL. ...
1
vote
0answers
330 views

Compiling PHP-FFMPEG Extension

cd ffmpeg-php* phpize ./configure --with-ffmpeg=/usr/local/cpffmpeg make Then I end up with the following issues on my make: ... ... ... /usr/src/ffmpeg-php-0.6.0/ffmpeg-php.c:86: warning: ...
2
votes
1answer
68 views

What happens to the old binary when a new one compiled from source?

I've compiled git from source after git from the repository was already installed via the package manager. In that process, the "from source" git took its place as the "main system git". ...
3
votes
2answers
566 views

Why does Linux have a C compiler by default?

Why does a Linux distribution have gcc installed in advance? Is it because most of the applications in linux are written in C? What would happen if the gcc directory is deleted?
1
vote
3answers
279 views

cant compile install and Configure any linux kernel in debian 7

I followed these steps from the link: (http://www.howopensource.com/2011/08/how-to-compile-and-install-linux-kernel-3-0-in-ubuntu-11-04-10-10-and-10-04/) but these commands don't work: sudo make ...
4
votes
1answer
502 views

Backporting OpenSSL-1.0.1e to Debian Lenny (armv4l)

I have an old embedded board that supports only Debian Lenny. I need to install OpenSSL-1.0.1e on it. If I download the source code then try to compile the source code, I get this error ...
0
votes
1answer
278 views

USB-Serial Driver(Exar Xr21v1414) Run Error

I'm currently trying to run the bellow driver in linux-3.8.3 on Exar xr21v1414 http://www.exar.com/connectivity/uart-and-bridging-solutions/usb-uarts/xr21v1410, but when i install the driver ...
2
votes
1answer
476 views

rrdtool 1.4.7 compilation fail : glib-2.0/glib.h

I am trying to compile rrdtool from the source package. I don't use RPM packages, so don't ask me to install packages ;) I compile all the required software before rrdtool according to ...
3
votes
2answers
2k views

Disable stack protection on Ubuntu for buffer overflow without C compiler flags

I'd like to try some shell codes and I want to disable linux protections. I know I could compile using flags but I know another way exists to disable these protections in general I just can't ...