[Samba] Compile problems with 3.07 on solaris

2004-09-16 Thread Henrik Beckman
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
--
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


Re: [Samba] Compile problems with 3.07 on solaris

2004-09-16 Thread Mike Peterson
Hi Henrik,

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

At this point do:

mv -i ./dynconfig.po.po.o ./dynconfig.po.o
mv -i ./lib/version.po.po.o ./lib/version.po.o
make

and the build will complete just fine.

Mike.
--
Mike Peterson -- Network Security Specialist -- U/Toronto Network Operations
E-mail: [EMAIL PROTECTED]   WWW: http://www.noc.utoronto.ca/
Tel: 416-978-5230  Fax: 416-971-1362
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba