[Samba] Compile problems with 3.07 on solaris

Henrik Beckman henrik at sgu.se
Thu Sep 16 13:31:57 GMT 2004


Hi all

I have "severe" problems compiling samba 3.0.7 on solaris8, my gcc is 
built with /usr/ccs/bin/ld and therefore gcc bails with an ld -E error 
since the -E parameter isn´t supported in /usr/css/bin/ld.
Trying to compile with suns forte 6.2 compiler produces the following 
error, don´t know if it´s related to the compiler though.

Linking nsswitch/libnss_wins.so
ld: fatal: file dynconfig.po.o: open failed: No such file or directory
ld: fatal: file lib/version.po.o: open failed: No such file or directory
ld: fatal: File processing errors. No output written to 
nsswitch/libnss_wins.so
make: *** [nsswitch/libnss_wins.so] Error 1

*_Parameters_*
 ./configure --prefix=/usr/local/samba-3.0.7 --libdir=/etc/samba 
--sysconfdir=/etc/samba 
--localstatedir=/var/opt/samba--with-privatedir=/etc/samba --with-quotas 
--with-acl-support --with-msdfs

*_From Makefile_*
prefix=/usr/local/samba-3.0.7
exec_prefix=${prefix}

LIBS= -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
CC=/prog/forte62/bin/cc
SHLD=${CC} ${CFLAGS}
CFLAGS= -O
CPPFLAGS= -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/local/include
EXEEXT=
LDFLAGS= -L/usr/local/lib
AR=ar
LDSHFLAGS=-G ${CFLAGS}  -L/usr/local/lib
WINBIND_NSS_LDSHFLAGS=-G ${CFLAGS}  -L/usr/local/lib
AWK=gawk
DYNEXP=
PYTHON=
PERL=/usr/local/bin/perl

Please help, I´m running out of ideas.

TIA
/Henrik
www.sgu.se



More information about the samba mailing list