Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Feb 2005 12:02:16 -0500
From:      "Arun Pereira" <arun@velcom.com>
To:        "Jay Shampur" <shampurj@gmail.com>, <freebsd-current@freebsd.org>
Subject:   Re: Kernel compile problems
Message-ID:  <018e01c51b5b$c28f6b00$9b02a8c0@cerberus>
References:  <6d2a982f05022507565bebcc50@mail.gmail.com> <20050225162401.GB13053@gargantuan.com> <6d2a982f050225083047197bc8@mail.gmail.com> <20050225163733.GC13053@gargantuan.com> <6d2a982f05022508564ca521d7@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

----- Original Message ----- 
From: "Jay Shampur" <shampurj@gmail.com>
To: "Jay Shampur" <shampurj@gmail.com>; <freebsd-current@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@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@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@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?018e01c51b5b$c28f6b00$9b02a8c0>