Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2010 11:08:07 -0600
From:      Dan Nelson <dnelson@allantgroup.com>
To:        Weihang Wang <weihang@vt.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Got an error: Unknown option "DDB_CTF"
Message-ID:  <20101122170806.GA58734@dan.emsphone.com>
In-Reply-To: <CB053608-596F-4326-81AF-1905DDFABBBC@vt.edu>
References:  <CB053608-596F-4326-81AF-1905DDFABBBC@vt.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Nov 22), Weihang Wang said:
> I am a totally newbie to FreeBSD. I am building a custom kernel based on
> FreeBSD 6.0 kernel (I have to use this version cause I need to run an
> application which is only available for FreeBSD 6.0).  I conform to the
> handbook to add the following lines in kernel configuration file to enable
> DTrace support:
> 
> options	KDTRACE_FRAME
> options	KDTRACE_HOOKS
> options	DDB_CTF
> makeoptions WITH_CTF=1
> 
> Then I use the following commands to recompile my kernel and install this
> new kernel:
> 
> make buildkernel KERNCONF=KERNELNAME
> make installkernel KERNCONF=KERNELNAME
> 
> The compiling process encounters an error: Unknown option "DDB_CTF", I
> have no idea how to fix this?

Just remove all references to CTF; that's for Dtrace support, which doesn't
exist in the 6.* branch.

You might also want to try running your application on FreeBSD 8.1 after
installing the misc/compat6x package.  Backwards binary compatibility
support is very good.

-- 
	Dan Nelson
	dnelson@allantgroup.com



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