[plug] Compiling

Scott, Simon Simon.Scott at SEALCORP.com.au
Mon Apr 17 09:31:39 WST 2000


The correct sequence is 

		make mrproper (altho I dont think this does alot)
		make clean
		make xconfig (altho I use make menuconfig, xconfig sometimes
misses options)
		make dep
		make bzImage (or zImage etc there are a few)
		make modules
		at this point I rename my /lib/modules/2.2blah modules
directory, to make way for the new one... I may be wrong with this, but if I
dont I get lots of problems at boot due to the stale modules lying around)
		make modules_install (will create the /lib/modules/2.2blah
directory for you)

by doing make clean where you are, I believe you are probably wiping out the
dependency info it has built. Thus the kernel probably isnt building, thus
error 1


> ------------------------------------------------------
>  Simon Scott
>  DBA
>  Sealcorp Holdings Limited
>  Perth, WA
>  e-mail:  simon.scott at sealcorp.com.au
>  phone:  08 9265 5648
> ------------------------------------------------------
4.31 How many times can you re-use CD-RW before they become faulty? 
Good question. 
(Linux CD-Writing HOWTO,
http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO-4.html#ss4.31)




-----Original Message-----
From: Ken Sheldrick [mailto:kyak1 at iinet.net.au]
Sent: Saturday, 15 April 2000 4:18
To: plug at plug.linux.org.au
Subject: [plug] Compiling


Using  an existing Kernel I moved to  /usr/src/linux  and typed:

*  make  mrproper
* make  xconfig
* make dep
* make clean
* make zImage
* make modules
* make modules-install

and then moved to :  /usr/src/linux/arch/i386/boot
to find no zImage , and a search also finding that it had not gone
anywhere else,
a scan of the text in the terminal showed a message:   make: ***
[vmlinux] error 1

Can any one help me with the error message ??



mmmmmm ................cant think of anything smart.







More information about the plug mailing list