From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3abcae98fd1b7475 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-19 22:57:52 PST Path: archiver1.google.com!newsfeed.google.com!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: Re: Compile error in Tru64UNIX V5.1 Date: 19 Jul 2001 22:57:52 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0107192157.59b12ab9@posting.google.com> References: <2f6bec0a.0107160506.57384f6e@posting.google.com> <3B5312FA.87308C1A@zk3.dec.com> <2f6bec0a.0107170433.464fceb6@posting.google.com> <3B54A804.1EB13AA8@zk3.dec.com> NNTP-Posting-Host: 211.117.39.54 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 995608672 24469 127.0.0.1 (20 Jul 2001 05:57:52 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 20 Jul 2001 05:57:52 GMT Xref: archiver1.google.com comp.unix.tru64:3720 Brian Haley 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?