Hello all, I currently run Samba 3.0 on a Solaris 9 machine in a production environment. I'm happy with it. I tried compiling samba-3.0.1pre1 using ./configure --with-ldap=no. However when it gets to linking bin/tdbbackup it fails. This is the error it gives: Using FLAGS = -O -I./popt -Iinclude -I/scratch/build/samba-3.0.1pre1/source/include -I/scratch/build/samba-3.0.1pre1/source/ubiqx -I/scratch/build/samba-3.0.1pre1/source/smbwrapper -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/scratch/build/samba-3.0.1pre1/source LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl LDSHFLAGS = -G -R/usr/lib LDFLAGS = -R/usr/lib Linking bin/tdbbackup Undefined first referenced symbol in file smb_snprintf tdb/tdbback.o ld: fatal: Symbol referencing errors. No output written to bin/tdbbackup collect2: ld returned 1 exit status make: *** [bin/tdbbackup] Error 1 I've made clean a number of times to ensure it wasn't a dirty build. Can anyone provide any clue. I can post smb.conf info if need be, but I don't think that influences the build. Cheers Jeff -- Jeff Gardiner [ gardiner@imaging.robarts.ca ] Robarts Research Institute - London ON, Canada 519.663.5777 x34089 ~~~~~~~ Those who do not understand Unix are condemned to reinvent it, poorly. -- Henry Spencer ~~~~~~
Gerald (Jerry) Carter
2003-Nov-06 14:46 UTC
[Samba] Solaris, Samba-3.0.1pre1 Compile error
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jeff Gardiner wrote: | Hello all, I currently run Samba 3.0 on a Solaris 9 machine in a production | environment. I'm happy with it. | | I tried compiling samba-3.0.1pre1 using ./configure --with-ldap=no. | | However when it gets to linking bin/tdbbackup it fails. This is the error it | gives: | | Using FLAGS = -O -I./popt -Iinclude | -I/scratch/build/samba-3.0.1pre1/source/include | -I/scratch/build/samba-3.0.1pre1/source/ubiqx | -I/scratch/build/samba-3.0.1pre1/source/smbwrapper -I. - -D_LARGEFILE_SOURCE | -D_FILE_OFFSET_BITS=64 -I/scratch/build/samba-3.0.1pre1/source | LIBS = -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl | LDSHFLAGS = -G -R/usr/lib | LDFLAGS = -R/usr/lib | Linking bin/tdbbackup | Undefined first referenced | symbol in file | smb_snprintf tdb/tdbback.o | ld: fatal: Symbol referencing errors. No output written to bin/tdbbackup | collect2: ld returned 1 exit status | make: *** [bin/tdbbackup] Error 1 | | | I've made clean a number of times to ensure it wasn't a dirty build. Can | anyone provide any clue. I can post smb.conf info if need be, but I don't | think that influences the build. This was our bug. It's already been fixed in CVS. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/ql61IR7qMdg1EfYRAmahAKCnhmLfGBUatRKQXoLpwy/OPmPMrQCg3hbf SO5OQQhPSn73ztv9rOu0VD8=vDhU -----END PGP SIGNATURE-----