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)
db-4.2.52.NC (sunfreeware pkg)

No compiler env vars set, except CC is set to

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/
cannot open linker script file
/root/samba-3.2.2/source/exports/ No such file or
collect2: ld returned 1 exit status
make: *** [bin/] 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
bin/ | sed 's/so\(.[0-9]\{1,\}\)\{0,1\}$/syms/'` -o
bin/ 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/`

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


Dave S.
To unsubscribe from this list go to the following URL and read the