From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96079336919424.tru64-unix-managers.marc@archive.invalid> From: Daniel Monjar Date: Tue, 15 Feb 2000 19:24:26 +0000 To: tru64-unix-managers Subject: SUMMARY problems with cc on DUnix 5.0 X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96079336919424 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