SUMMARY problems with cc on DUnix 5.0

From: Daniel Monjar <dmonjar_at_orgtek.com>
Date: Tue, 15 Feb 2000 14:24:26 -0500

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
Received on Tue Feb 15 2000 - 19:25:44 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:40 NZDT