找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 4965|回复: 4

Samba 4谁编译出来过?共享一下配置及Patches文件?有奖励

[复制链接]
发表于 2014-12-12 04:38 | 显示全部楼层 |阅读模式
本帖最后由 maplewang 于 2014-12-12 15:50 编辑

希望在破狗上面用Samba 4,3.6 速度太慢了。
愿意共享配置及Patches文件的我有国外的服务器可享用,谢谢了。
随便翻WALL。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

×
我的恩山、我的无线 The best wifi forum is right here.
 楼主| 发表于 2014-12-12 05:03 | 显示全部楼层
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

头像被屏蔽
发表于 2014-12-12 10:26 | 显示全部楼层
提示: 该帖被管理员或版主屏蔽
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| 发表于 2014-12-12 13:10 | 显示全部楼层
I have cross-compiled just the basic samba 4.0.6 using bitbake recipe
for ARM, which succeeded.

However the resulting binaries are large in size. I used  the exact
same configuration options in both the cases.
There is at least a 10 fold increase in the smbd compared to native x86.

--- Native x86 ----
-rwxr-xr-x 1 pranavd users 92979 May 31 10:57 /usr/sbin/smbd
-rwxr-xr-x 1 pranavd users 351196 May 31 10:57 /usr/sbin/nmbd


--- Cross Compiled ----
-rwxr-xr-x 2 pranavd users 9624696 May 30 18:11
/work/armv7a-vfp-neon-oe-linux-gnueabi/samba-4.0.6-r8/packages-split/samba/usr/sbin/smbd
-rwxr-xr-x 2 pranavd users 6020020 May 30 18:11
/work/armv7a-vfp-neon-oe-linux-gnueabi/samba-4.0.6-r8/packages-split/samba/usr/sbin/nmbd

Can someone please suggest me how to reduce the size of the binaries?
I have included  the configuration options used.

Regards,
Pranav

Here are the configuration options I used in my bb recipe.
                                           --build=x86_64-linux
                                           --host=arm-oe-linux-gnueabi
                                           --target=arm-oe-linux-gnueabi
                                           --prefix=/usr
                                           --exec_prefix=/usr
                                           --bindir=/usr/bin
                                           --sbindir=/usr/sbin
                                           --libexecdir=/usr/libexec
                                           --datadir=/usr/share
                                           --sysconfdir=/etc
                                           --sharedstatedir=/com
                                           --localstatedir=/var
                                           --libdir=/usr/lib
                                           --includedir=/usr/include
                                           --oldincludedir=/usr/include
                                           --infodir=/usr/share/info
                                           --mandir=/usr/share/man
                                           --disable-silent-rules
                                           --disable-dependency-tracking

--with-libtool-sysroot=/local/mnt/workspace/9x25/AU_753_samba_cfg/oe-core/build/tmp-eglibc/sysroots/mdm9625
                                           --disable-cups

--with-readline=/local/mnt/workspace/9x25/AU_753_samba_cfg/oe-core/build/tmp-eglibc/sysroots/mdm9625/usr/lib/..

--with-libiconv=/local/mnt/workspace/9x25/AU_753_samba_cfg/oe-core/build/tmp-eglibc/sysroots/mdm9625/usr/lib/..
                                           --without-automount
                                           --with-configdir=/etc/samba

--with-privatedir=/etc/samba/private
                                           --with-lockdir=/var/lock
                                           --with-piddir=/var/run
                                           --with-logfilebase=/var/log
                                           --with-libdir=/usr/lib
                                           --with-mandir=/usr/share/man
                                           --with-swatdir=/usr/share/swat
                                           --with-aio-support
                                           --without-libtalloc
                                           --without-acl-support
                                           --disable-avahi
                                           --without-winbind
                                           --without-swat
                                           --without-ads
                                           --without-ldap
                                           --disable-iprint
                                           --without-pam
                                           --without-utmp
                                           --without-acl-support
                                           --without-syslog
                                           --without-dnsupdate
                                           --without-profiling-data
                                           --without-cluster-support
                                           --without-ad-dc
                                           --disable-ntdb
                                           --enable-fhs
                                           samba_cv_struct_timespec=yes
                                           libreplace_cv_HAVE_MMAP=yes
                                           --enable-nss-wrapper
                                           --without-ads
                                           --without-ldap
                                           --without-krb5
                                           ac_cv_path_PYTHON=/not/exist

ac_cv_path_PYTHON_CONFIG=/not/exist

SMB_BUILD_CC_NEGATIVE_ENUM_VALUES=yes

samba_cv_CC_NEGATIVE_ENUM_VALUES=yes
                                           linux_getgrouplist_ok=no
                                           samba_cv_HAVE_BROKEN_GETGROUPS=no
                                           samba_cv_HAVE_FTRUNCATE_EXTEND=yes
                                           samba_cv_have_setresuid=yes
                                           samba_cv_have_setresgid=yes
                                           samba_cv_linux_getgrouplist_ok=yes
                                           samba_cv_struct_timespec=yes
                                           samba_cv_big_endian=no
                                           samba_cv_little_endian=yes
                                           libreplace_cv_HAVE_GETADDRINFO=no
                                           samba_cv_HAVE_WRFILE_KEYTAB=no

smb_krb5_cv_enctype_to_string_takes_krb5_context_arg=no

smb_krb5_cv_enctype_to_string_takes_size_t_arg=no

ac_cv_file__proc_sys_kernel_core_pattern=yes
samba_cv_SIZEOF_BLKCNT_T_8=yes
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

发表于 2016-3-18 12:09 | 显示全部楼层
怎么编译。。 说明下,我也要4.3.6的 破狗的samba
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-4-26 21:58

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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

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