[Samba] Solaris 9 sparc, Forte C compile errors (2_2 branch)

Steve Kennedy steve at gbnet.org
Wed Mar 26 15:38:20 GMT 2003


Still compile errors on Solaris 9 (Ultra Sparc in 64bit mode)
Forte C, 2_2 branch from CVS as of about 11am UK time.

Only errors shown: -

rebuilding include/proto.h
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

Compiling libsmb/clirap.c
"libsmb/clirap.c", line 114: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "libsmb/clirap.c", line 57
        argument : pointer to int
"libsmb/clirap.c", line 114: warning: argument #11 is incompatible with prototype:
        prototype: pointer to unsigned int : "libsmb/clirap.c", line 57
        argument : pointer to int
"libsmb/clirap.c", line 164: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "libsmb/clirap.c", line 57
        argument : pointer to int
"libsmb/clirap.c", line 164: warning: argument #11 is incompatible with prototype:
        prototype: pointer to unsigned int : "libsmb/clirap.c", line 57
        argument : pointer to int
"libsmb/clirap.c", line 244: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "libsmb/clirap.c", line 57
        argument : pointer to int
"libsmb/clirap.c", line 244: warning: argument #11 is incompatible with prototype:
        prototype: pointer to unsigned int : "libsmb/clirap.c", line 57
        argument : pointer to int
"libsmb/clirap.c", line 356: warning: argument #4 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1294
        argument : pointer to int
"libsmb/clirap.c", line 356: warning: argument #6 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1294
        argument : pointer to int

Compiling libsmb/cliprint.c
"libsmb/cliprint.c", line 87: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1237
        argument : pointer to int
"libsmb/cliprint.c", line 87: warning: argument #11 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1237
        argument : pointer to int
"libsmb/cliprint.c", line 148: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1237
        argument : pointer to int
"libsmb/cliprint.c", line 148: warning: argument #11 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1237
        argument : pointer to int

Compiling libsmb/clisecdesc.c
"libsmb/clisecdesc.c", line 52: warning: argument #3 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1303
        argument : pointer to int
"libsmb/clisecdesc.c", line 52: warning: argument #5 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1303
        argument : pointer to int
"libsmb/clisecdesc.c", line 116: warning: argument #3 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1303
        argument : pointer to int
"libsmb/clisecdesc.c", line 116: warning: argument #5 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 1303
        argument : pointer to int

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 59: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"passdb/secrets.c", line 74: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"passdb/secrets.c", line 76: warning: assignment type mismatch:
        pointer to char "=" pointer to const void
"passdb/secrets.c", line 89: warning: assignment type mismatch:
        pointer to char "=" pointer to const char

Compiling lib/util_str.c
"lib/util_str.c", line 104: warning: assignment type mismatch:
        pointer to char "=" 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
"tdb/tdbutil.c", line 73: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 87: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 103: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 134: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 162: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 194: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 224: warning: assignment type mismatch:
        pointer to char "=" pointer to const char
"tdb/tdbutil.c", line 242: warning: assignment type mismatch:
        pointer to char "=" pointer to const char

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 utils/smbpasswd.c
"utils/smbpasswd.c", line 976: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const unsigned char : "include/proto.h", line 1435
        argument : pointer to char
"utils/smbpasswd.c", line 976: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned char : "include/proto.h", line 1435
        argument : pointer to char
"utils/smbpasswd.c", line 978: warning: argument #2 is incompatible with prototype:
        prototype: pointer to unsigned char : "include/proto.h", line 2396
        argument : pointer to char

Compiling libsmb/libsmbclient.c with -KPIC
"libsmb/libsmbclient.c", line 144: warning: argument #1 is incompatible with prototype:
        prototype: pointer to pointer to const char : "include/proto.h", line 688
        argument : pointer to pointer to char
"libsmb/libsmbclient.c", line 150: warning: argument #1 is incompatible with prototype:
        prototype: pointer to pointer to const char : "include/proto.h", line 688
        argument : pointer to pointer to char
"libsmb/libsmbclient.c", line 156: warning: argument #1 is incompatible with prototype:
        prototype: pointer to pointer to const char : "include/proto.h", line 688
        argument : pointer to pointer to char
"libsmb/libsmbclient.c", line 175: warning: argument #1 is incompatible with prototype:
        prototype: pointer to pointer to const char : "include/proto.h", line 688
        argument : pointer to pointer to char
"libsmb/libsmbclient.c", line 183: warning: argument #1 is incompatible with prototype:
        prototype: pointer to pointer to const char : "include/proto.h", line 688
        argument : pointer to pointer to char
"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

Installing libsmbclient as /usr/local/samba/bin/libsmbclient
cp: cannot access libsmbclient
chmod: WARNING: can't access /usr/local/samba/bin/libsmbclient


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