From: Dave S on
I'm on Solaris 9 sparc. Current versions are:
gcc 3.4.6 (sunfreeware pkg)
MIT krb5-1.6.3 (source)
openldap-2.4.11 (compiled with --with-tls and --enable-crypto)
samba-3.2.2
db-4.2.52.NC (sunfreeware pkg)

No compiler env vars set, except CC is set to
CC=/usr/local/bin/gcc

I'm invoking configure as follows:
../configure --with-ads --with-windbind --with-krb5=/usr/local --with-ldap

'make' fails with the following output:
Linking non-shared library bin/libtalloc.a
Compiling lib/replace/replace.c
Compiling lib/replace/snprintf.c
Compiling lib/replace/getpass.c
Compiling lib/replace/strptime.c
Compiling lib/replace/timegm.c
Compiling lib/replace/inet_aton.c
Compiling lib/replace/getifaddrs.c
creating /root/samba-3.2.2/source/exports/libtalloc.syms
Linking shared library bin/libtalloc.so.1
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.6/../../../../sparc-sun-solaris2.9/bin/ld:
cannot open linker script file
/root/samba-3.2.2/source/exports/libtalloc.so.1: No such file or
directory
collect2: ld returned 1 exit status
make: *** [bin/libtalloc.so.1] Error 1

make -n shows the following line prior to the failure:
/usr/local/bin/gcc -I/usr/local/include -O -D_SAMBA_BUILD_=3 -G
-Wl,-z,relro -L/usr/local/lib -R/usr/local/lib
-L/usr/local/BerkeleyDB.4.2/lib -lthread -L./bin
-Wl,--version-script,/root/samba-3.2.2/source/exports/`basename
bin/libtalloc.so.1 | sed 's/so\(.[0-9]\{1,\}\)\{0,1\}$/syms/'` -o
bin/libtalloc.so.1 lib/talloc/talloc.o lib/replace/replace.o
lib/replace/snprintf.o lib/replace/getpass.o lib/replace/strptime.o
lib/replace/timegm.o lib/replace/inet_aton.o lib/replace/getifaddrs.o
-Wl,-soname=`basename bin/libtalloc.so.1`

source/bin contains only libtalloc.a at the fail point.
Any ideas? I'm not experienced at doing builds on Solaris.

Thanks,

Dave S.
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/listinfo/samba