[csw-users] zoneid_t compile error

Stephen Lau stevel at sun.com
Wed Aug 25 18:07:17 CEST 2004


does your <sys/types.h> have a typedef for zoneid_t?
(mine is on types.h:360)

-steve

On Wed, Aug 25, 2004 at 08:57:39AM -0700, Suresh Rajagopalan wrote:
> I edited inet_addr_local.c and included both <sys/types.h> and
> <sys/zone.h> but I still get the same problem.
> 
> This does not happen on 5.9/5.8.
> 
> Suresh
> 
> 
> On Tue, 24 Aug 2004, Stephen Lau wrote:
> 
> > what if you edit inet_addr_local.c and have it #include <sys/types.h>,
> > does that fix it?
> >
> > -steve
> >
> > On Tue, Aug 24, 2004 at 03:10:37PM -0700, Suresh Rajagopalan wrote:
> > > I'm running solaris 10_b60/sparc with blastwave packages. In trying to
> > > compile postfix (I need a customized version), I get the following error:
> > >
> > > gcc -DHAS_POSIX_REGEXP -Dstrcasecmp=fix_strcasecmp
> > > -Dstrncasecmp=fix_strncasecmp -DHAS_PCRE -I/opt/csw/include -g -O -I.
> > > -DSUNOS5 -c inet_addr_local.c
> > > In file included from inet_addr_local.c:41:
> > > /usr/include/net/if.h:368: error: parse error before "zoneid_t"
> > > /usr/include/net/if.h:390: error: parse error before '}' token
> > > gmake: *** [inet_addr_local.o] Error 1
> > > gmake: *** [update] Error 1
> > >
> > >
> > > Is this is a solaris or gcc error?  Any help is appreciated.
> > >
> > > Thanks
> > > Suresh
> > >
> > > _______________________________________________
> > > users mailing list
> > > users at lists.blastwave.org
> > > https://lists.blastwave.org/mailman/listinfo/users
> >
> > --
> > stephen lau | stevel at sun.com | x80845 | http://tas.sfbay/~stevel
> > _______________________________________________
> > users mailing list
> > users at lists.blastwave.org
> > https://lists.blastwave.org/mailman/listinfo/users
> >
> 
> _______________________________________________
> users mailing list
> users at lists.blastwave.org
> https://lists.blastwave.org/mailman/listinfo/users

-- 
stephen lau | stevel at sun.com | x80845 | http://tas.sfbay/~stevel



More information about the users mailing list