Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Compile error in Tru64UNIX V5.1
@ 2001-07-16 13:06 Ginny E. Kim
  2001-07-16 16:14 ` Brian Haley
  0 siblings, 1 reply; 5+ messages in thread
From: Ginny E. Kim @ 2001-07-16 13:06 UTC (permalink / 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?


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-20  5:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2001-07-20  5:57       ` Ginny E. Kim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox