When I'm makeing libpam, it claims that there's no shadow.h. Then I found a shadow.h.
But another issue shows up: error: expected declaration specifiers before '__THROW'.
This is because Android gcc is using cdefs.h of the following version:
/*$NetBSD: cdefs.h,v 1.58 2004/12/11 05:59:00 christos Exp $*/
And there's no '__THROW' definition in it.
So I copy '__THROW' definition from the GNU gcc cdefs.h .
Here's the definition :
#ifdef __GNUC__
/* GCC can always grok prototypes. For C++ programs we add throw()
to help it optimize the function calls. But this works only with
gcc 2.8.x and egcs. For gcc 3.2 and up we even mark C functions
as non-throwing using a function attribute since programs can use
the -fexceptions options for C code as well. */
# if !defined __cplusplus && __GNUC_PREREQ__ (3, 3)
# define __THROW__attribute__ ((__nothrow__))
# define __NTH(fct)__attribute__ ((__nothrow__)) fct
# else
# if defined __cplusplus && __GNUC_PREREQ__ (2,8)
# define __THROWthrow ()
# define __NTH(fct)fct throw ()
# else
# define __THROW
# define __NTH(fct)fct
# endif
# endif
#else/* Not GCC. */
# define __inline/* No inline functions. */
# define __THROW
# define __NTH(fct)fct
# define __constconst
# define __signedsigned
# define __volatilevolatile
#endif/* GCC. */
it seems to be fine now.
分享到:
相关推荐
在Mandirva linux中如果安装ssh-sever出现libpam.so.0 no version 的情况把这个放到/lib中就ok了 删除原有的libpam.so.0
libpam_html.0.2-源码.rar
报错描述: DBT3514W The db2prereqcheck utility failed to find the following 32-bit library file: "/lib/i386-libpam.so" 解决方法: ...sudo ln -s /lib/i386-linux-gnu/libpam.so.0 /lib/libpam.so.0
ubuntu/LINUX游戏集
go_ibm_db GoLang到DB2(用于z / OS),DB2(用于LUW),DB2(用于i)的... For Docker Linux Container(Ex: Amazon Linux2), use below commands:yum install go git tar libpam如何在Windows中安装go get -d github....
libpam-pwquality_1.4.2-2kord6k4_arm64.deb
centos7下升级openssh到8.4脚本
libpam.so libpam.so8.02 下载个360解压
cracklib-2.9.7.tar.gz、cracklib-words-2.9.7.bz2、libpwquality-1.4.4.tar.gz、Linux-PAM-1.3.1.tar.gz、shadow-4.8.tar.gz
项目已移至github:https://github.com/pam-pgsql/pam-pgsql
VLANy不再被维护。 是。 请参考该内容以进行不断更新。 弗兰尼( ) vlany是Linux LD_PRELOAD rootkit 。 正在安装 vlany的脚本是最快/最简单的安装方法。... 默认情况下,一旦执行完全完成,quick_install.sh脚本将...
apt-get install gcc liblua5.2-dev liblua5.1-0-dev libyajl-dev libpcre3-dev openssl libssl-dev libxml2-dev libxslt1-dev libgeoip-dev geoip-database make libpam0g-dev libssl-dev expat libexpat1-dev lib...
ssh离线安装包,dpkg -i *.deb
完美的解决redhat7安装DB2报错The 32 bit library file libstdc++.so.5 is not found on the system.的问题。
configure: error: *** Could not find libmount checking for LIBMOUNT... no glib-2.56.0
该txt文件中是DB2 V10.5 linux 64位安装程序的百度网盘下载地址及提取码, 该版本是db2 V10.5的免费版,由于ibm官网只能下载最新版本的,所以之前版本的资源非常难以寻找。 本人花了3天左右的时间才找到,现在分享...
谷歌动态口令认证安装包,亲测linux下可以用,配合PAM做动态口令使用增强系统安全性
libpam-sfs是可插入身份验证模块,它允许从启用了SFS的(www.fs.net;自我认证文件系统)服务器中挂载主目录。
$ cd /var/tmp$ mkdir webmin$ cd webmin$ wget http://prdownloads.sourceforge.net/webadmin/webmin_1.740_all.deb$ apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-...
SUSE 12 SP1 for SAP Installl & Configure