mntent.h creating problems - compiling gcc4

Jamie jamie at gnulife.org
Wed Nov 22 09:41:58 PST 2006



  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)


More information about the freebsd-questions mailing list