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

下死功夫,动活脑筋;读好书,交益友

文章分类

全部博文(357)

文章存档

2019年(12)

2018年(23)

2017年(67)

2016年(45)

2015年(51)

2014年(58)

2013年(53)

2012年(42)

2011年(6)

分类: 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 就可以搞定

阅读(820) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~
评论热议
请登录后评论。

登录 注册