Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
From: banny52@yahoo.com (Ginny E. Kim)
Subject: Compile error in Tru64UNIX V5.1
Date: 16 Jul 2001 06:06:58 -0700	[thread overview]
Message-ID: <2f6bec0a.0107160506.57384f6e@posting.google.com> (raw)

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. 

</usr/include/netinet/in6_var.h>_________________________________
#include <nd6_cache.h>
#include <ipv6_swtab.h>
#include <in_route.h>

.           .             .

enum in6_disposition {
     IN6_RX_PROCESS_NEXT_HEADER,
     .          .        .
};
__________________________________________________________________
<ipv6_swtab.h> always include <proto_ipv6.h>, so, <proto_ipv6.h> can't
refer "enum in6_disposition".

Like this, <nd6_var.h> has same case.
</usr/include/netinet/nd6_var.h>________________________________
#include <in6.h>
#include <ip6.h>
#include <in6_var.h>
.........................
enum nd6_cache_state {
     ND6_CACHE_INCOMPLETE, ND6_CACHE_UNRECHANGEBLE,
     ..........................
};
___________________________________________________________________

<in6.h> always include <proto_ipv6.h>, so, <proto_ipv6.h> can't refer
"enum nd6_cache_state".


ARE THESE ESSENTIAL AND INELUCTABLE PROBLEM, or OS PROBLEM CAN BE
PATCHED?


             reply	other threads:[~2001-07-16 13:06 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-16 13:06 Ginny E. Kim [this message]
2001-07-16 16:14 ` Compile error in Tru64UNIX V5.1 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
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