From: Damjan Dimitrov on
Trying to compile 3.5 and 3.5.1 on Solaris 10 (gcc 3.4.3), but it
stops on "Linking shared library bin/libtalloc.so.2":

/install/samba-3.5.1/source3# make
Using CFLAGS = -I/usr/local/krb5-1.6.3/include -O -I.
-I/install/samba-3.5.1/source3 -I/ins
tall/samba-3.5.1/source3/iniparser/src -Iinclude -I./include -I. -I.
-I./../lib/replace -I./..
/lib/tevent -I./libaddns -I./librpc -I./.. -I./../lib/talloc
-I../lib/tdb/include -DHAVE_CONFIG
_H -I/usr/local/krb5-1.6.3/include -D_LARGEFILE_SOURCE -D_REENTRANT
-D_FILE_OFFSET_BITS=64 -DL
DAP_DEPRECATED -DSUNOS5 -I/install/samba-3.5.1/source3/lib -I..
-I../source4 -D_SAMBA_BUILD_=3
-D_SAMBA_BUILD_=3
PICFLAG = -fPIC
LIBS = -lsendfile -lresolv -lrt -lnsl -lsocket
LDFLAGS = -pie -L/usr/local/krb5-1.6.3/lib
-R/usr/local/krb5-1.6.3/lib -Wl,-z,ignore
-lthread -L./bin
DYNEXP =
LDSHFLAGS = -G -L/usr/local/krb5-1.6.3/lib
-R/usr/local/krb5-1.6.3/lib -Wl,-z,ignore -l
thread -L./bin -lc -Wl,-z,defs
SHLIBEXT = so
SONAMEFLAG = -Wl,-soname=
Linking shared library bin/libtalloc.so.2
ld: warning: option -o appears more than once, first setting taken
Undefined first referenced
symbol in file
main /usr/lib/crt1.o
ld: fatal: Symbol referencing errors. No output written to bin/libtalloc.so.2
collect2: ld returned 1 exit status
make: *** [bin/libtalloc.so.2] Error 1

Any ideas?

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