mntent.h creating problems - compiling gcc4

Kris Kennaway kris at obsecurity.org
Wed Nov 22 12:21:03 PST 2006


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?

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/20061122/bf7b06a9/attachment.pgp


More information about the freebsd-questions mailing list