make dev problems

Tim Aslat tim at spyderweb.com.au
Thu Nov 6 16:40:41 PST 2003


In the immortal words of "Jason Burris" <spidey at oldskool.com>...
> The system didn't have the sources, so I downloaded the first CD ISO
> and extracted them from there into:
> 
> /usr/src/sys
> 
> Could there be more sources that I need to extract?
> 
> Also I tried the suggestion:
> 
> cd /usr/src
> make buildkernel KERNCONF=COMPUTERNAME
> <wait a bit>
> make installkernel KERNCONF=COMPUTERNAME
> 
> And I just got the message:
> 
> make: don't know how to make buildkernel. Stop
> 
> There is nothing in my /usr/src directory besides the /sys dir.

You only have the kernel sources, you need the rest of the base sources
and a make buildworld before you can compile the kernel.

You might want to consider installing cvsup (pkg_add -rv
cvsup-without-gui) and getting the latest version of the complete
sources.

for more details, the handbook is always a good source of information.

Cheers

Tim

-- 
Tim Aslat <tim at spyderweb.com.au>
Spyderweb Consulting
http://www.spyderweb.com.au
P: +61 8 82243020    M: +61 0401088479


More information about the freebsd-questions mailing list