Dear OSF people:
I have run into some major headaches configuring inn1.4sec on a DEC 3000/600
running OSF/1 3.0. Even after getting the tar file from pirates.cs.swt.edu
(which is supposed to be configured for OSF/1 3.0), I get errors in the
compilation process. Specifically, running BUILD I get:
....
Have you already built the executables [y or n]? n
Configuring INN
chmod u+w,g+w `grep -v '^;' <files.list`
./subst -f config.data `grep -v '^;' <files.list`
Building and linting the INN library.
Please examine the lint output.
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.
and then a bunch of warnings like:
"strerror.c", line 17: warning: old style argument declaration
"syslog.c", line 106: warning: constant in conditional context
"syslog.c", line 108: warning: function prototype not in scope
"syslog.c", line 128: warning: function vsyslog must return a value
"syslog.c", line 158: warning: mix of old and new style function declaration
"syslog.c", line 158: warning: incomplete type for xstrerror has already been
completed
etc., etc., ad infinitum
Can anyone tell me at least what _part_ is blowing up here? (Unfortunately,
I'm not a C programmer, and still fairly new to OSF/1.) In other words, is
this caused by improper inn configuration, a poor C compiler, bad C libraries,
or what? Any help would be _most_ appreciated!
Regards,
Burke
------------------------------------------------------------------
Charles Homan New England Science Center
Systems Manager 222 Harrington Way
burke_at_nesc.org Worcester, MA 01604-1899
------------------------------------------------------------------
Received on Wed Oct 25 1995 - 18:54:33 NZDT