[Samba] Compile warnings on Solaris 9

Steve Kennedy steve at gbnet.org
Tue Mar 18 23:30:07 GMT 2003


Forte C, Solaris 9, Ultrasparc

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 rpc_parse/parse_dfs.c
Compiling rpc_client/cli_netlogon.c
Compiling rpc_client/cli_pipe.c
Compiling rpc_client/cli_login.c
Compiling rpc_client/cli_trust.c
Compiling locking/locking.c
Compiling locking/brlock.c
Compiling locking/posix.c
Compiling passdb/passdb.c
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

Linking bin/smbcacls
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 1328
        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 1328
        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 1328
        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 1328
        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 1328
        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 303
        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 303
        argument : pointer to unsigned int

Compiling lib/util_str.c with -KPIC
"lib/util_str.c", line 104: warning: assignment type mismatch:
        pointer to char "=" pointer to const char

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
"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 libsmb/clirap.c with -KPIC
"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 662
        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 662
        argument : pointer to int

Compiling libsmb/cliprint.c with -KPIC
"libsmb/cliprint.c", line 87: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 434
        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 434
        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 434
        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 434
        argument : pointer to int

Compiling libsmb/clisecdesc.c with -KPIC
"libsmb/clisecdesc.c", line 52: warning: argument #3 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 671
        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 671
        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 671
        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 671
        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 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 1328
        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 1328
        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 1328
        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 1328
        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 1328
        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 303
        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 303
        argument : pointer to unsigned int

Compiling lib/util_str.c with -KPIC
"lib/util_str.c", line 104: warning: assignment type mismatch:
        pointer to char "=" pointer to const char

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
"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 libsmb/clirap.c with -KPIC
"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 662
        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 662
        argument : pointer to int

Compiling libsmb/cliprint.c with -KPIC
"libsmb/cliprint.c", line 87: warning: argument #9 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 434
        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 434
        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 434
        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 434
        argument : pointer to int

Compiling libsmb/clisecdesc.c with -KPIC
"libsmb/clisecdesc.c", line 52: warning: argument #3 is incompatible with prototype:
        prototype: pointer to unsigned int : "include/proto.h", line 671
        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 671
        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 671
        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 671
        argument : pointer to int

Installing libsmbclient as /usr/local/samba/bin/libsmbclient
cp: cannot access 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