Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Nov 2006 11:37:34 -0600 (CST)
From:      Jamie <>
Subject:   mntent.h creating problems - compiling gcc4
Message-ID:  <>

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


  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

make bootstrap

      - Jamie

The Moon is Waxing Crescent (4% of Full)

Want to link to this message? Use this URL: <>