0
votes
0answers
30 views

Missing macros for VSYSCALL in Linux 3.16.4

I am running Arch with kernel version 3.16.4. I need to compile a kernel module for running Intel Vtune '13 (r17). GCC reports the following: ...
0
votes
2answers
36 views

Compilation error when building a custom kernel

I'm trying to build a custom kernel from a git repository on my Ubuntu virtual machine. I run the make command as follows : sudo apt-get install vim libncurses5-dev gcc make git exuberant-ctags mkdir ...
1
vote
0answers
17 views

Compiling drivers for armada 370

I am trying to compile usb_serial drivers for a Mirabox with armada 370. I first tried as followes : Install linux source for 3.2 (running kernel is 3.2.36) Install linux headers for 3.2 Edit the ...
0
votes
1answer
162 views

Unable to 'make' anything.. Kernel-headers problem? Trying to get my RTL8723BE working

I'm a starting security/Linux student and I'm having headache-problems getting my wireless to work on Kali Linux. Recently I've bought a new laptop, to be specific the: Lenovo IdeaPad Z50-70-01418NL ...
2
votes
2answers
87 views

Linux cannot compile without GCC optimizations; implications? [closed]

One can find several threads on the Internet such as this: http://www.gossamer-threads.com/lists/linux/kernel/972619 where people complain they cannot build Linux with -O0, and are told that this is ...
5
votes
2answers
159 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 ...
1
vote
1answer
131 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
68 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
92 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
94 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
50 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
103 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
339 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
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 ...
2
votes
1answer
322 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
86 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
35 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
175 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
51 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
85 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
485 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
290 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
86 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
3k 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
3answers
921 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
34 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
107 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
1k 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
50 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 ...
0
votes
1answer
26 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
40 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
106 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
418 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
47 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
211 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
234 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
147 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
2answers
38 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
93 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
293 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
669 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
53 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
170 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 ...
46
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
995 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
483 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 ...
1
vote
0answers
369 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
648 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
461 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 ...