mntent.h creating problems - compiling gcc4

Kris Kennaway kris at obsecurity.org
Wed Nov 22 17:19:28 PST 2006


On Wed, Nov 22, 2006 at 03:05:04PM -0600, Jamie wrote:
> On Wed, 22 Nov 2006, Kris Kennaway wrote:
> 
> > 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?
> 
> 
>   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.
> 
>   I guess working on a layer lower than the ports collection adds some
> satisfaction to my curiousity.
> 
>   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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061123/ebc3d43a/attachment-0001.pgp


More information about the freebsd-questions mailing list