Subject: Re: Help with missing header error?
To: None <tech-pkg@netbsd.org>
From: walt <wa1ter@myrealbox.com>
List: tech-pkg
Date: 08/07/2005 07:55:36
On Sun, 2005-08-07 at 08:18 +0200, Bernd Ernesti wrote:
> On Sat, Aug 06, 2005 at 09:51:34AM -0700, walt wrote:
> > Geert has got the wip/jdk14 package almost working, except that
> > the javaplugin for mozilla/netscape won't compile.
> > 
> > This is long, but it is all one big compile statement, with the missing
> > header error at the end:
> > 
> [..]
> > _STREAMING_API -I/usr/pkg/include/mozilla/nspr  -c -o
> [..]
> 
> > Note that prtypes.h *is* really in the /usr/pkg/include/mozilla/nspr
> > directory where it belongs, and that directory is included in the
> > statement (see above).
> 
> Are you using the mozilla-gtk2 package?
> That package use mozilla-gtk2 instead of mozilla as for the name
> of the include directroy.

No, the path to the header is truly correct -- but the compiler
appears to ignore that -I/directory flag completely.  Geert says
the same pkg builds on FreeBSD but not on NetBSD, so I'm wondering
if this is a gcc problem which ignores flags under rare circumstances.
Dunno.