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 就可以搞定
阅读(2418) | 评论(0) | 转发(0) |