Hi all,

I have encountered two problems.

1.While compiling the kernel in an attempt to reduce its size after executing 
make clean
make mrproper
cp the kernel image
make oldconfig
make dep

while executing make modules the
following errors are encountered


sysinfo.c:11:27: linux/compile.h: No such file or
directory
sysinfo.c: In function `svr4_sysinfo':
sysinfo.c:85: `UTS_VERSION' undeclared (first use in
this function)
sysinfo.c:85: (Each undeclared identifier is reported
only once
sysinfo.c:85: for each function it appears in.)
make[2]: *** [sysinfo.o] Error 1
make[2]: Leaving directory
`/usr/src/linux-2.4.18-3/abi/svr4'
make[1]: *** [_modsubdir_svr4] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.4.18-3/abi'
make: *** [_mod_abi] Error 2


for make modules_install these errors are encountered

make[2]: Entering directory
`/usr/src/linux-2.4.18-3/abi/svr4'
mkdir -p
/lib/modules/2.4.18-3Mykernel17apr/kernel/abi/svr4/
cp abi-svr4.o
/lib/modules/2.4.18-3Mykernel17apr/kernel/abi/svr4/
cp: cannot stat `abi-svr4.o': No such file or
directory
make[2]: *** [_modinst__] Error 1
make[2]: Leaving directory
`/usr/src/linux-2.4.18-3/abi/svr4'
make[1]: *** [_modinst_svr4] Error 2
make[1]: Leaving directory
`/usr/src/linux-2.4.18-3/abi'
make: *** [_modinst_abi] Error 2

How do we rectify these?
I am attaching the .config file as well.

Inspite  of having these errors when I boot, the kernel is working fine .Using this kernel I have developed  boot and root floppies.So when I use the boot floppy after booting, a root floppy is inserted 
as soon as this is done the following error is encountered

RAMDISK:compressed image found at block 0
Invalid compressed format(err=2)

What is the reason for these errors and how do I overcome them.
Any suggestions will be valuable

sowmya
smitha 


Get Your Private, Free E-mail from Indiatimes at http://email.indiatimes.com

 Buy The Best In BOOKS at http://www.bestsellers.indiatimes.com

Bid for for Air Tickets @ Re.1 on Air Sahara Flights. Just log on to http://airsahara.indiatimes.com and Bid Now!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testing.config
Type: application/octet-stream
Size: 43135 bytes
Desc: testing.config
Url : http://shadowknight.real-time.com/pipermail/tclug-list/attachments/20030425/90e0e7bd/testing.obj