I am building 32-bit linux kernel on 64-bit linux host. (version 2.6.9 both on host and the target).
I'm compiling Linux kernel 2.6.15.5 and there is a problem
LDS arch/i386/kernel/vsyscall.lds
AS arch/i386/kernel/vsyscall-int80.o
AS arch/i386/kernel/vsyscall-note.o
SYSCALL arch/i386/kernel/vsyscall-int80.so
gcc: error: elf_i386: No such file or directory
make[1]: *** [arch/i386/kernel/vsyscall-int80.so] Error 1
gcc version: 4.6
I am using Ubuntu-11.10 amd64 and trying to cross-compile a linux-2.6.38.8 kernel for a 32-bit target.I tried
make CROSS_COMPILE=i686-linux- ARCH=i386
But I got error
make: i686-linux-gcc: Command not found
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CC kernel/bounds.s
/bin/sh: i686-linux-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepar
I'm following to this guide: http://fedoraproject.org/wiki/Building_a_custom_kernel
But on this step rpmbuild -bb --target=`uname -m` kernel.spec I get the following errors:
Code:
+ mv kernel-3.1.0-i686-PAE.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=i386
+ make ARCH=i386 listnewconfig
+ grep -E '^CONFIG_'
.config:4658:warning: override: reassigning to symbol DEBUG_BLK_CGROU
I have a driver source which includes linux/module.h.
The following error occurred during compile.
the kernel source is: 2.6.33.6-147.2.4fc13.i686
the compiler is: gcc-4.4.4-2.fc13.i686
Any hint or answer?
I recently mistakenly executed some commands I'd like to undo.
In an attempt to compile flightgear 2.8 for Ubuntu 12.04 I stupidly used the following commands from and OS/X guide:
export CFLAGS="-g -O2 -fPIC -arch i386 -arch x86_64"
and export CXXFLAGS="-g -O2 -fPIC -arch i386 -arch x86_64"
as well as cmake .
I am getting an error when running the following makefile with make -f makefile2 install (apart install the rest is working):
all:myapp
#which compiler
CC = gcc
#Where to install
INSTDIR = /usr/local/bin
#where are include files kept
INCLUDE = .
#Options for development
CFLAGS = -g -Wall -ansi
#Options for release
# CFLAGS = -O -Wall -ansi
myapp: main.o 2.o 3.o
$(CC) -o myapp main.o 2.o
http://seclists.org/oss-sec/2013/q1/326
Linux kernel stack corruption due to race condition with PTRACE_SETREGS
-----------------------------------------------------------------------
A race conditon in ptrace can lead to kernel stack corruption and arbitrary
kernel-mode code execution.
Quote:
Kernel patch for easy reproduction:
diff --git a/arch/x86/kerne
The below is the error i'm getting while making a zImage..
Can anyone help me in this?