tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* [Q] INN compilation error
@ 1995-10-13 19:00 Charles S. Homan
  0 siblings, 0 replies; only message in thread
From: Charles S. Homan @ 1995-10-13 19:00 UTC (permalink / raw)
  To: tru64-unix-managers

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1995-10-13 19:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-13 19:00 [Q] INN compilation error Charles S. Homan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox