0

.libs/pam_rhosts.o: In function pam_sm_authenticate: pam_rhosts.c:(.text+0x1e4): undefined reference to ruserok'

在为 arm64 编译 Linux-PAM-1.1.8 时。我得到这个错误。

ruserok 在宏检查下定义

    #ifdef __UCLIBC__
    ...
    ...
    ...
    int ruserok(const char *rhost, int superuser, const char *ruser,
                            const char *luser)
    {
      */ruserok defined here*/
    }
    ...
    ...
    #endif

但我不是用 Uclibc 而是用 musl

我现在能做什么?

4

0 回答 0