Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Oct 2003 19:57:51 +0300
From:      Clau <clau@reversedhell.net>
To:        freebsd-hackers@freebsd.org, freebsd-current@freebsd.org
Subject:   "can't find kernel source tree" error when building the kernel.
Message-ID:  <3F7DAA8F.9050600@reversedhell.net>

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

[-- Attachment #1 --]
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.

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`<S2000 U0clau@reversedhell.net0U00
	*H
Q{MKuN!pHCw}*-B!85SGU8b&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`<S2000 U0clau@reversedhell.net0U00
	*H
Q{MKuN!pHCw}*-B!85SGU8b&X^>~.ƒQ0ijcl:v
RE'w
"W1'n`ƶ60?0
0
	*H
010	UZA10UWestern 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`00U00CU<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
031003165752Z0#	*H
	1n(A\j0T?::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
E$L%}pZ-Oi߃$˵"*L^JJ 5TlJu>3;8,@rMe#0>W*csIJY[i
;Tt7-5F*d/Ks
im5@msOsjK81#P6Wtm@>ݦTv1nAo5p"ذaljюscY45+$Ѣ_lAؽ6B

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3F7DAA8F.9050600>