tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Daniel Monjar <dmonjar () orgtek ! com>
To: tru64-unix-managers
Subject: SUMMARY problems with cc on DUnix 5.0
Date: Tue, 15 Feb 2000 19:24:26 +0000	[thread overview]
Message-ID: <96079336919424.tru64-unix-managers.marc@archive.invalid> (raw)

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

                 reply	other threads:[~2000-02-15 19:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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