From owner-freebsd-questions@FreeBSD.ORG Mon Nov 22 20:17:18 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 C8679106566C for ; Mon, 22 Nov 2010 20:17:18 +0000 (UTC) (envelope-from weihang@vt.edu) Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by mx1.freebsd.org (Postfix) with ESMTP id 80F138FC0A for ; Mon, 22 Nov 2010 20:17:18 +0000 (UTC) Received: from dagger.cc.vt.edu (dagger.cc.vt.edu [198.82.163.114]) by lennier.cc.vt.edu (8.13.8/8.13.8) with ESMTP id oAMKGa7k031065; Mon, 22 Nov 2010 15:16:36 -0500 Received: from auth3.smtp.vt.edu (EHLO auth3.smtp.vt.edu) ([198.82.161.152]) by dagger.cc.vt.edu (MOS 4.1.8-GA FastPath queued) with ESMTP id NVT98464; Mon, 22 Nov 2010 15:16:36 -0500 (EST) Received: from [172.31.134.48] (nc65205b7.cns.vt.edu [198.82.5.183]) (authenticated bits=0) by auth3.smtp.vt.edu (8.13.8/8.13.8) with ESMTP id oAMKGaxq003720 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 22 Nov 2010 15:16:36 -0500 Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Weihang Wang In-Reply-To: <20101122170806.GA58734@dan.emsphone.com> Date: Mon, 22 Nov 2010 15:16:36 -0500 Content-Transfer-Encoding: quoted-printable Message-Id: References: <20101122170806.GA58734@dan.emsphone.com> To: Dan Nelson X-Mailer: Apple Mail (2.1081) X-Mirapoint-Received-SPF: 198.82.161.152 auth3.smtp.vt.edu weihang@vt.edu 2 pass X-Mirapoint-IP-Reputation: reputation=neutral-1, source=Fixed, refid=n/a, actions=MAILHURDLE SPF TAG X-Junkmail-Status: score=10/50, host=dagger.cc.vt.edu X-Junkmail-SD-Raw: score=unknown, refid=str=0001.0A020201.4CEACFA4.0256,ss=1,fgs=0, ip=0.0.0.0, so=2009-09-22 00:05:22, dmn=2009-09-10 00:05:08, mode=single engine X-Junkmail-IWF: false 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 20:17:18 -0000 Hi, Thank you so much for your help. But I am still concerned about the = backward compatibility.=20 First I have to use DTrace to instrument the kernel to do performance = analysis. At the same time, the program I need to build on the FreeBSD = is a kind of transport protocol, which is based on the FreeBSD 6.0. The = transport protocol may change the network stack of the kernel networking = system, so I do not know whether this would work. Hope to hear from you. Thank you very much. Best, W.Wang On Nov 22, 2010, at 12:08 PM, Dan Nelson wrote: > 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: >>=20 >> options KDTRACE_FRAME >> options KDTRACE_HOOKS >> options DDB_CTF >> makeoptions WITH_CTF=3D1 >>=20 >> Then I use the following commands to recompile my kernel and install = this >> new kernel: >>=20 >> make buildkernel KERNCONF=3DKERNELNAME >> make installkernel KERNCONF=3DKERNELNAME >>=20 >> The compiling process encounters an error: Unknown option "DDB_CTF", = I >> have no idea how to fix this? >=20 > Just remove all references to CTF; that's for Dtrace support, which = doesn't > exist in the 6.* branch. >=20 > 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. >=20 > --=20 > Dan Nelson > dnelson@allantgroup.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to = "freebsd-questions-unsubscribe@freebsd.org"