Chinaunix首页 | 论坛 | 博客
  • 博客访问: 4144889
  • 博文数量: 447
  • 博客积分: 1241
  • 博客等级: 中尉
  • 技术积分: 5786
  • 用 户 组: 普通用户
  • 注册时间: 2011-01-27 06:48
个人简介

读好书,交益友

文章分类

全部博文(447)

文章存档

2023年(6)

2022年(29)

2021年(49)

2020年(16)

2019年(15)

2018年(23)

2017年(67)

2016年(42)

2015年(51)

2014年(57)

2013年(52)

2012年(35)

2011年(5)

分类: Android平台

2017-02-22 15:44:02

1 libpam编译出现
.libs/yppasswd_xdr.o: In function `xdr_xpasswd':
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:289: undefined reference to `xdr_string'
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:290: undefined reference to `xdr_string'
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:291: undefined reference to `xdr_int'
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:292: undefined reference to `xdr_int'
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:293: undefined reference to `xdr_string'
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:294: undefined reference to `xdr_string'
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:295: undefined reference to `xdr_string'
.libs/yppasswd_xdr.o: In function `xdr_yppasswd':
/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8/modules/pam_unix/yppasswd_xdr.c:302: undefined reference to `xdr_string'
collect2: error: ld returned 1 exit status
我感到疑惑,其他人的环境也没有问题,只好自己进去/vm/openwrt/openwrt/build_dir/target-x86_64_glibc-2.22/Linux-PAM-1.1.8
make clean
./configure

make

使用本机的toolchain编译通过,然后使用openwrt的环境就混过去了? 真是奇怪

2 netperf 2.6.0 编译出现
netlib.c: At top level:
netlib.c:4080:20: warning: 'temp_demo_ptr' is static but used in inline function 'demo_interval_tick' which is not static
     demo_two_ptr = temp_demo_ptr;
                    ^
netlib.c:4080:5: warning: 'demo_two_ptr' is static but used in inline function 'demo_interval_tick' which is not static
     demo_two_ptr = temp_demo_ptr;
     ^
netlib.c:4079:20: warning: 'demo_two_ptr' is static but used in inline function 'demo_interval_tick' which is not static
     demo_one_ptr = demo_two_ptr;
用不着,先不编译,打个patch或者使用 
2.6.0-2.1 就可以搞定

阅读(2333) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~