From owner-freebsd-questions@FreeBSD.ORG Wed Nov 22 17:41:57 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 E7A5416A40F for ; Wed, 22 Nov 2006 17:41:57 +0000 (UTC) (envelope-from jamie@gnulife.org) Received: from floyd.gnulife.org (ns1.gnulife.org [207.191.130.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9FC2043D72 for ; Wed, 22 Nov 2006 17:41:21 +0000 (GMT) (envelope-from jamie@gnulife.org) Received: from floyd.gnulife.org (localhost.gnulife.org [127.0.0.1]) by floyd.gnulife.org (8.12.11/8.12.11) with ESMTP id kAMHbY4j021234 for ; Wed, 22 Nov 2006 11:37:34 -0600 (CST) (envelope-from jamie@gnulife.org) Received: from localhost (jamie@localhost) by floyd.gnulife.org (8.12.11/8.12.11/Submit) with ESMTP id kAMHbYLk021231 for ; Wed, 22 Nov 2006 11:37:34 -0600 (CST) (envelope-from jamie@gnulife.org) X-Authentication-Warning: floyd.gnulife.org: jamie owned process doing -bs Date: Wed, 22 Nov 2006 11:37:34 -0600 (CST) From: Jamie To: freebsd-questions@freebsd.org Message-ID: <20061122111131.U19707@floyd.gnulife.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 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 17:41:58 -0000 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? Commands I'm running: mkdir gcc-build cd gcc-build ../gcc-4.0.3/configure --prefix=/tools --disable-nls --enable-shared --enable-languages=c make bootstrap - Jamie The Moon is Waxing Crescent (4% of Full)