No one has attempted to compile 3.6.1 on Solaris 11 at all?
On 1/8/2012 11:24 AM, Blaster wrote:> Trying to compile Samba 3.6.2 on Solaris 11, getting the following error:
>
> gmake
> Using CFLAGS = -O -I. -I/export/home1/src/samba-3.6.1/source3
> -I/export/home1/src/samba-3.6.1/source3/../lib/iniparser/src -Iinclude
> -I./include -I. -I. -I./../lib/replace -I./../lib/tevent -I./librpc
> -I./.. -I./../lib/talloc -I../lib/tdb/include -DHAVE_CONFIG_H
> -D_REENTRANT -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
> -DLDAP_DEPRECATED -DSUNOS5
> -I/export/home1/src/samba-3.6.1/source3/lib -I.. -D_SAMBA_BUILD_=3
> -D_SAMBA_BUILD_=3
> PICFLAG = -fPIC
> LIBS = -lsendfile -lresolv -lnsl -lsocket -liconv -laio
> LDFLAGS = -pie -lintl -R/opt/samba/lib -L/usr/ccs/lib
> -R/usr/ccs/lib -L/usr/sfw/lib -R/usr/sfw/lib -L/opt/samba/lib
> -R/opt/samba/lib -lthread -L./bin
> DYNEXP > LDSHFLAGS = -fPIC -shared -lintl
-R/opt/samba/lib
> -L/usr/ccs/lib -R/usr/ccs/lib -L/usr/sfw/lib -R/usr/sfw/lib
> -L/opt/samba/lib -R/opt/samba/lib -lthread -L./bin -lc -Wl,-z,defs
> SHLIBEXT = so
> SONAMEFLAG = -Wl,-h,
> Linking shared library bin/libnetapi.so.0
> Undefined first referenced
> symbol in file
> tdb_jenkins_hash lib/util.o
> wbcSidsToUnixIds passdb/lookup_sid.o
> tdb_transaction_start_nonblock lib/gencache.o
> ld: fatal: symbol referencing errors. No output written to
> bin/libnetapi.so.0
> collect2: ld returned 1 exit status
> gmake: *** [bin/libnetapi.so.0] Error 1
>
> my configure line:
> ./configure --prefix=/opt/samba --with-automount --with-acl-support
> --enable-socket-wrapper --with-sys-quotas --with-aio-support
> --enable-shared --enable-cups --enable-swat --with-quotas
> --enable-nss-wrapper --without-pam LDFLAGS="-lintl -R/opt/samba/lib
> -L/usr/ccs/lib -R/usr/ccs/lib -L/usr/sfw/lib -R/usr/sfw/lib
> -L/opt/samba/lib -R/opt/samba/lib"
>
> Any idea what library I'm missing?
>
> Thanks...
>