Re: Kernel compile problems

From: Arun Pereira <arun_at_velcom.com>
Date: Fri, 25 Feb 2005 12:02:16 -0500
----- Original Message ----- 
From: "Jay Shampur" <shampurj_at_gmail.com>
To: "Jay Shampur" <shampurj_at_gmail.com>; <freebsd-current_at_freebsd.org>
Sent: Friday, February 25, 2005 11:56 AM
Subject: Re: Kernel compile problems


> On Fri, 25 Feb 2005 11:37:33 -0500, Michael W. Oliver
> <michael_at_gargantuan.com> wrote:
>> On 2005-02-25T11:30:42-0500, Jay Shampur wrote:
>> > On Fri, 25 Feb 2005 11:24:01 -0500, Michael W. Oliver
>> > <michael_at_gargantuan.com> wrote:
>> >> On 2005-02-25T10:56:56-0500, Jay Shampur wrote:
>> [...]
>> >>> KERNBUILDDIR="/usr/obj/usr/src/sys/GENERIC" make  cleandir
>> >>> +for: not found
>> >>> *** Error code 127
>>
>> >>> Stop in /usr/src/sys/modules.
>> >>> *** Error code 1
>>
>> >>> Stop in /usr/obj/usr/src/sys/GENERIC.
>> >>> *** Error code 1
>>
>> >>> Stop in /usr/src.
>> >>> *** Error code 1
>>
>> >>> Stop in /usr/src.
>> >>> ----------------
>>
>> >>> HELP !!!
>>
>> >>> Thank you...Jay
>>
>> >> Check out what Harti says about the `make' problem in this message:
>>
>> >> http://lists.freebsd.org/pipermail/freebsd-current/2004-August/033693.html
>>
>> > Hi Mike,
>> >
>> > I looked at the message, but there is no such folder ie:
>> >
>> > /usr/obj/usr/src/rescue/rescue/rescue.mk.
>> >
>> > In the /usr/obj/src/ there is only the sys folder
>>
>> That is because you have only tried to build your kernel, not the entire
>> world.
>>
> Mike,
>
> Thank you - if I understand the process, this is what I need to do?
>
> make buildworld
> make installworld
>
> make buildkernel KERNCONF=GENERIC
> make installkernel KERNCONF=GENERIC
>
> Also, I am not trying to upgrade my system, just rebuilding it with
> some new options.
>
> Thanks again...Jay
>
>
>> --
>> Mike Oliver
>> [see complete headers for contact information]
>>
>>
Try this as a single statement
make buildworld && make buildkernel KERNCONF=GENERIC && make installkernel 
KERNCONF=GENERIC && make installworld && reboot
:)
I use this statement all the time and it works fine.
>>
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"
>
> 
Received on Fri Feb 25 2005 - 17:00:56 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:29 UTC