tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY problems with cc on DUnix 5.0
@ 2000-02-15 19:24 Daniel Monjar
  0 siblings, 0 replies; only message in thread
From: Daniel Monjar @ 2000-02-15 19:24 UTC (permalink / raw)
  To: tru64-unix-managers

Original:

> I am using 'Compaq C V6.1-011 on Digital UNIX V5.0 (Rev. 910)'.
> 
> I am trying to compile libpcap and am getting these errors:
> 
> cc: Error: /usr/include/netinet/in6.h, line 54: Missing type specifier or type qualifier. (missingtype)
>         uint8_t sa6_addr[16];
> --------^
> cc: Error: /usr/include/netinet/in6.h, line 56: Missing type specifier or type qualifier. (missingtype)
>         uint16_t sa6_waddr[8];
> --------^
> cc: Error: /usr/include/netinet/in6.h, line 58: Missing type specifier or type qualifier. (missingtype)
>         uint32_t sa6_laddr[4];
> --------^
> cc: Error: /usr/include/netinet/in6.h, line 61: Missing type specifier or type qualifier. (missingtype)
>         uint64_t sa6_qaddr[2];
> --------^
> 
> 
> This happens with anyting that includes in6.h (duh...).
> 
> Same thing happen with gcc off of the Open Source CD.  I would think
> those aliases would be defined somewhere.  Anyone fix this problem?
> 


I'm using this box as a test platform so I've been throwing a lot of
Open Source software at it.  Nothing that I don't have running on
production 4.0 boxes though.  The problem was from a 
/usr/local/include/sys/bitypes.h file.  It defines the above types as
'u_int16_t' instead of 'uint_16'... the same for the other sizes.
Since the compile command include an '-I/usr/local/include' the
compiler looked there first.  I renamed the /usr/local file but could
have also solved the problem by putting a '-I/usr/include' before the
'-I/usr/local/include'.  The local file was copyrighted 1996 by
Internet Software Consortium so it might have come from a version of
inn I put up.

-- 
Daniel Monjar
Organon Teknika
Durham, NC US

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-02-15 19:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-15 19:24 SUMMARY problems with cc on DUnix 5.0 Daniel Monjar

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