tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: "Charles S. Homan" <burke () nesc ! org>
To: tru64-unix-managers
Subject: [Q] INN compilation error
Date: Fri, 13 Oct 1995 19:00:29 +0000	[thread overview]
Message-ID: <96075324106589.tru64-unix-managers.marc@archive.invalid> (raw)

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
------------------------------------------------------------------

                 reply	other threads:[~1995-10-13 19:00 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