[Samba] static compile

Jed Evnull jedevnull at gmail.com
Mon Oct 13 03:07:38 MDT 2014


Grr why is this so hard?  Compiling samba-3.6.24 for android using the
sourcery toolchain. Dropbear and busybox went w/o a hitch. I've googled the
hell out of this, nothing I've found has helped.

Here's my config:

./configure --without-krb5 \
--without-ldap \
--without-ads \
--disable-cups \
--enable-swat=no \
--enable-static=yes \
--disable-shared \
--with-winbind=no \
--target=arm-none-linux-gnueabi \
--host=i686 \
--prefix=/data/samba/files \
samba_cv_CC_NEGATIVE_ENUM_VALUES=yes \
libreplace_cv_HAVE_GETADDRINFO=no \
--with-libtalloc=yes \
ac_cv_file__proc_sys_kernel_core_pattern=yes \
--with-configdir=/data/samba/files \
--bindir=/data/samba/files \
--sbindir=/data/samba/files \
--sysconfdir=/data/samba/files \
--with-configdir=/data/samba/files \
--with-logfilebase=/data/samba/files/var

CC=arm-none-linux-gnueabi-gcc

Compiles as dynamic/shared every time.  What am I doing wrong?


More information about the samba mailing list