On Thu, 2004-02-05 at 13:15, Nicolas wrote:
> Hello.
> I am a newbie trying to build a new kernel. I have been following the handbook 
> step by step but I still do something wrong. I copied GENERIC and did some 
> changes and called my new kernel MOAK. I put it into /root/kernels and typed:
> ln -s /root/kernels/MOAK

if that's all you typed then it's incorrect. Try:

ln -s /root/kernels/MOAK /usr/src/sys/i386/conf/MOAK

which basically just creates a shortcut to the original file residing in
/root/kernels.

>  I cvsuped src all and ports all.
> Then and did: make -j4 buildworld.
>  No problem. 

good.

> Then I rebooted and went into single user mode and typed: 
> make buildkernel KERNCONF=MOAK.

that's fine, though the only time you really should boot into single
user mode is when you doing a install world. Doesn't hurt though.

>  
> Then I get this output:
> config: /usr/src/sys/i386/conf/MOAK:274: syntax error
> Error code 1
> stop in /usr/src
> error code 1
> Stop in /usr/src

see above.

> Is there something wrong in MOAK (see attachment)???
> Hope that somebody can offer me some help. 
> Many thanks Nicolas

you may also want to read /usr/src/UPDATING

Regards,
-- 
Nelis Lamprecht
PGP: http://www.8ball.co.za/pgp/nelis.key
"Unix IS user friendly.. It's just selective about who its friends are."

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to