> [image: vim-bugs.jpg]
> According to the error message, I add the explicit declaration for "
> *setpwent"* and "*getpwent"* function at src/misc1.c, and it works, like
> this:
> [image: vim-fix.png]
> *Environment:*
> Vim:9.0
> clang:16.0.0
> cmake:3.26.1
> Termux:latest
>
> Has anyone had this problem?£
Please check the output of configure, especially src/auto/config.log.
Search for "getpwent". Also search for pwd.h.
Can you find HAVE_PWD_H in src/auto/config.h ?
Instead of explicitly declaring the functions, this might work:
#include <pwd.h>
--
-rwxr-xr-x 1 root 24 Oct 29 1929 /bin/ed
-rwxr-xr-t 4 root 131720 Jan 1 1970 /usr/ucb/vi
-rwxr-xr-x 1 root 5.89824e37 Oct 22 1990 /usr/bin/emacs
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///