|
Bugzilla – Full Text Bug Listing |
| Summary: | aixauth_cleanup missing declaration | ||
|---|---|---|---|
| Product: | Sudo | Reporter: | Dale King <daleking> |
| Component: | Sudo | Assignee: | Todd C. Miller <Todd.Miller> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | low | ||
| Version: | 1.7.0 | ||
| Hardware: | IBM | ||
| OS: | AIX | ||
Thanks, fixed in cvs. |
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