login/getutline.c:25: error: storage class specified for parameter 'buffer'
来源:互联网 发布:db2 设置tcp ip 端口 编辑:程序博客网 时间:2024/05/11 17:48
When making libpam, I got two errors:
/host/src1/2/Linux-PAM-1.0.1/libpam/.libs/libpam.so: undefined reference to `getutline'
/host/src1/2/Linux-PAM-1.0.1/libpam/.libs/libpam.so: undefined reference to `getspnam'
These two functions are part of the gnu libc, but they are not part of android libc.
So I decided to have a glibc library to get both functions working.
But then I had another issue:
login/getutline.c:25: error: storage class specified for parameter 'buffer'
I got some clue from this link.
http://lists.gnu.org/archive/html/bug-glibc/2003-07/msg00102.html
Then I includedlibc-symbols.h
in login/getutline.c. It seems to be ok now.
- login/getutline.c:25: error: storage class specified for parameter 'buffer'
- error: storage class specified for parameter
- error: storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- storage class specified for parameter
- error: storage class specified for parameter问题-转
- storage class specified for parameter 编译错误
- winavr调试中出现的storage class specified for parameter
- error: invalid storage class for function 'XXXX'
- error: invalid storage class for function
- error: invalid storage class for function
- error: invalid storage class for…
- Intent
- Oralce 函数表达式 的应用
- poj 1157 LITTLE SHOP OF FLOWERS
- WAMP转移至LNMP平台遇到的几个问题及解决方法
- Struts2+Spring集成中Action的管理
- login/getutline.c:25: error: storage class specified for parameter 'buffer'
- 搭建Android开发环境
- 求程序运行所用的时间
- 山洞
- strut2的配置文件修改默认路径问题
- 迷上了这里,迷上了写CSDN博客
- .Net Micro Framework 4.2 QFE1 released
- Linux编译集群 并行编译环境
- Motorola ME525+ 拍的照片在哪个文件夹?