From owner-freebsd-questions@FreeBSD.ORG Sat Dec 6 01:46:05 2008 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 8A0C31065675 for ; Sat, 6 Dec 2008 01:46:05 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 0CB1D8FC1D for ; Sat, 6 Dec 2008 01:46:04 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1L8mF9-000660-1H for freebsd-questions@freebsd.org; Sat, 06 Dec 2008 01:46:03 +0000 Received: from pool-138-88-90-120.res.east.verizon.net ([138.88.90.120]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Dec 2008 01:46:03 +0000 Received: from nightrecon by pool-138-88-90-120.res.east.verizon.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 06 Dec 2008 01:46:03 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Michael Powell Followup-To: gmane.os.freebsd.questions Date: Fri, 05 Dec 2008 20:45:46 -0500 Lines: 55 Message-ID: References: <4939D0FB.9090304@videotron.ca> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: pool-138-88-90-120.res.east.verizon.net Sender: news Subject: Re: custom kernel X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: nightrecon@verizon.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Dec 2008 01:46:05 -0000 PJ wrote: [snip] Read carefully: > uvscom.o (.text+0x293): In function 'uvscom_attach' ; > :undefined reference to 'ucom_attach' etc..... > *** Error code 1 See further down at bottom. > did I do something wrong? system is still on and functioning but how do > I make the custom kernel? The canonical first thing to do is to see if your system will build GENERIC. If it does not you have done something to the OS. If GENERIC builds OK and your custom kernel config will not, there is something broken with your config file. Remember to cd /usr/obj and rm -rf usr or make clean first. Always clean out the stale leftovers prior to build. > this is my kernel file: > > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 > rwatson Exp $ I'm at home and only have two GENERIC conf files to look at. RELENG_7: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.15 2008/11/24 00:52:26 yongari Exp $ RELENG_7_0: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $ > cpu I686_CPU > ident MYKERNEL > > # To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" # Default places to look for devices. [snip] > # USB Serial devices > #device ucom # Generic com ttys [snip] > device uvscom # USB serial support for DDI pocket's PHS [snip] Read the error message. It is failing to build uvscom because uvscom depends on #device ucom and you have ucom commented out. -Mike