Sekou,
This is kind of beyond the scope of the list, but here
is what I did to get tac_plus.3.0.12.alpha to complile on RH 5.0:
------------------------------------------------------
1) Makefile changes:
diff Makefile~ Makefile
40c40
< # OSLIBS=-lcrypt
---
> OSLIBS=-lcrypt
46c46
< # OS=-DLINUX
---
> OS=-DLINUX
2) tac_plus.h
diff tac_plus.h~ tac_plus.h
101a102
> #define CONST_SYSERRLIST
3) default_fn.c [conflict with login in /usr/include/utmp.h
just rename login function in default_fn.c ]
diff default_fn.c~ default_fn.c
41c41
< static void login();
---
> static void tlogin();
139c139
< login(data, p);
---
> tlogin(data, p);
190c190
< login(data, p)
---
> tlogin(data, p)
------------------------------------------------------
The Tacacs source is a developer's reference kit
that is supported on a best effort basis.
You can send queries to:
[EMAIL PROTECTED] (or more simply)
[EMAIL PROTECTED]
Best Regards,
--Dave Edwards
>
> 1) After editing the top of Makefile, I typed
> "make tac_plus", I got the following errors:
>
> --------------------------------------------------------
> gcc -g -DTAC_PLUS_USERID=1500 -DTAC_PLUS_GROUPID=25 -DLINUX
> -c acct.c -o acct.o
> In file included from acct.c:20:
> tac_plus.h:681: conflicting types for `sys_errlist'
> /usr/include/stdio.h:221: previous declaration of `sys_errlist'
> make: *** [acct.o] Error 1
> [root@nimba tac_plus.3.0.12.alpha]#
> ---------------------------------------------------------------
>
> 2) I checked in the /usr/include/stdio.h file and saw this. line 221
>
> extern const char *const sys_errlist[];
>
> 3) I also found another "sys_errlist" in the
> tac_plus.h file, line 681
>
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com/RedHat-FAQ /RedHat-Errata /RedHat-Tips /mailing-lists
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject.