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_at_nesc.org Worcester, MA 01604-1899
------------------------------------------------------------------
Received on Fri Oct 13 1995 - 20:20:53 NZDT