[Samba] Compiling Samba 2.2.2 in 64 bit mode for Solaris 8 10/00

Russell Aspinwall russell.aspinwall at flomerics.co.uk
Thu Jan 31 03:00:54 GMT 2002


Hi,

I have been trying to compile Samba 2.2.2 on Solaris 8 10/00 using the
Sun's Forte C 6.0 update 2 (patched) so that it uses 64 bit file
handling routines without much success. A collegue did send a request a
while to the Samba newgroups and got back some information which he
forwarded to me.

At present we are use TAZ and must have the maximum number of file
descriptors set to 65,000 and in order for Samba to handle that number
of open files I have been advised that I do need to use the 64 bit I/O
routines.

I would appreciate any advice you could pass on, after ungzipping and
tarring and run configure as follows

SunOS % ./configure --prefix=/opt/samba2.2.2_64bit

This runs without errors and does find the 64 bit I/O functions, then I
issue the make command.

SunOS % make
Using FLAGS =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DLOGFILEBASE="/opt/samba2.2.2_64bit/var"
-DCONFIGFILE="/opt/samba2.2.2_64bit/lib/smb.conf"
-DLMHOSTSFILE="/opt/samba2.2.2_64bit/lib/lmhosts"
-DSWATDIR="/opt/samba2.2.2_64bit/swat"
-DSBINDIR="/opt/samba2.2.2_64bit/sbin"
-DLOCKDIR="/opt/samba2.2.2_64bit/var/locks"
-DCODEPAGEDIR="/opt/samba2.2.2_64bit/lib/codepages"
-DDRIVERFILE="/opt/samba2.2.2_64bit/lib/printers.def"
-DBINDIR="/opt/samba2.2.2_64bit/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/opt/samba2.2.2_64bit/private/smbpasswd"
-DTDB_PASSWD_FILE="/opt/samba2.2.2_64bit/private/smbpasswd.tdb"
Using FLAGS32 =  -O -Iinclude -I./include -I./ubiqx -I./smbwrapper
-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
-DLOGFILEBASE="/opt/samba2.2.2_64bit/var"
-DCONFIGFILE="/opt/samba2.2.2_64bit/lib/smb.conf"
-DLMHOSTSFILE="/opt/samba2.2.2_64bit/lib/lmhosts"
-DSWATDIR="/opt/samba2.2.2_64bit/swat"
-DSBINDIR="/opt/samba2.2.2_64bit/sbin"
-DLOCKDIR="/opt/samba2.2.2_64bit/var/locks"
-DCODEPAGEDIR="/opt/samba2.2.2_64bit/lib/codepages"
-DDRIVERFILE="/opt/samba2.2.2_64bit/lib/printers.def"
-DBINDIR="/opt/samba2.2.2_64bit/bin" -DHAVE_INCLUDES_H
-DPASSWD_PROGRAM="/bin/passwd"
-DSMB_PASSWD_FILE="/opt/samba2.2.2_64bit/private/smbpasswd"
-DTDB_PASSWD_FILE="/opt/samba2.2.2_64bit/private/smbpasswd.tdb"
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl
Compiling smbd/server.c
Compiling smbd/files.c
Compiling smbd/chgpasswd.c
Compiling smbd/connection.c
Compiling smbd/utmp.c
Compiling smbd/session.c
Compiling smbd/dfree.c
Compiling smbd/dir.c
Compiling smbd/password.c
Compiling smbd/conn.c
Compiling smbd/fileio.c
Compiling smbd/ipc.c


Many thanks in advance

Russell

-- 
Network and Systems Administrator           Flomerics Ltd
Email: russell.aspinwall at flomerics.co.uk 81 Bridge Road
Telephone: 020-8941-8810 x3116              Hampton Court
Facsimile: 020-8941-8730                    Surrey, KT8 9HH, UK




More information about the samba mailing list