From owner-freebsd-isdn@FreeBSD.ORG Wed Jan 9 21:01:07 2008 Return-Path: Delivered-To: freebsd-isdn@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4876916A417 for ; Wed, 9 Jan 2008 21:01:07 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe10.swip.net [212.247.155.33]) by mx1.freebsd.org (Postfix) with ESMTP id D9EE313C44B for ; Wed, 9 Jan 2008 21:01:06 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe10.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 591938090; Wed, 09 Jan 2008 18:57:54 +0100 From: Hans Petter Selasky To: freebsd-isdn@freebsd.org Date: Wed, 9 Jan 2008 18:58:35 +0100 User-Agent: KMail/1.9.7 References: <70338.25704.qm@web92006.mail.cnb.yahoo.com> In-Reply-To: <70338.25704.qm@web92006.mail.cnb.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200801091858.35993.hselasky@c2i.net> Cc: Subject: Re: how do i compile isdn4bsd with asterisk? X-BeenThere: freebsd-isdn@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Using ISDN with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jan 2008 21:01:07 -0000 Hi Lizhong! What CPU architecture are you using ? If you are using i386, you can do like this: cp -i /sys/i386/conf/GENERIC /sys/i386/conf/custom "/sys" is often a symlink to "/usr/src/sys". Then you append the lines you need to the "custom" kernel config file, which are printed when you type "make help" in the "FreeBSD.i4b" directory of my package. When you compile the kernel you pass the "KERNCONF=custom" option to the "make" program like shown by the help menu. --HPS PS: I did an upgrade of the USB stack shipped with my I4B package yesterday, and I am not sure if it compiles on all architectures and all versions of FreeBSD yet.