From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,3abcae98fd1b7475,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-07-16 06:06:58 PST Path: archiver1.google.com!news2.google.com!postnews1.google.com!not-for-mail From: banny52@yahoo.com (Ginny E. Kim) Newsgroups: comp.unix.tru64 Subject: Compile error in Tru64UNIX V5.1 Date: 16 Jul 2001 06:06:58 -0700 Organization: http://groups.google.com/ Message-ID: <2f6bec0a.0107160506.57384f6e@posting.google.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 995288818 20590 127.0.0.1 (16 Jul 2001 13:06:58 GMT) X-Complaints-To: groups-support@google.com NNTP-Posting-Date: 16 Jul 2001 13:06:58 GMT Xref: archiver1.google.com comp.unix.tru64:3549 I got following errors while compiling my program in Tru64UNIX V5.1 (For your information, it has no problem in Tru64UNIX V4.0F) -------------------------------^ 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]; }; -------------------------------^ cc: Warning: /sys/include/netinet/proto_ipv6.h, line 98: In this declaration, the enum "in6_disposition" is not defined. (undefenum) enum in6_disposition ip6_process_fragment P((struct ip6_rxinfo * const, ^ cc: Warning: /sys/include/netinet/proto_ipv6.h, line 125: In this declaration, the enum "nd6_cache_state" is not defined. (undefenum) struct nd6_llinfo *nd6_cache_lookup P((struct in6_ifnet *, -------------------------------------^ cc: Warning: /sys/include/netinet/ipv6_swtab.h, line 65: In this declaration, the enum "nd6_cache_state" is not defined. (undefenum) struct nd6_llinfo * (*nd6_cache_lookup) P((struct in6_ifnet *, ------------------------------------------------^ 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? For second, third, forth, all of them have same problem.. "in6_disposition" and "nd6_cache_state" not defined, is defined each in /usr/include/netinet/in6_var.h and /usr/include/netinet/nd6_var.h in Tru64UNIX V5.1. But, this files have fundamentally problems. _________________________________ #include #include #include . . . enum in6_disposition { IN6_RX_PROCESS_NEXT_HEADER, . . . }; __________________________________________________________________ always include , so, can't refer "enum in6_disposition". Like this, has same case. ________________________________ #include #include #include ......................... enum nd6_cache_state { ND6_CACHE_INCOMPLETE, ND6_CACHE_UNRECHANGEBLE, .......................... }; ___________________________________________________________________ always include , so, can't refer "enum nd6_cache_state". ARE THESE ESSENTIAL AND INELUCTABLE PROBLEM, or OS PROBLEM CAN BE PATCHED?