找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 3876|回复: 2

编译samba4.0.24出错,有人知道原因吗?

[复制链接]
发表于 2015-1-30 10:14 | 显示全部楼层 |阅读模式
  今天想编译samba4.0.24试试速度结果 最后一步貌似链接一个库文件错误 这库是samba4.0.24里带的,不知道原因了?
      SHLIBEXT   = so
      SONAMEFLAG = -Wl,-soname=
jfyi: PIDL_NEWEST is ../pidl/pidl
Linking shared library bin/libwbclient.so.0
/home/piaoma/OpenWrt/chaos_calmer/staging_dir/toolchain-mipsel_24kec+dsp_gcc-4.8-linaro_uClibc-0.9.33.2/lib/gcc/mipsel-openwrt-linux-uclibc/4.8.3/../../../../mipsel-openwrt-linux-uclibc/bin/ld: ../nsswitch/libwbclient/wbclient.o: relocation R_MIPS_26 against `free' can not be used when making a shared object; recompile with -fPIC
../nsswitch/libwbclient/wbclient.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
make[3]: *** [bin/libwbclient.so.0] Error 1
make[3]: Leaving directory `/home/piaoma/OpenWrt/chaos_calmer/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/samba-4.0.24/source3'
make[2]: *** [/home/piaoma/OpenWrt/chaos_calmer/build_dir/target-mipsel_24kec+dsp_uClibc-0.9.33.2/samba-4.0.24/.built] Error 2
make[2]: Leaving directory `/home/piaoma/OpenWrt/chaos_calmer/package/network/services/samba41'
make[1]: *** [package/network/services/samba41/compile] Error 2
make[1]: Leaving directory `/home/piaoma/OpenWrt/chaos_calmer'
make: *** [package/network/services/samba41/compile] 错误 2

configure_fixes自己写了补丁通过了但。。。。。。


发表于 2015-1-30 11:22 | 显示全部楼层
relocation R_MIPS_26 against `free' can not be used when making a shared object; recompile with -fPIC
发表于 2015-1-30 11:33 | 显示全部楼层
本帖最后由 djjk 于 2016-6-26 12:16 编辑

!!!
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-5-30 05:53

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表