[Samba] More build problems on Solaris 2.9

Steve Kennedy steve at gbnet.org
Mon Mar 3 18:40:49 GMT 2003


Solaris 2.9, Sun Forte C 6.2, UltraSparc (64 bit)

environment below

Using FLAGS =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -I/usr/local//include -I/usr/local//include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using FLAGS32 =  -O  -I./popt -Iinclude -I./include -I./ubiqx -I./smbwrapper -I/usr/local//include -I/usr/local//include  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DLOGFILEBASE="/usr/local/samba/var" -DCONFIGFILE="/usr/local/samba/lib/smb.conf" -DLMHOSTSFILE="/usr/local/samba/lib/lmhosts"   -DSWATDIR="/usr/local/samba/swat" -DSBINDIR="/usr/local/samba/bin" -DLOCKDIR="/usr/local/samba/var/locks" -DCODEPAGEDIR="/usr/local/samba/lib/codepages" -DDRIVERFILE="/usr/local/samba/lib/printers.def" -DBINDIR="/usr/local/samba/bin" -DPIDDIR="/usr/local/samba/var/locks" -DLIBDIR="/usr/local/samba/lib" -DHAVE_INCLUDES_H -DPASSWD_PROGRAM="/usr/bin/passwd" -DSMB_PASSWD_FILE="/usr/local/samba/private/smbpasswd" -DTDB_PASSWD_FILE="/usr/local/samba/private/smbpasswd.tdb"
Using LIBS = -lsec -lgen -lsocket -lnsl  -ldl

Errors below: -

Compiling rpc_parse/parse_spoolss.c
"rpc_parse/parse_spoolss.c", line 1209: warning: assignment type mismatch:
        pointer to unsigned char "=" pointer to char
"rpc_parse/parse_spoolss.c", line 6666: warning: assignment type mismatch:
        pointer to unsigned char "=" pointer to char

Compiling passdb/secrets.c
"passdb/secrets.c", line 291: warning: argument #2 is incompatible with prototype:
        prototype: pointer to char : "include/proto.h", line 5018
        argument : pointer to const char

Compiling lib/util.c
"lib/util.c", line 62: warning: initializer does not fit or is out of range: -1

Compiling tdb/tdbutil.c
"tdb/tdbutil.c", line 46: warning: argument #1 is incompatible with prototype:
        prototype: pointer to int : "include/../tdb/tdb.h", line 130
        argument : pointer to volatile int

Compiling smbd/quotas.c
"smbd/quotas.c", line 404: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 386
        argument : pointer to unsigned int
"smbd/quotas.c", line 408: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 386
        argument : pointer to unsigned int
"smbd/quotas.c", line 412: warning: argument #2 is incompatible with prototype:
        prototype: pointer to int : "/usr/include/rpc/xdr.h", line 386
        argument : pointer to unsigned int

Compiling client/client.c
"client/client.c", line 678: warning: argument #4 is incompatible with prototype:
        prototype: pointer to unsigned long long : "include/proto.h", line 1191
        argument : pointer to unsigned int

Compiling libsmb/libsmbclient.c with -KPIC
"libsmb/libsmbclient.c", line 1118: warning: argument #4 is incompatible with prototype:
        prototype: pointer to unsigned long long : "include/proto.h", line 1191
        argument : pointer to unsigned int
"libsmb/libsmbclient.c", line 1356: warning: argument #4 is incompatible with prototype:
        prototype: pointer to unsigned long long : "include/proto.h", line 1191
        argument : pointer to unsigned int

Compiling lib/util.c with -KPIC
"lib/util.c", line 62: warning: initializer does not fit or is out of range: -1

Compiling tdb/tdbutil.c with -KPIC
"tdb/tdbutil.c", line 46: warning: argument #1 is incompatible with prototype:
        prototype: pointer to int : "include/../tdb/tdb.h", line 130
        argument : pointer to volatile int

Steve

-- 
home steve at gbnet.org
NetTek Ltd    tel/fax +44-(0)207 483 2455
Email to SMS steve - pager (at) gbnet dot net


More information about the samba mailing list