From owner-freebsd-current@FreeBSD.ORG Tue Dec 23 17:15:19 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85EBF16A4CE; Tue, 23 Dec 2003 17:15:19 -0800 (PST) Received: from mhub-m5.tc.umn.edu (mhub-m5.tc.umn.edu [160.94.23.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3DEF643D50; Tue, 23 Dec 2003 17:15:18 -0800 (PST) (envelope-from ryans@gamersimpact.com) Received: from [24.107.70.120] by mhub-m5.tc.umn.edu with ESMTP; Tue, 23 Dec 2003 19:15:17 -0600 From: Ryan Sommers To: Craig Rodrigues In-Reply-To: <20031224005024.GA78326@crodrigues.org> References: <20031224005024.GA78326@crodrigues.org> Content-Type: text/plain Message-Id: <1072228313.702.3.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Tue, 23 Dec 2003 19:11:53 -0600 Content-Transfer-Encoding: 7bit cc: freebsd-current@freebsd.org cc: harti@freebsd.org cc: peter@freebsd.org Subject: Re: Error building if_fatm.c X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Dec 2003 01:15:19 -0000 On Tue, 2003-12-23 at 18:50, Craig Rodrigues wrote: > /usr/src/sys/dev/fatm/if_fatm.c: In function `fatm_open_vcc': > /usr/src/sys/dev/fatm/if_fatm.c:2285: warning: comparison between pointer and integer > *** Error code 1 This is just a warning, it isn't what is causing the error. It looks like you are compiling with the -j option and this will sometimes hide the real cause of the failure. Try compiling without -j and see what the error condition is it is hitting. PS As for the redefinition of NULL you could change it to that, or just cast NULL to an int. Ryan -- Ryan "leadZERO" Sommers Gamer's Impact President ryans@gamersimpact.com ICQ: 1019590 AIM/MSN: leadZERO -= http://www.gamersimpact.com =-