Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 11:37:34 -0600 (CST)
From:      Jamie <jamie@gnulife.org>
To:        freebsd-questions@freebsd.org
Subject:   mntent.h creating problems - compiling gcc4
Message-ID:  <20061122111131.U19707@floyd.gnulife.org>

Next in thread | Raw E-Mail | Index | Archive | Help


  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)



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?20061122111131.U19707>