Toby,

I have a few Tru64 5.1 alphas and I got the same error when using amanda 2.4.2p2. I fixed it by commenting out the ruserok line in common-src/amanda.h.

#ifndef HAVE_RUSEROK_DECL
//extern int ruserok P((const char *rhost, int suser,
// const char *ruser, const char *luser));
#endif

It then compiled fine without any problems and we have been backing up these machines since the've been upgraded to 5.1. Hope this helps,

Jeremy

[EMAIL PROTECTED] wrote:
amanda 2.4.2p2 on tru64 5.1 - make stops on error:


cc -DHAVE_CONFIG_H -I. -I. -I../config -I./../regex-src -g -c alloc.c
cc: Warning: amanda.h, line 946: In this declaration, parameter 1 has a different type than specified in an earlier declaration of this function. (mismatparam)
extern int ruserok P((const char *rhost, int suser,
-----------^
cc: Error: amanda.h, line 946: In this declaration, the type of "ruserok" is not compatible with the type of a previous declaration of "ruserok" at line number 705 in file /usr/include/unistd.h. (notcompat)
extern int ruserok P((const char *rhost, int suser,
-----------^
*** Exit 1
Stop.
*** Exit 1
Stop.


Found a message in the archives that points to ftp://gandalf.cc.purdue.edu/pub/amanda/configure.jfkoenig as a possible solution, but ftp on gandalf.cc.purdue.edu does not seem to be up.

Would that file help me? Does anyone have a copy to send me?


Thanks


--
toby bluhm
philips medical systems, mr development, cleveland, ohio
[EMAIL PROTECTED]
440-483-5323
--
-------------
Jeremy Heslop
Unix System Administrator
Horn Point Laboratory
University of Maryland Center for Environmental Science
Office - 410-221-8241  Fax - 410-221-8490
[EMAIL PROTECTED]

Reply via email to