From owner-freebsd-questions@FreeBSD.ORG Thu Nov 23 01:19:28 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 8390E16A40F for ; Thu, 23 Nov 2006 01:19:28 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3254243D62 for ; Thu, 23 Nov 2006 01:18:56 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id D444B1A3C1C; Wed, 22 Nov 2006 17:19:27 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id B443F515FB; Wed, 22 Nov 2006 20:19:12 -0500 (EST) Date: Wed, 22 Nov 2006 20:19:12 -0500 From: Kris Kennaway To: Jamie Message-ID: <20061123011912.GB45406@xor.obsecurity.org> References: <20061122111131.U19707@floyd.gnulife.org> <20061122202041.GA40610@xor.obsecurity.org> <20061122145124.B21681@floyd.gnulife.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cvVnyQ+4j833TQvp" Content-Disposition: inline In-Reply-To: <20061122145124.B21681@floyd.gnulife.org> User-Agent: Mutt/1.4.2.2i 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: Thu, 23 Nov 2006 01:19:28 -0000 --cvVnyQ+4j833TQvp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 22, 2006 at 03:05:04PM -0600, Jamie wrote: > On Wed, 22 Nov 2006, Kris Kennaway wrote: >=20 > > 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? >=20 >=20 > 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. >=20 > I guess working on a layer lower than the ports collection adds some > satisfaction to my curiousity. >=20 > 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. OK, but your car has apparently caught caught fire, and you're standing right next to a free bus stop :-) Kris --cvVnyQ+4j833TQvp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFZPcQWry0BWjoQKURAsHRAJ0eMVuI4932g3rsMhU4uPJd2eCKNwCeOw0h rCzVaj3zOwjcOCPAp7AxFyc= =wp2f -----END PGP SIGNATURE----- --cvVnyQ+4j833TQvp--