From owner-freebsd-questions@FreeBSD.ORG Wed Nov 22 21:37:36 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id DD5EE16A403 for ; Wed, 22 Nov 2006 21:37:36 +0000 (UTC) (envelope-from buhnux@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.FreeBSD.org (Postfix) with ESMTP id 988374440C for ; Wed, 22 Nov 2006 21:23:24 +0000 (GMT) (envelope-from buhnux@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so615580nfc for ; Wed, 22 Nov 2006 13:23:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=de/WcihNRx/tIZwvaytlGvERgyezRNGu/ObLq37OPTypEOgJDpdA+Ta5Q4GsGRcEA37mj8ZlNsVmWRIXJwb/0fRljhza2lhlv3X68bURt7NXFVaSBHZvBGqedVGpacmAC8X6QsJyg+90eD1bCDcEpAz+L2puJn5J08K9q9sFZv4= Received: by 10.82.141.4 with SMTP id o4mr958508bud.1164230633343; Wed, 22 Nov 2006 13:23:53 -0800 (PST) Received: by 10.82.112.15 with HTTP; Wed, 22 Nov 2006 13:23:53 -0800 (PST) Message-ID: Date: Wed, 22 Nov 2006 16:23:53 -0500 From: "Michael Johnson" Sender: buhnux@gmail.com To: Jamie In-Reply-To: <20061122145124.B21681@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20061122111131.U19707@floyd.gnulife.org> <20061122202041.GA40610@xor.obsecurity.org> <20061122145124.B21681@floyd.gnulife.org> X-Google-Sender-Auth: 92effbde7cfb6bc6 Cc: freebsd-questions@freebsd.org, Kris Kennaway Subject: Re: mntent.h creating problems - compiling gcc4 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: Wed, 22 Nov 2006 21:37:36 -0000 On 11/22/06, Jamie wrote: > On Wed, 22 Nov 2006, Kris Kennaway wrote: > > > On Wed, Nov 22, 2006 at 11:37:34AM -0600, Jamie wrote: > > > > > > > > > Greetings! > > > > > > I am having trouble compiling gcc 4.0.3 on FreeBSD 4.9. The compiler > > > seems to be referencing mntent.h and the compilation fails with: > > > > > > from /usr/include/mntent.h:2, > > > from ../../../gcc-4.0.3/libmudflap/mf-hooks2.c:97: > > > /usr/include/mntent.h:2:20: error: #include nested too deeply > > > > > > > > > I am compiling this with gcc 2.95 and gnu make 3.80. > > > > > > Does anyone know why it's trying to include mntent.h? From what I've > > > read, this is a system V header file, so I can't understand why . Are > > > there any switches I should be passing to make? > > > > Why not use the FreeBSD port? > > > Because learning how to use some of the other tools outside the scope of > the ports tree is kind of interesting, imho. I'd like to learn more about > gcc and other tools for building software in FreeBSD, even if its just a > purely academic pursuit. > > I guess working on a layer lower than the ports collection adds some > satisfaction to my curiousity. > You could always look in ports to see what configure flags, patches, or any other changes needed to compile on FreeBSD. > There are those who use their cars solely for transportation, and others > who enjoy restoring them/taking them apart/modifying them. I think the > same kind of principles apply. Those just using their vehicles for > transportation scratch their heads and wonder why anyone would have an > interest in anything other than hassle free service. > > > > > > > > > > Kris > > > > The Moon is Waxing Crescent (4% of Full) > _______________________________________________ > 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" >