static compile samba3 for arm
Jed Evnull
jedevnull at gmail.com
Tue Oct 14 14:13:33 MDT 2014
I need help doing a static compile of samba3 for arm. Nothing I've tried
works, my binaries are always synamically linked.
My configuration:
./configure --without-krb5 \
--without-ldap \
--without-ads \
--disable-cups \
--enable-swat=no \
--enable-static=yes \
--disable-shared \
--with-winbind=no \
--host=arm-none-linux-gnueabi \
--target=arm-none-linux-gnueabi \
--prefix=/data/jeff/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/jeff/samba/files \
--bindir=/data/jeff/samba/files \
--sbindir=/data/jeff/samba/files \
--sysconfdir=/data/jeff/samba/files \
--with-configdir=/data/jeff/samba/files \
--with-static-modules=vfs_fake_perms \
--with-logfilebase=/data/jeff/samba/files/var
export
LD_LIBRARY_PATH=/home/jeff/arm2010/lib/gcc/arm-none-linux-gnueabi/4.4.1
export LDFLAGS=-L/home/jeff/arm2010/lib/gcc/arm-none-linux-gnueabi/4.4.1
export
CPPFLAGS=-I//home/jeff/arm2010/arm-none-linux-gnueabi/include/c++/4.4.1
export CC=arm-none-linux-gnueabi-gcc
Currently I'm building on linux mint i386, but I've used other distros w/o
success.
The toolchain I'm using is from sourcery, but I've tried others w/o
success.
I'd appreciate any help. Thanks!
More information about the samba-technical
mailing list