Kernel v1.2.13 won't compile

Mark Umbach (umbachm@potomac.net)
Sat, 21 Dec 1996 12:27:47 -0500


This is a multi-part message in MIME format.

--------------47B3690D7156
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

I've tried to recompile my kernel for a couple of days now. I use the
following commands from the /usr/src/linuxelf-1.2.13 directory.

make mrproper
make config
make dep
make clean
make (at this point I have used zlilo, zImage, and vmlinux)

each time I try these commands, the kernel does compile into a file
named vmlinux in the current directory, with rwxr-xr-x rights on it.
When I try to rerun lilo using this file as a kernel image it tells me
"kernel /vmlinux too large" I need help with the make config so I can
make it small enough to compile.

My current working kernel is /vmlinuz v1.2.13 and is 455802 bytes. It
is compressed, and I would like to know how to create another compressed
image out of a newly compile image.

The machine is a 486SX-25 w/ 8MB RAM, and a 16MB swap file. My linux
partition is /dev/hdb1, and swap /dev/hdb2. LILO works fine at this
time, and i'll attach my lilo.conf files to this e-mail

Thanks in advance.
Sam Umbach
umbachm@potomac.net

--------------47B3690D7156
Content-Type: application/x-sh; name="lilo.update.sh"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="lilo.update.sh"

#!/bin/sh
( cd /etc )
if [ ! $1 ]; then echo -e "\aYou must type the device name after \"lilo.update.sh.\"\n (i.e. \"lilo.update.sh hda\")";
else (if [ -w lilo.conf ]; then mv lilo.conf lilo.conf.bak; fi
if [ -r lilo.conf.$1 ]; then ( ln -s lilo.conf.$1 lilo.conf; \
lilo/install; \
rm lilo.conf )
else echo -e "\aFile \"lilo.conf.$1\" does not exist."; fi) fi

--------------47B3690D7156
Content-Type: text/plain; charset=us-ascii; name="lilo.conf.hda"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="lilo.conf.hda"

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/hda
#compact # faster, but won't work on all systems.
default = dos
prompt
timeout = 50
vga = normal # force sane state
#ramdisk = 0 # paranoia setting
message = /boot/lilo.msg.hda
#verbose = 5
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hdb1
label = linux
alias = 1
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /vmlinuz.safe
root = /dev/hdb1
label = safe
alias = 4
read-only
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = dos
alias = 2
table = /dev/hda
# DOS bootable partition config ends

other = /dev/fd0
label = floppy
alias = 3
unsafe

--------------47B3690D7156
Content-Type: text/plain; charset=us-ascii; name="lilo.conf.fd0"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline; filename="lilo.conf.fd0"

# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/fd0
#compact # faster, but won't work on all systems.
prompt
timeout = 50
vga = normal # force sane state
#ramdisk = 0 # paranoia setting
message = /boot/lilo.msg.fd0
#verbose = 5
# End LILO global section
# Linux bootable partition config begins
image = /vmlinuz
root = /dev/hdb1
label = linux
alias = 1
read-only # Non-UMSDOS filesystems should be mounted read-only for checking
image = /vmlinuz.safe
root = /dev/hdb1
label = safe
alias = 4
read-only
# Linux bootable partition config ends
# DOS bootable partition config begins
other = /dev/hda1
label = dos
alias = 2
table = /dev/hda
# DOS bootable partition config ends

other = /dev/hda
label = harddrive
alias = 3

--------------47B3690D7156--