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-17 05:33:56 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: 17 Jul 2001 05:33:55 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0107170433.464fceb6@posting.google.com> References: <2f6bec0a.0107160506.57384f6e@posting.google.com> <3B5312FA.87308C1A@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 995373235 6884 127.0.0.1 (17 Jul 2001 12:33:55 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 17 Jul 2001 12:33:55 GMT Xref: archiver1.google.com comp.unix.tru64:3572 -------------------------------^ cc: Error: /sys/include/machine/pcb.h, line 179: In the declaration of "x", the array bound "((int)(&((struct stack_layout ...)(0))->pcb)&127)?-1:1" is not a positive integer. (notposint) struct _pcb_align_check { char x[((int)stack_to_pcb(0) & 127) ? -1 : 1]; }; -------------------------------- 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). > 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. 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?