From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 17:08:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D3FA5106566B for ; Mon, 22 Nov 2010 17:08:08 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email2.allantgroup.com (email2.emsphone.com [199.67.51.116]) by mx1.freebsd.org (Postfix) with ESMTP id 99B6E8FC1A for ; Mon, 22 Nov 2010 17:08:08 +0000 (UTC) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email2.allantgroup.com (8.14.4/8.14.4) with ESMTP id oAMH87K5037977 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 11:08:07 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.4/8.14.4) with ESMTP id oAMH87Na041437 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 22 Nov 2010 11:08:07 -0600 (CST) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.4/8.14.4/Submit) id oAMH87nB041428; Mon, 22 Nov 2010 11:08:07 -0600 (CST) (envelope-from dan) Date: Mon, 22 Nov 2010 11:08:07 -0600 From: Dan Nelson To: Weihang Wang Message-ID: <20101122170806.GA58734@dan.emsphone.com> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-OS: FreeBSD 8.1-STABLE User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.96.4 at email2.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.6 (email2.allantgroup.com [199.67.51.78]); Mon, 22 Nov 2010 11:08:07 -0600 (CST) X-Scanned-By: MIMEDefang 2.68 on 199.67.51.78 Cc: freebsd-questions@freebsd.org Subject: Re: Got an error: Unknown option "DDB_CTF" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Nov 2010 17:08:08 -0000 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