From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96075324106589.tru64-unix-managers.marc@archive.invalid> From: "Charles S. Homan" Date: Fri, 13 Oct 1995 19:00:29 +0000 To: tru64-unix-managers Subject: [Q] INN compilation error X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96075324106589 Greetings, When I try to compile INN1.4sec on OSF/1 3.0 (DEC 3000/600), I get the following error messages: # make lib inn.a lint cc -I../include -g -O2 -c syslog.c /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/uio.h, line 7: redeclaration of 'iovec'; previous declaration at line 7 in file '/usr/include/sys/uio.h' struct iovec { -------^ /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/uio.h, line 8: Duplicate member 'iov_base' char *iov_base; ----------^ /usr/lib/cmplrs/cc/cfe: Error: /usr/include/sys/uio.h, line 9: Duplicate member 'iov_len' int iov_len; --------^ *** Exit 1 Stop. Previously I had used the 'make c quiet', with no problem (warning, but no errors.) I'm using the config/config.data file from pirates.cs.swt.edu, which claims to be for OSF/1 3.0, and only made some modifications to paths to local executables (e.g.: gzip). The rest of the stuff looked for the most part like what I used when I edited the distribution version of config.data (though with enough differences that I thought it might actually work. Unfortunately, I don't really know C very well, but it looks like the very first error translates to "I can't declare iovec on line 7 in /usr/lib/sys/uio.h, because I already declared it on line 7 in /usr/lib/sys/uio.h." Can anyone help me with this problem? Is it INN or our C libraries? Thank you! Burke ------------------------------------------------------------------ Charles Homan New England Science Center Systems Manager 222 Harrington Way burke@nesc.org Worcester, MA 01604-1899 ------------------------------------------------------------------