Compiling cvs-1.11.1 on Tru64 5.0a

From: Fredrik Steen <fsteen_at_stone.nu>
Date: Mon, 30 Apr 2001 13:46:53 +0200

Hi fellow sysadmins,

I have some issues regarding compiling "cvs" on Tru64 v5.0a.

This is the error i get when compiling:

source='util.c' object='util.o' libtool=no depfile='.deps/util.Po'
tmpdepfile='.deps/util.TPo' depmode=none /bin/sh ../depcomp cc
-DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib -g -c -o util.o
`test -f util.c || echo './'`util.c
source='dir.c' object='dir.o' libtool=no depfile='.deps/dir.Po'
tmpdepfile='.deps/dir.TPo' depmode=none /bin/sh ../depcomp cc
-DHAVE_CONFIG_H -I. -I. -I.. -I../src -I../lib -g -c -o dir.o
`test -f dir.c || echo './'`dir.c
cc: Error: dir.c, line 64: Missing ";". (nosemi)
      register DIR *reading = CVS_OPENDIR (dir->name);
-------------------^
cc: Error: dir.c, line 65: In this statement, "reading" is not
declared. (undeclared)
      if (!reading)
-----------^
cc: Warning: dir.c, line 79: In the initializer for d_name, "next" is
a pointer to an incomplete struct or union and should not be used as
the left operand of a member dereference. (incompderef)
          char *d_name = next->d_name;
-------------------------^
cc: Error: dir.c, line 79: In the initializer for d_name, "d_name" is
not a member of "next". (needmember)
          char *d_name = next->d_name;
-------------------------^
cc: Warning: dir.c, line 80: In the initializer for d_size, "(next)"
is a pointer to an incomplete struct or union and should not be used
as the left operand of a member dereference. (incompderef)
          size_t d_size = NAMLEN (next) + 1;
--------------------------^
cc: Error: dir.c, line 80: In the initializer for d_size, "d_namlen"
is not a member of "(next)". (needmember)
          size_t d_size = NAMLEN (next) + 1;
--------------------------^
*** Exit 1
Stop.
*** Exit 1
Stop.
*** Exit 1
Stop.

Anyone know how to fix this? Are there any patches or do anyone know
of any precompiled binaries (I would prefer compiling)?

All help is welcome!

-- 
.Fredrik Steen
- http://www.stone.nu -
Received on Mon Apr 30 2001 - 11:48:19 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:42 NZDT