Hi, I attempted to build v3.3 using Sun Studio 12, but it failed right out of the gate. It looks like it can't find the standard libraries, but according to the make output, it's looking in the right places. Would someone please clue me in as to what I'm missing? Thanks. -John Using FLAGS = -I/opt/heimdal/include -I/usr/sfw/include/openssl -g -xs -xtarget=ultraT1 -xarch=sparcvis2 -m64 -mt -xcode=pic32 -xpagesize=default -O -D_SAMBA_BUILD_=3 -I/opt/ws/dists/Services/samba-3.3.0/source/iniparser/src -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -DHAVE_CONFIG_H -I/opt/heimdal/include -I/usr/sfw/include/openssl -I/opt/openldap/include -I/opt/db/include -I/opt/gnu/include -I/opt/local/include -I/usr/sfw/include -D_LARGEFILE_SOURCE -D_REENTRANT -D_FILE_OFFSET_BITS=64 -Iinclude -I./include -I. -I. -I./lib/replace -I./lib/talloc -I./lib/tdb/include -I./libaddns -I./librpc -I./popt -DLDAP_DEPRECATED -DSUNOS5 -I/include -I/opt/ws/dists/Services/samba-3.3.0/source/lib -D_SAMBA_BUILD_=3 PICFLAG = -KPIC LIBS = -lsendfile -lresolv -ldb -lumem -lpthread -lnsl -lsocket -liconv LDFLAGS = -L/opt/heimdal/lib -L/opt/db/lib/sparcv9 -R/opt/db/lib/sparcv9 -L/opt/openldap/lib/sparcv9 -R/opt/openldap/lib/sparcv9 -L/opt/heimdal/lib/sparcv9 -R/opt/heimdal/lib/sparcv9 -M /opt/ws/tools/local/lib/openssl-aes.map -L/opt/gnu/lib/sparcv9 -R/opt/gnu/lib/sparcv9 -L/opt/local/lib/sparcv9 -R/opt/local/lib/sparcv9 -L/usr/sfw/lib/sparcv9 -R/usr/sfw/lib/sparcv9 -L/usr/lib/sparcv9 -R/usr/lib/sparcv9 -zdefs -lthread -L./bin DYNEXP LDSHFLAGS = -G -I/opt/heimdal/include -I/usr/sfw/include/openssl -g -xs -xtarget=ultraT1 -xarch=sparcvis2 -m64 -mt -xcode=pic32 -xpagesize=default -O -D_SAMBA_BUILD_=3 -L/opt/heimdal/lib -L/opt/db/lib/sparcv9 -R/opt/db/lib/sparcv9 -L/opt/openldap/lib/sparcv9 -R/opt/openldap/lib/sparcv9 -L/opt/heimdal/lib/sparcv9 -R/opt/heimdal/lib/sparcv9 -M /opt/ws/tools/local/lib/openssl-aes.map -L/opt/gnu/lib/sparcv9 -R/opt/gnu/lib/sparcv9 -L/opt/local/lib/sparcv9 -R/opt/local/lib/sparcv9 -L/usr/sfw/lib/sparcv9 -R/usr/sfw/lib/sparcv9 -L/usr/lib/sparcv9 -R/usr/lib/sparcv9 -zdefs -lthread -L./bin SHLIBEXT = so SONAMEFLAG = -h Linking shared library bin/libtalloc.so.1 Undefined first referenced symbol in file exit lib/replace/getpass.o free lib/talloc/talloc.o __iob lib/talloc/talloc.o abort lib/talloc/talloc.o fgets lib/replace/getpass.o fopen lib/replace/getpass.o fputs lib/replace/getpass.o ioctl lib/replace/getifaddrs.o mkdir lib/replace/replace.o sigemptyset lib/replace/getpass.o __ctype lib/replace/snprintf.o atexit lib/talloc/talloc.o calloc lib/replace/getifaddrs.o fclose lib/replace/getpass.o fflush lib/talloc/talloc.o fileno lib/replace/getpass.o fwrite lib/replace/snprintf.o malloc lib/talloc/talloc.o memcpy lib/talloc/talloc.o memset lib/talloc/talloc.o mktemp lib/replace/replace.o socket lib/replace/getifaddrs.o strcmp lib/talloc/talloc.o strdup lib/replace/getifaddrs.o strlen lib/talloc/talloc.o realloc lib/talloc/talloc.o localtime lib/replace/strptime.o tcsetattr lib/replace/getpass.o setvbuf lib/replace/getpass.o strncasecmp lib/replace/replace.o toupper lib/replace/replace.o sigaddset lib/replace/getpass.o tcgetattr lib/replace/getpass.o ld: fatal: Symbol referencing errors. No output written to bin/libtalloc.so.1 gmake: *** [bin/libtalloc.so.1] Error 1 -- John Center Villanova University
I can't help you with the Sun Studio compiler, but I can tell you that I was able to build Samba 3.3.0 on Solaris 10 using gcc (4.3.3 RC). -David On Thu, Jan 29, 2009 at 5:58 PM, John Center <john.center@villanova.edu> wrote:> Hi, > > I attempted to build v3.3 using Sun Studio 12, but it failed right out of > the gate. It looks like it can't find the standard libraries, but according-- David Eisner http://cradle.brokenglass.com