Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: Brian Haley <haley@zk3.dec.com>
Subject: Re: Compile error in Tru64UNIX V5.1
Date: Tue, 17 Jul 2001 17:03:00 -0400	[thread overview]
Message-ID: <3B54A804.1EB13AA8@zk3.dec.com> (raw)
In-Reply-To: 2f6bec0a.0107170433.464fceb6@posting.google.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?


> 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?

-Brian

---------------------------------------------
Brian P. Haley
Tru64 UNIX Networking Group
Compaq Computer Corporation



  reply	other threads:[~2001-07-17 21:03 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 [this message]
2001-07-20  5:57       ` Ginny E. Kim
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