Port-amiga archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: compile kernel



> 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



Home | Main Index | Thread Index | Old Index