I am trying to build 32-bit linux kernel 2.6.9 on a 64-bit linux host with 2.6.9 (same version). Did some google search and tried the following:
step 1) make ARCH=i386 CFLAGS=-m32 menuconfig
step 2) make ARCH=i386 CFLAGS=-m32
Step 1 was okay. But step 2 got the following errors. What did I do wrong?
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 cant install wine.
My Debian kernel is linux-image-2.6.32-5-amd64, and the command uname -m returns x86_64. However, apt-get do get i386 packages (those /var/cache/apt/archives/*_i386.deb), but never get amd64 package.
I want to install virtualbox, but neither -i386 nor -amd64 work for me.
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 am getting weird results after compiling the code shown below:
$ g++ -rdynamic -o ../../kernel kernel.cpp.o ../../lib/led.so ../../lib/remote.so -L"../../lib" -lcore -ldl
$ ldd ../../kernel linux-gate.so.1 => (0x0059c000)
../../lib/led.so (0x00b2a000)
libdl.so.2 => /lib/i386-linux-gnu/libdl.so.2 (0x00ed5000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0x008
so i am building a series of custom kernels...
for one of them i am using a kernel that is older than my currently installed ones.
i am using rpm to install this kernel and it will not install, period.
does anybody know a work around, i don't get why i can't install this....what does it matter
When I use sudo apt-get install I get the following errors when installing any package: (This example is while installing Gnome extensions)
Reading package lists... Done
Building dependency tree
Reading state information...
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 .