Date: Fri, 03 Oct 2003 20:31:37 +0300 From: Clau <clau@reversedhell.net> To: "Jacques A. Vidrine" <nectar@FreeBSD.org> Cc: ru@FreeBSD.org Subject: Re: "can't find kernel source tree" error when building the kernel. Message-ID: <3F7DB279.50802@reversedhell.net> In-Reply-To: <20031003172842.GA62106@madman.celabo.org> References: <3F7DAA8F.9050600@reversedhell.net> <20031003172842.GA62106@madman.celabo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
Jacques A. Vidrine wrote:
>On Fri, Oct 03, 2003 at 07:57:51PM +0300, Clau wrote:
>
>
>>hello,
>>
>>i just downloaded via cvsup the latest kernel for freebsd 5.1.
>>i had a problem with it, more exactly when i did a "make depend"
>>it stopped at some place, and gave me this error:
>>"can't find kernel source tree"
>>i fixed this by modifying this piece of code from /usr/src/sys/conf/kmod.mk
>>(it starts with line 167 in the file)
>>
>>.for _dir in ${.CURDIR}/../.. ${.CURDIR}/../../.. /sys /usr/src/sys
>>.if !defined(SYSDIR) && exists(${_dir}/kern/)
>>SYSDIR= ${_dir}
>>.endif
>>.endfor
>>.if !defined(SYSDIR) || !exists(${SYSDIR}/kern/)
>>.error "can't find kernel source tree"
>>.endif
>>
>>i removed the last "/" from "/kern/" and now it seems it can find the
>>directory.
>>i don't know if this is a general problem, or it is just in the case of
>>my system.
>>
>>
>
>How are you building the kernel? Are you using `make buildworld' first
>and then `make buildkernel' (or `make kernel')?
>
>Cheers,
>
>
cd /sys/i386/conf
/usr/sbin/config MYCONFIG
cd ../compile/MYCONFIG
make depend
make
make install
this is the entire process i do.
With respect,
Claudiu Dragalina-Paraipan.
clau@reversedhell.net
[-- Attachment #2 --]
0 *H
010 + 0 *H
00@
0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
030902143141Z
040901143141Z0G10UThawte Freemail Member1$0" *H
clau@reversedhell.net0"0
*H
0
0I(b2GՇ]u
QۭF.mz+]:9 b.9uEp'p"1i\^N
x6t
>)`g@}4rh_^>` VG4(e=|}ygu>c:_9 %
0K4W02M.;9@Z{_̩߫:zYMwN ~UdC`<S 2000 U0clau@reversedhell.net0U0 0
*H
Q{MKuN!pHCw}*-B!85SGU8b&X^>~.Q0ijcl:v
RE'w
"W1'n`ƶ600@
0
*H
0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA0
030902143141Z
040901143141Z0G10UThawte Freemail Member1$0" *H
clau@reversedhell.net0"0
*H
0
0I(b2GՇ]u
QۭF.mz+]:9 b.9uEp'p"1i\^N
x6t
>)`g@}4rh_^>` VG4(e=|}ygu>c:_9 %
0K4W02M.;9@Z{_̩߫:zYMwN ~UdC`<S 2000 U0clau@reversedhell.net0U0 0
*H
Q{MKuN!pHCw}*-B!85SGU8b&X^>~.Q0ijcl:v
RE'w
"W1'n`ƶ60?0
0
*H
010 UZA10UWestern Cape10U Cape Town10U
Thawte Consulting1(0&UCertification Services Division1$0"UThawte Personal Freemail CA1+0) *H
personal-freemail@thawte.com0
030717000000Z
130716235959Z0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA00
*H
0 Ħ<UsUNʙZhup[v:aQP
0cZ,p+Z?qV˯<6$*+w=+>@dקe*TH<a@dr` 00U0 0CU<0:08642http://crl.thawte.com/ThawtePersonalFreemailCA.crl0U0)U"0 010UPrivateLabel2-1380
*H
HP.
fgCL!6-6/P p<ab:~ t%Pb'qW%ݩ9 Oe_N4[5MwV!x!5$F]_eO1;070i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
0 + 0 *H
1 *H
0 *H
1
031003173137Z0# *H
1dc֩(JgD3KNj 0R *H
1E0C0
*H
0*H
0
*H
@0+0
*H
(0x +71k0i0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
0z*H
1ki0b10 UZA1%0#U
Thawte Consulting (Pty) Ltd.1,0*U#Thawte Personal Freemail Issuing CA
0
*H
D.ү;_Ӷ<*Sp8nkQ:K^Ɉ_5암*9bD"]^Ah#w) _~"į#8"?p Z2Ud&LK>>4R".4؋?*2`/N+b+mWR/۹pEڿ{D.SW
^){Y3,0x,%dq$~050;
u@0ytL216ci깆5feKwP
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7DB279.50802>
