Skip to content

Instantly share code, notes, and snippets.

@nufeng1999
Last active June 21, 2021 05:42
Show Gist options
  • Select an option

  • Save nufeng1999/d7db63743967ee45cac382ce0c808d3a to your computer and use it in GitHub Desktop.

Select an option

Save nufeng1999/d7db63743967ee45cac382ce0c808d3a to your computer and use it in GitHub Desktop.
[编译arm版本的samba]编译arm版本的samba #编译 #arm #samba

参考 https://wiki.beyondlogic.org/index.php/Cross_Compiling_SAMBA_for_ARM

./configure --without-krb5 --without-ldap --without-ads   --disable-cups --enable-swat=no --with-winbind=no   --target=arm-linux --host=arm-linux  --prefix=/root/samba --with-configdir=/etc   samba_cv_CC_NEGATIVE_ENUM_VALUES=yes   libreplace_cv_HAVE_GETADDRINFO=no   ac_cv_file__proc_sys_kernel_core_pattern=yes

make
make install DESTDIR=/root/samba
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment