We recently installed tru64 unix on an old dec3000 500 box. We are trying
to install apache. When I try to compile it, I gets strange unreadable
error messages, We tried to install gcc also and got different weird
messages. libraries needed?
Thanks for your help,
Bill Ramsey
The errors are as follows:
apache errors:
===> src
===> src/regex
<=== src/regex
===> src/os/unix
<=== src/os/unix
===> src/ap
<=== src/ap
===> src/main
cc -c -I../os/unix -I../include -DOSF1 -DUSE_HSREGEX -DUSE_EXPAT
-I../lib/expat-lite `../apaci` alloc.c
cc: Error: alloc.c, line 2280: In this statement, "STDOUT_FILENO" is not
declared. (undeclared)
dup2(out_fds[1], STDOUT_FILENO);
-----------------------------^
cc: Error: alloc.c, line 2286: In this statement, "STDIN_FILENO" is not
declared. (undeclared)
dup2(in_fds[0], STDIN_FILENO);
----------------------------^
cc: Error: alloc.c, line 2292: In this statement, "STDERR_FILENO" is not
declared. (undeclared)
dup2(err_fds[1], STDERR_FILENO);
-----------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
gcc errors:
make bootstrap
No suffix list.
make all-recursive
No suffix list.
Making all in intl
Making all in lib
Making all in makeinfo
cc -DHAVE_CONFIG_H -I. -I/disk1/src/gcc-2.95.2/texinfo/makeinfo -I..
-I/disk1/sr
c/gcc-2.95.2/texinfo/lib -I../intl -DLOCALEDIR=\"/usr/local/share/locale\"
-g -
c /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c
cc: Warning: ../intl/libintl.h, line 66: The redefinition of the macro
"LC_MESSA
GES" conflicts with a current definition because the replacement lists differ.
The redefinition is now in effect. (macroredef)
# define LC_MESSAGES (-1)
---------------------^
cc: Warning: /usr/include/stdio.h, line 79: In this declaration, the same
type s
pecifier occurs more than once. (duptypespec)
typedef unsigned long size_t;
--------^
cc: Warning: /usr/include/stdio.h, line 79: In this declaration, there is
no dec
larator. (nodcl)
typedef unsigned long size_t;
--------^
cc: Warning: /usr/include/sys/types.h, line 220: In this declaration, there
is n
o declarator. (nodcl)
typedef long off_t; /* file offset */
--------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/lib/system.h, line 55: In this
declarat
ion, the type of "memchr" is not compatible with the type of a previous
declarat
ion of "memchr" at line number 92 in file /usr/include/string.h. (notcompat)
char *memchr ();
------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 1254: In
this
statement, "O_RDONLY" is not declared. (undeclared)
file = open (filename, O_RDONLY);
-------------------------^
cc: Warning: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 1606:
In th
is statement, "user_entry" is a pointer to an incomplete struct or union
and sho
uld not be used as the left operand of a member dereference. (incompderef)
result = (char *)xmalloc (1 + strlen (user_entry->pw_dir)
------------------------------------------------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 1606: In
this
statement, "pw_dir" is not a member of "user_entry". (needmember)
result = (char *)xmalloc (1 + strlen (user_entry->pw_dir)
------------------------------------------------^
cc: Warning: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 1608:
In th
is statement, "user_entry" is a pointer to an incomplete struct or union
and sho
uld not be used as the left operand of a member dereference. (incompderef)
strcpy (result, user_entry->pw_dir);
--------------------------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 1608: In
this
statement, "pw_dir" is not a member of "user_entry". (needmember)
strcpy (result, user_entry->pw_dir);
--------------------------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 3239: In
the
definition of the function "strcasecmp", the promoted type of string1 is
incompa
tible with the type of the corresponding parameter in a prior declaration.
(prom
otmatch)
char *string1, *string2;
----------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 3239: In
the
definition of the function "strcasecmp", the promoted type of string2 is
incompa
tible with the type of the corresponding parameter in a prior declaration.
(prom
otmatch)
char *string1, *string2;
--------------------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 5406: In
this
statement, "O_WRONLY" is not declared. (undeclared)
(split_filename, O_WRONLY | O_TRUNC | O_CREAT, 0666);
-------------------------------------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 5406: In
this
statement, "O_TRUNC" is not declared. (undeclared)
(split_filename, O_WRONLY | O_TRUNC | O_CREAT, 0666);
------------------------------------------------^
cc: Error: /disk1/src/gcc-2.95.2/texinfo/makeinfo/makeinfo.c, line 5406: In
this
statement, "O_CREAT" is not declared. (undeclared)
(split_filename, O_WRONLY | O_TRUNC | O_CREAT, 0666);
----------------------------------------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.
Received on Thu Jan 20 2000 - 20:18:59 NZDT