From owner-freebsd-hackers@FreeBSD.ORG Tue May 15 14:33:14 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6C56616A406 for ; Tue, 15 May 2007 14:33:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from rwcrmhc14.comcast.net (rwcrmhc14.comcast.net [204.127.192.84]) by mx1.freebsd.org (Postfix) with ESMTP id 594D413C45D for ; Tue, 15 May 2007 14:33:14 +0000 (UTC) (envelope-from jdc@koitsu.dyndns.org) Received: from icarus.home.lan (c-71-198-0-135.hsd1.ca.comcast.net[71.198.0.135]) by comcast.net (rwcrmhc14) with ESMTP id <20070515142311m1400iqhvle>; Tue, 15 May 2007 14:23:11 +0000 Received: by icarus.home.lan (Postfix, from userid 1000) id 475B01FA020; Tue, 15 May 2007 07:23:11 -0700 (PDT) Date: Tue, 15 May 2007 07:23:11 -0700 From: Jeremy Chadwick To: Manolo Valdes Message-ID: <20070515142311.GA13314@icarus.home.lan> References: <200705150955.40383.nolis71cu@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200705150955.40383.nolis71cu@gmail.com> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: freebsd-hackers@freebsd.org Subject: Re: issue with net/if_ppp.h X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 May 2007 14:33:14 -0000 On Tue, May 15, 2007 at 09:55:40AM -0400, Manolo Valdes wrote: > Hi guys > > doing a test just like the way cmake do it to find includes on the system > > ######test.c###### > > #include > int main(){return 0;} > > ################ What exactly are you trying to do here? This is not how you write C software. You're missing quite a lot of other (standard) #includes, which is why you're seeing the errors you are. > this test works on on Linux systems. That's nice. > does anybody knows if this is a bug or problem with the net/if_ppp.h header? It's a bug in your .c file, yes. :-) -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |