compiling kernel on linux universe

compiling kernel on linux universe

Post by Endi Sukma Dewa » Wed, 12 Jun 1996 04:00:00



Anybody uses Linux Universe?
I use Linux Universe w/ kernel version 1.2.13.
I tried to compile a new kernel without success.

The first error message appeared is:
    route.c:151: `RT_HASH_DIVISOR' undeclared here (not in a function)

Does anybody know what this means?

Thanks a lot!!

--
Endi S. Dewata
http://www.cs.utexas.edu/users/endisd

 
 
 

1. Linux Universe - Kernel compilation

Hi,

There were some articles regarding kernel compilation for Linux Universe
in this group recently.

This subject ist not dealt very well with in the book.

The following steps should be sufficient to build a personal 1.2.1-Kernel.
This version of the kernel has been running on my system for 26 days now,
so it should be fairly stable.
I want to try to build a Linux-1.2.11-Kernel containing the Universe patches
within the next days, and I will post the results.

So here is what to do for 1.2.1:

- install Linux Universe
- login as root
- 'distinstall -p base' (install the package base)
- 'distinstall -p gcc-i486-unknown-linux'
  (install package gcc-i486-unknown-linux, this is necessary, because the
   kernel could not be compiled as ELF, when Linux Universe was put together.)
- 'cd /usr'
- 'distinstall src'
- 'cd src'
- 'distinstall linux-1.2.1.tar.gz' (this file contains Linux-1.2.1 with the
                                    patches for Linux Universe)
- 'rm linux'
- 'rm linux-1.2.1'
- 'tar xzvf linux-1.2.1.tar.gz'
- 'ln -s linux-1.2.1 linux'
- 'cd linux'
- (set new PATH)
  - (Bash, default)
  - 'export PATH=/usr/pkg/gcc-i486-unknown-linux/i486-unknown-linux/bin:$PATH'
  - (if you have changed your shell to tcsh)
  - 'setenv PATH /usr/pkg/gcc-i486-unknown-linux/i486-unknown-linux/bin:$PATH'
- 'rehash'
- 'make symlinks'
- 'make config' (make sure to include support for ELF and probably File Cache)
- 'make dep'
- 'make clean'
- 'make zImage'
- 'mv /vmlinuz /vmlinuz.old'
- 'mv arch/i386/boot/zImage /vmlinuz'
- 'shutdown -r now' (reboot your system)
- if you like your new kernel and don't plan to recompile it in the near
  future, you might want to 'distinstall -u -p gcc-i486-unknown-linux'
  (get rid of the package gcc-i486-unknown-linux)

I hope this will help some people.

Bye,
       Rainer

--
Rainer Maurer
Xlink PoP Heilbronn

2. I-Phone server

3. Linux Universe kernel compilation?

4. Compiling Mosanim/Mosaic dynamically for Solaris 2.4 - HOWTO

5. Linux Universe (kernel 2.0)

6. HELP: disks report to be full, and du indicates strange things

7. Universe II and Kernel

8. driver source code for serial port

9. LINUX UNIVERSE -LINUX IN ELF FORMAT

10. Help on Linux Universe CD set please..To all you Linux GURUS out there

11. proposal: feed smaller mailing lists into linux-kernel, add linux-kernel-core and linux-kernel-bugs

12. Linux Universe -- any good? (Was: Problems with Linux Universe)

13. compile linux kernel with FreeBSD linux dev tools?