Bugzilla – Bug 313
aixauth_cleanup missing declaration
Last modified: 2008-11-18 07:55:42 MST
Hi, I received a compile error with 1.7.0rc5 and CVS under AIX: make /usr/vac/bin/cc -qlanglvl=ansi -c -I. -I. -D_XOPEN_EXTENDED_SOURCE -D_ALL_SOURCE -D_PATH_SUDOERS=\"/etc/sudoers\" -DSUDOERS_UID=0 -DSUDOERS_GID=0 -DSUDOERS_MODE=0440 ./auth/sudo_auth.c "./auth/sudo_auth.c", line 61.5: 1506-045 (S) Undeclared identifier aixauth_cleanup. make: 1254-004 The error code from the last command is 1. The following fixes this for me: *** auth/sudo_auth.h.orig Tue Nov 18 12:15:20 2008 --- auth/sudo_auth.h Tue Nov 18 12:15:20 2008 *************** *** 58,61 **** --- 58,62 ---- int sia_verify __P((struct passwd *pw, char *prompt, sudo_auth *auth)); int sia_cleanup __P((struct passwd *pw, sudo_auth *auth)); + int aixauth_cleanup __P((struct passwd *pw, sudo_auth *auth)); int aixauth_verify __P((struct passwd *pw, char *pass, sudo_auth *auth)); int bsdauth_init __P((struct passwd *pw, char **prompt, sudo_auth *auth)); Regards, Dale
Thanks, fixed in cvs.