[Samba] help compiling samba

Jed Evnull jedevnull at gmail.com
Sat Aug 30 10:53:14 MDT 2014


I'm compiling samba-3.6.22 for android with the sourcery arm-2010q1
compiler. The compile itself goes fine, but when I copy smbd to my device
it's not recognized as a binary. I get the error

sh: ./smbd: No such file or directory

file under linux tells me:


smbd: ELF 32-bit LSB  shared object, ARM, EABI5 version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped

export CFLAGS=" -O2"
export CC="/home/jeff/arm-2010q1/bin/arm-none-linux-gnueabi-gcc -O2"
export PATH=/home/jeff/arm-2010q1/bin:$PATH
export STRIP="/home/jeff/arm-2010q1/bin/arm-none-linux-gnueabi-strip"
export LD="/home/jeff/arm-2010q1/bin/arm-none-linux-gnueabi-ld"
#export LDFLAGS="-static"
export samba_cv_HAVE_IFACE_IFCONF=yes

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

What am I overlooking?


More information about the samba mailing list