Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: banny52@yahoo.com (Ginny E. Kim)
Subject: Re: Compile error in Tru64UNIX V5.1
Date: 19 Jul 2001 22:57:52 -0700	[thread overview]
Message-ID: <2f6bec0a.0107192157.59b12ab9@posting.google.com> (raw)
In-Reply-To: 3B54A804.1EB13AA8@zk3.dec.com

Brian Haley <haley@zk3.dec.com> wrote in message news:<3B54A804.1EB13AA8@zk3.dec.com>...
> "Ginny E. Kim" wrote:
> 
> > For first error, if I remove that function(struct _pcb_align_check)in
> > header file, /sys/include/machine/pcb.h, it has no problem....
> > Is this Tru64UNIX V5.1 problem itself?
> >
> > I didn't get the answer about first problem(above).
> 
> I'm in the Networking Group and don't know the answer, but it's
> probably related to _KERNEL as well.
> 
> > ipv6_swtab.h only includes proto_ipv6.h if _KERNEL is defined from
>  
> > > what I can tell, so why are you defining it?  Are you really doing IPv6
> > > development or just including a header based on a man page comment?
> >
> > My program is a kind of device driver, so it use _KERNEL.
> 
> I'm curious why your device driver needs to know about Internet
> protocols, it shouldn't.  Have you read the "Writing Device Drivers"
> book?

I'm develping firewall in compaq tru64unix platform. And, I want to
make main firewall module to be loadable kernel module(driver). I
should know about Internet protocols supporting IPv6.
> 
> > What case is _KERNEL defined in operating system(V5.1)?
> > That is, what case does system use defined _KERNEL?
> > Whether it is developed IPv6 or just included a header based-on a man
> > page comment, is it a problem header file itself? How can I compile
> > without header file of IPv6, with not having compiling error?
> 
> _KERNEL is defined when you need kernel internal data
> structures and functions visible to you, like in device drivers
> or loadable protocol modules.  What header are you including
> that eventually includes ipv6_swab.h (which includes proto_ipv6.h)
> and why are you including it?

I had included "netinet/in.h" in my program.. It(netinet/in.h) include
"netinet/in6.h", and as same way, "netinet/in6.h" include
"netinet/ipv6_swtab.h"....so, I had compiling error above...
I think "netinet/in.h" included in my program is essential header file
in program using internet protocol...

Until now, I didn't get solutions about that problem..
Could you give me one solution?


      reply	other threads:[~2001-07-20  5:57 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16 13:06 Compile error in Tru64UNIX V5.1 Ginny E. Kim
2001-07-16 16:14 ` Brian Haley
2001-07-17 12:33   ` Ginny E. Kim
2001-07-17 21:03     ` Brian Haley
2001-07-20  5:57       ` Ginny E. Kim [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox