Subject: Re: compile kernel
To: =?iso-8859-2?Q?P=E5llen?= <pollen@astrakan.hig.se>
From: Adam Ciarcinski <adam@albedo.com.pl>
List: port-amiga
Date: 10/16/1998 20:19:06
> I haven't been able to compile the kernel. After an hour or so I get this:
> 
> ../../../../ufs/ffs/ffs_balloc.c:1: syntax error before `endorse'
> ../../../../ufs/ffs/ffs_balloc.c:4: empty character constant
> ../../../../ufs/ffs/ffs_balloc.c:10: syntax error before `PROFITS'
> 
> Even with the unmodified GENERIC kernel.


Hi,

Once again, how to compile a kernel (compare with what you've done):

1. Unpack kernel sources (you can get for example the current kernel)
	cd /usr
	tar zxpf sys.tar.gz

2. Change directory to /usr/src/sys/arch/amiga/config
	cd /usr/src/sys/arch/amiga/config

3. Configure kernel sources
	config GENERIC

4. Change directory to /usr/src/sys/arch/amiga/compile/GENERIC
	cd ../compile/GENERIC

5. Make the kernel
	make depend
	make

6. If kernel was build successfully, install the new kernel
	mv /netbsd /netbsd.bak
	mv netbsd /

Tell me if it worked out :)

	regards

		- Adam