[ 29%] Building C object samba/CMakeFiles/samba-static.dir/auth/pam_errors.c.o
[ 29%] Building C object samba/CMakeFiles/samba-static.dir/auth/sam.c.o
[ 29%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/common/flag_mapping.c.o
[ 30%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/cracknames.c.o
/opt/gvm/openvas-smb/samba/dsdb/samdb/cracknames.c: In function ‘DsCrackNameUPN’:
/opt/gvm/openvas-smb/samba/dsdb/samdb/cracknames.c:247:2: warning: ‘krb5_princ_realm’ is deprecated [-Wdeprecated-declarations]
247 | realm = krb5_princ_realm(smb_krb5_context->krb5_context, principal);
| ^~~~~
In file included from /usr/include/heimdal/krb5.h:967,
from /opt/gvm/openvas-smb/samba/lib/replace/system/kerberos.h:128,
from /opt/gvm/openvas-smb/samba/dsdb/samdb/cracknames.c:29:
/usr/include/heimdal/krb5-protos.h:6374:1: note: declared here
6374 | krb5_princ_realm (
| ^~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/dsdb/samdb/cracknames.c: In function ‘DsCrackNameOneName’:
/opt/gvm/openvas-smb/samba/dsdb/samdb/cracknames.c:468:4: warning: ‘krb5_princ_realm’ is deprecated [-Wdeprecated-declarations]
468 | realm = krb5_princ_realm(smb_krb5_context->krb5_context, principal);
| ^~~~~
In file included from /usr/include/heimdal/krb5.h:967,
from /opt/gvm/openvas-smb/samba/lib/replace/system/kerberos.h:128,
from /opt/gvm/openvas-smb/samba/dsdb/samdb/cracknames.c:29:
/usr/include/heimdal/krb5-protos.h:6374:1: note: declared here
6374 | krb5_princ_realm (
| ^~~~~~~~~~~~~~~~
[ 30%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/entryUUID.c.o
[ 30%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/extended_dn.c.o
[ 31%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/kludge_acl.c.o
[ 31%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/local_password.c.o
[ 31%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/objectguid.c.o
[ 32%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/partition.c.o
[ 32%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/password_hash.c.o
[ 32%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/rootdse.c.o
[ 32%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/samba3sam.c.o
[ 34%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/samldb.c.o
[ 34%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/schema.c.o
/opt/gvm/openvas-smb/samba/dsdb/samdb/ldb_modules/schema.c: In function ‘schema_check_attributes_syntax’:
/opt/gvm/openvas-smb/samba/dsdb/samdb/ldb_modules/schema.c:943:6: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
943 | msg = sctx->orig_req->op.add.message;
| ^
[ 34%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/ldb_modules/schema_syntax.c.o
[ 35%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/samdb.c.o
[ 35%] Building C object samba/CMakeFiles/samba-static.dir/dsdb/samdb/samdb_privilege.c.o
[ 35%] Building C object samba/CMakeFiles/samba-static.dir/lib/charset/charcnv.c.o
[ 36%] Building C object samba/CMakeFiles/samba-static.dir/lib/charset/iconv.c.o
[ 36%] Building C object samba/CMakeFiles/samba-static.dir/lib/charset/util_unistr.c.o
[ 36%] Building C object samba/CMakeFiles/samba-static.dir/libcli/auth/credentials.c.o
[ 36%] Building C object samba/CMakeFiles/samba-static.dir/libcli/auth/smbdes.c.o
[ 37%] Building C object samba/CMakeFiles/samba-static.dir/libcli/auth/smbencrypt.c.o
[ 37%] Building C object samba/CMakeFiles/samba-static.dir/libcli/cliconnect.c.o
[ 37%] Building C object samba/CMakeFiles/samba-static.dir/libcli/clifile.c.o
[ 38%] Building C object samba/CMakeFiles/samba-static.dir/libcli/composite/composite.c.o
[ 38%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap_bind.c.o
[ 38%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap.c.o
[ 39%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap_client.c.o
[ 39%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap_controls.c.o
[ 39%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap_ildap.c.o
[ 39%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap_msg.c.o
[ 40%] Building C object samba/CMakeFiles/samba-static.dir/libcli/ldap/ldap_ndr.c.o
[ 40%] Building C object samba/CMakeFiles/samba-static.dir/libcli/nbt/namequery.c.o
[ 40%] Building C object samba/CMakeFiles/samba-static.dir/libcli/nbt/nbtname.c.o
[ 41%] Building C object samba/CMakeFiles/samba-static.dir/libcli/nbt/nbtsocket.c.o
[ 41%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/clisession.c.o
[ 41%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/clisocket.c.o
[ 42%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/clitransport.c.o
[ 42%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/clitree.c.o
[ 42%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawacl.c.o
[ 42%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawdate.c.o
[ 43%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/raweas.c.o
[ 43%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawfile.c.o
[ 43%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawfileinfo.c.o
[ 44%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawfsinfo.c.o
[ 44%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawnegotiate.c.o
[ 44%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawnotify.c.o
[ 45%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawreadwrite.c.o
[ 45%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawrequest.c.o
[ 45%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawsetfileinfo.c.o
[ 45%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/rawtrans.c.o
[ 46%] Building C object samba/CMakeFiles/samba-static.dir/libcli/raw/smb_signing.c.o
[ 46%] Building C object samba/CMakeFiles/samba-static.dir/libcli/resolve/bcast.c.o
[ 46%] Building C object samba/CMakeFiles/samba-static.dir/libcli/resolve/host.c.o
[ 47%] Building C object samba/CMakeFiles/samba-static.dir/libcli/resolve/nbtlist.c.o
[ 47%] Building C object samba/CMakeFiles/samba-static.dir/libcli/resolve/resolve.c.o
[ 47%] Building C object samba/CMakeFiles/samba-static.dir/libcli/resolve/wins.c.o
[ 48%] Building C object samba/CMakeFiles/samba-static.dir/libcli/security/dom_sid.c.o
[ 48%] Building C object samba/CMakeFiles/samba-static.dir/libcli/security/privilege.c.o
[ 48%] Building C object samba/CMakeFiles/samba-static.dir/libcli/security/sddl.c.o
[ 48%] Building C object samba/CMakeFiles/samba-static.dir/libcli/security/security_descriptor.c.o
[ 49%] Building C object samba/CMakeFiles/samba-static.dir/libcli/security/security_token.c.o
[ 49%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/cancel.c.o
[ 49%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/close.c.o
[ 50%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/connect.c.o
[ 50%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/create.c.o
[ 50%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/ioctl.c.o
[ 51%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/negprot.c.o
[ 51%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/read.c.o
[ 51%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/request.c.o
[ 51%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/session.c.o
[ 52%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/tcon.c.o
[ 52%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/transport.c.o
[ 52%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb2/write.c.o
[ 53%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb_composite/connect.c.o
[ 53%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb_composite/savefile.c.o
[ 53%] Building C object samba/CMakeFiles/samba-static.dir/libcli/smb_composite/sesssetup.c.o
[ 54%] Building C object samba/CMakeFiles/samba-static.dir/libcli/util/asn1.c.o
[ 54%] Building C object samba/CMakeFiles/samba-static.dir/libcli/util/doserr.c.o
[ 54%] Building C object samba/CMakeFiles/samba-static.dir/libcli/util/errormap.c.o
[ 54%] Building C object samba/CMakeFiles/samba-static.dir/libcli/util/nterr.c.o
[ 55%] Building C object samba/CMakeFiles/samba-static.dir/lib/cmdline/credentials.c.o
[ 55%] Building C object samba/CMakeFiles/samba-static.dir/lib/cmdline/popt_common.c.o
[ 55%] Building C object samba/CMakeFiles/samba-static.dir/lib/cmdline/popt_credentials.c.o
[ 56%] Building C object samba/CMakeFiles/samba-static.dir/lib/com/classes/simple.c.o
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:90:2: warning: initialization of ‘struct composite_context * (*)(struct IUnknown *, TALLOC_CTX *, struct GUID *)’ {aka ‘struct composite_context * (*)(struct IUnknown *, void *, struct GUID *)’} from incompatible pointer type ‘WERROR (*)(struct IUnknown *, TALLOC_CTX *, struct GUID *, struct IUnknown **)’ {aka ‘struct <anonymous> (*)(struct IUnknown *, void *, struct GUID *, struct IUnknown **)’} [-Wincompatible-pointer-types]
90 | simpleclass_IUnknown_QueryInterface,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:90:2: note: (near initialization for ‘simple_classobject_vtable.QueryInterface_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:91:2: warning: initialization of ‘struct composite_context * (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘struct composite_context * (*)(struct IUnknown *, void *)’} from incompatible pointer type ‘uint32_t (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘unsigned int (*)(struct IUnknown *, void *)’} [-Wincompatible-pointer-types]
91 | simpleclass_IUnknown_AddRef,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:91:2: note: (near initialization for ‘simple_classobject_vtable.AddRef_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:92:2: warning: initialization of ‘struct composite_context * (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘struct composite_context * (*)(struct IUnknown *, void *)’} from incompatible pointer type ‘uint32_t (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘unsigned int (*)(struct IUnknown *, void *)’} [-Wincompatible-pointer-types]
92 | simpleclass_IUnknown_Release,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:92:2: note: (near initialization for ‘simple_classobject_vtable.Release_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:93:2: warning: initialization of ‘struct composite_context * (*)(struct IClassFactory *, TALLOC_CTX *, struct MInterfacePointer *, struct GUID *)’ {aka ‘struct composite_context * (*)(struct IClassFactory *, void *, struct MInterfacePointer *, struct GUID *)’} from incompatible pointer type ‘WERROR (*)(struct IClassFactory *, TALLOC_CTX *, struct IUnknown *, struct GUID *, struct IUnknown **)’ {aka ‘struct <anonymous> (*)(struct IClassFactory *, void *, struct IUnknown *, struct GUID *, struct IUnknown **)’} [-Wincompatible-pointer-types]
93 | simpleclass_IClassFactory_CreateInstance,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:93:2: note: (near initialization for ‘simple_classobject_vtable.CreateInstance_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:101:2: warning: initialization of ‘struct composite_context * (*)(struct IUnknown *, TALLOC_CTX *, struct GUID *)’ {aka ‘struct composite_context * (*)(struct IUnknown *, void *, struct GUID *)’} from incompatible pointer type ‘WERROR (*)(struct IUnknown *, TALLOC_CTX *, struct GUID *, struct IUnknown **)’ {aka ‘struct <anonymous> (*)(struct IUnknown *, void *, struct GUID *, struct IUnknown **)’} [-Wincompatible-pointer-types]
101 | simple_IUnknown_QueryInterface,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:101:2: note: (near initialization for ‘simple_IStream_vtable.QueryInterface_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:102:2: warning: initialization of ‘struct composite_context * (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘struct composite_context * (*)(struct IUnknown *, void *)’} from incompatible pointer type ‘uint32_t (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘unsigned int (*)(struct IUnknown *, void *)’} [-Wincompatible-pointer-types]
102 | simple_IUnknown_AddRef,
| ^~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:102:2: note: (near initialization for ‘simple_IStream_vtable.AddRef_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:103:2: warning: initialization of ‘struct composite_context * (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘struct composite_context * (*)(struct IUnknown *, void *)’} from incompatible pointer type ‘uint32_t (*)(struct IUnknown *, TALLOC_CTX *)’ {aka ‘unsigned int (*)(struct IUnknown *, void *)’} [-Wincompatible-pointer-types]
103 | simple_IUnknown_Release,
| ^~~~~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:103:2: note: (near initialization for ‘simple_IStream_vtable.Release_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:104:2: warning: initialization of ‘struct composite_context * (*)(struct IStream *, TALLOC_CTX *, uint32_t, uint32_t *)’ {aka ‘struct composite_context * (*)(struct IStream *, void *, unsigned int, unsigned int *)’} from incompatible pointer type ‘WERROR (*)(struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t *, uint32_t)’ {aka ‘struct <anonymous> (*)(struct IStream *, void *, unsigned char *, unsigned int, unsigned int *, unsigned int)’} [-Wincompatible-pointer-types]
104 | simple_IStream_Read,
| ^~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:104:2: note: (near initialization for ‘simple_IStream_vtable.Read_send’)
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:105:2: warning: initialization of ‘struct composite_context * (*)(struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t)’ {aka ‘struct composite_context * (*)(struct IStream *, void *, unsigned char *, unsigned int)’} from incompatible pointer type ‘WERROR (*)(struct IStream *, TALLOC_CTX *, uint8_t *, uint32_t, uint32_t)’ {aka ‘struct <anonymous> (*)(struct IStream *, void *, unsigned char *, unsigned int, unsigned int)’} [-Wincompatible-pointer-types]
105 | simple_IStream_Write
| ^~~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/com/classes/simple.c:105:2: note: (near initialization for ‘simple_IStream_vtable.Write_send’)
[ 56%] Building C object samba/CMakeFiles/samba-static.dir/lib/com/dcom/main.c.o
[ 56%] Building C object samba/CMakeFiles/samba-static.dir/lib/com/dcom/tables.c.o
[ 57%] Building C object samba/CMakeFiles/samba-static.dir/lib/com/main.c.o
[ 57%] Building C object samba/CMakeFiles/samba-static.dir/lib/compression/mszip.c.o
[ 57%] Building C object samba/CMakeFiles/samba-static.dir/lib/com/tables.c.o
[ 57%] Building C object samba/CMakeFiles/samba-static.dir/lib/crypto/arcfour.c.o
[ 58%] Building C object samba/CMakeFiles/samba-static.dir/lib/crypto/crc32.c.o
[ 58%] Building C object samba/CMakeFiles/samba-static.dir/lib/crypto/hmacmd5.c.o
[ 58%] Building C object samba/CMakeFiles/samba-static.dir/lib/crypto/md4.c.o
[ 59%] Building C object samba/CMakeFiles/samba-static.dir/lib/crypto/md5.c.o
[ 59%] Building C object samba/CMakeFiles/samba-static.dir/lib/db_wrap.c.o
[ 59%] Building C object samba/CMakeFiles/samba-static.dir/lib/events/events.c.o
[ 60%] Building C object samba/CMakeFiles/samba-static.dir/lib/events/events_standard.c.o
[ 60%] Building C object samba/CMakeFiles/samba-static.dir/lib/gendb.c.o
[ 60%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/attrib_handlers.c.o
[ 60%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_attributes.c.o
[ 61%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb.c.o
[ 61%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_controls.c.o
[ 61%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_debug.c.o
[ 62%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_dn.c.o
[ 62%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_ldif.c.o
[ 62%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_match.c.o
[ 63%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_modules.c.o
[ 63%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_msg.c.o
[ 63%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_parse.c.o
[ 63%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/ldb_utf8.c.o
[ 64%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/common/qsort.c.o
[ 64%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_ildap/ldb_ildap.c.o
[ 64%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_tdb/ldb_cache.c.o
[ 65%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_tdb/ldb_index.c.o
[ 65%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_tdb/ldb_pack.c.o
[ 65%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_tdb/ldb_search.c.o
[ 67%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_tdb/ldb_tdb.c.o
[ 67%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/ldb_tdb/ldb_tdb_wrap.c.o
[ 67%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/asq.c.o
[ 67%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/ldb_map.c.o
[ 68%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/ldb_map_inbound.c.o
[ 68%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/ldb_map_outbound.c.o
/opt/gvm/openvas-smb/samba/lib/ldb/modules/ldb_map_outbound.c: In function ‘ldb_msg_replace’:
/opt/gvm/openvas-smb/samba/lib/ldb/modules/ldb_map_outbound.c:199:18: warning: passing argument 1 of ‘talloc_free’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
199 | talloc_free(old->name);
| ~~~^~~~~~
In file included from /opt/gvm/openvas-smb/samba/include/includes.h:83,
from /opt/gvm/openvas-smb/samba/lib/ldb/modules/ldb_map_outbound.c:27:
/opt/gvm/openvas-smb/samba/lib/talloc/talloc.h:127:23: note: expected ‘void *’ but argument is of type ‘const char *’
127 | int talloc_free(void *ptr);
| ~~~~~~^~~
[ 68%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/objectclass.c.o
[ 69%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/operational.c.o
/opt/gvm/openvas-smb/samba/lib/ldb/modules/operational.c: In function ‘operational_search’:
/opt/gvm/openvas-smb/samba/lib/ldb/modules/operational.c:247:45: warning: passing argument 1 of ‘ldb_parse_tree_attr_replace’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
247 | ldb_parse_tree_attr_replace(req->op.search.tree,
| ~~~~~~~~~~~~~~^~~~~
In file included from /opt/gvm/openvas-smb/samba/lib/ldb/include/includes.h:29,
from /opt/gvm/openvas-smb/samba/lib/ldb/modules/operational.c:78:
/opt/gvm/openvas-smb/samba/lib/ldb/include/ldb.h:1528:57: note: expected ‘struct ldb_parse_tree *’ but argument is of type ‘const struct ldb_parse_tree *’
1528 | void ldb_parse_tree_attr_replace(struct ldb_parse_tree *tree,
| ~~~~~~~~~~~~~~~~~~~~~~~^~~~
[ 69%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/paged_results.c.o
[ 69%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/paged_searches.c.o
[ 70%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/rdn_name.c.o
[ 70%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/skel.c.o
[ 70%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/modules/sort.c.o
[ 70%] Building C object samba/CMakeFiles/samba-static.dir/lib/ldb/samba/ldif_handlers.c.o
[ 71%] Building C object samba/CMakeFiles/samba-static.dir/lib/messaging/messaging.c.o
[ 71%] Building C object samba/CMakeFiles/samba-static.dir/lib/replace/replace.c.o
[ 71%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_basic.c.o
[ 72%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr.c.o
[ 72%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_compression.c.o
[ 72%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_dcom.c.o
[ 73%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_drsuapi.c.o
[ 73%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_krb5pac.c.o
[ 73%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_misc.c.o
[ 73%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_orpc.c.o
[ 74%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_sec_helper.c.o
[ 74%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_spoolss_buf.c.o
[ 74%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/ndr_string.c.o
[ 75%] Building C object samba/CMakeFiles/samba-static.dir/librpc/ndr/uuid.c.o
[ 75%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_auth.c.o
[ 75%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc.c.o
[ 76%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_connect.c.o
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_ncacn_np_smb_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:150:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
150 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_np_smb_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:150:3: note: in expansion of macro ‘DEBUG’
150 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_np_smb_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:150:34: note: format string is defined here
150 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_np_smb_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_ncacn_np_smb2_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:255:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
255 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_np_smb2_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:255:3: note: in expansion of macro ‘DEBUG’
255 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_np_smb2_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:255:34: note: format string is defined here
255 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_np_smb2_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_ncacn_ip_tcp_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:329:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
329 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_ip_tcp_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:329:3: note: in expansion of macro ‘DEBUG’
329 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_ip_tcp_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:329:34: note: format string is defined here
329 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_ip_tcp_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_ncacn_unix_stream_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:406:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
406 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_unix_stream_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:406:3: note: in expansion of macro ‘DEBUG’
406 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_unix_stream_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:406:34: note: format string is defined here
406 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncacn_unix_stream_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_ncalrpc_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:473:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
473 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncalrpc_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:473:3: note: in expansion of macro ‘DEBUG’
473 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncalrpc_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:473:34: note: format string is defined here
473 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_ncalrpc_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_b_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:790:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
790 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_b_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:790:3: note: in expansion of macro ‘DEBUG’
790 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_b_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:790:34: note: format string is defined here
790 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_b_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_pipe_connect_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:918:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
918 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:918:3: note: in expansion of macro ‘DEBUG’
918 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:918:34: note: format string is defined here
918 | DEBUG(0,("failed NT status (%08x) in dcerpc_pipe_connect_recv\n", status));
| ~~~^
| |
| unsigned int
In file included from /opt/gvm/openvas-smb/samba/lib/util/util.h:39,
from /opt/gvm/openvas-smb/samba/include/includes.h:86,
from /opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:27:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c: In function ‘dcerpc_secondary_connection_recv’:
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:1105:12: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘NTSTATUS’ {aka ‘struct <anonymous>’} [-Wformat=]
1105 | DEBUG(0,("failed NT status (%08x) in dcerpc_secondary_connection_recv\n", status));
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~
| |
| NTSTATUS {aka struct <anonymous>}
/opt/gvm/openvas-smb/samba/lib/util/debug.h:51:12: note: in definition of macro ‘_DEBUG’
51 | do_debug body; \
| ^~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:1105:3: note: in expansion of macro ‘DEBUG’
1105 | DEBUG(0,("failed NT status (%08x) in dcerpc_secondary_connection_recv\n", status));
| ^~~~~
/opt/gvm/openvas-smb/samba/librpc/rpc/dcerpc_connect.c:1105:34: note: format string is defined here
1105 | DEBUG(0,("failed NT status (%08x) in dcerpc_secondary_connection_recv\n", status));
| ~~~^
| |
| unsigned int
[ 76%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_error.c.o
[ 76%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_schannel.c.o
[ 76%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_smb2.c.o
[ 77%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_smb.c.o
[ 77%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_sock.c.o
[ 77%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/dcerpc_util.c.o
[ 78%] Building C object samba/CMakeFiles/samba-static.dir/librpc/rpc/table.c.o
[ 78%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/connect.c.o
[ 78%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/connect_multi.c.o
[ 79%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/interface.c.o
[ 79%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/netif.c.o
[ 79%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/socket.c.o
[ 79%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/socket_ipv4.c.o
[ 80%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/socket_ipv6.c.o
[ 80%] Building C object samba/CMakeFiles/samba-static.dir/lib/socket/socket_unix.c.o
[ 80%] Building C object samba/CMakeFiles/samba-static.dir/lib/stream/packet.c.o
[ 81%] Building C object samba/CMakeFiles/samba-static.dir/lib/talloc/talloc.c.o
[ 81%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/error.c.o
[ 81%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/freelist.c.o
[ 82%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/io.c.o
In file included from /opt/gvm/openvas-smb/samba/lib/tdb/common/io.c:30:
/opt/gvm/openvas-smb/samba/lib/tdb/common/io.c: In function ‘tdb_read’:
/opt/gvm/openvas-smb/samba/lib/tdb/common/io.c:127:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 6 has type ‘ssize_t’ {aka ‘long int’} [-Wformat=]
127 | TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_read failed at %d len=%d ret=%d (%s) map_size=%d\n",
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
128 | off, len, ret, strerror(errno), (int)tdb->map_size));
| ~~~
| |
| ssize_t {aka long int}
/opt/gvm/openvas-smb/samba/lib/tdb/common/tdb_private.h:74:36: note: in definition of macro ‘TDB_LOG’
74 | #define TDB_LOG(x) tdb->log.log_fn x
| ^
/opt/gvm/openvas-smb/samba/lib/tdb/common/io.c:127:69: note: format string is defined here
127 | TDB_LOG((tdb, TDB_DEBUG_FATAL,"tdb_read failed at %d len=%d ret=%d (%s) map_size=%d\n",
| ~^
| |
| int
| %ld
[ 82%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/lock.c.o
[ 82%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/open.c.o
[ 82%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/tdb.c.o
[ 83%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/transaction.c.o
[ 83%] Building C object samba/CMakeFiles/samba-static.dir/lib/tdb/common/traverse.c.o
[ 83%] Building C object samba/CMakeFiles/samba-static.dir/lib/tls/tls.c.o
[ 84%] Building C object samba/CMakeFiles/samba-static.dir/lib/tls/tlscert.c.o
/opt/gvm/openvas-smb/samba/lib/tls/tlscert.c: In function ‘tls_cert_generate’:
/opt/gvm/openvas-smb/samba/lib/tls/tlscert.c:42:2: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations]
42 | gnutls_x509_crt cacrt, crt;
| ^~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/tls/tlscert.c:42:2: warning: ‘gnutls_x509_crt’ is deprecated [-Wdeprecated-declarations]
/opt/gvm/openvas-smb/samba/lib/tls/tlscert.c:43:2: warning: ‘gnutls_x509_privkey’ is deprecated [-Wdeprecated-declarations]
43 | gnutls_x509_privkey key, cakey;
| ^~~~~~~~~~~~~~~~~~~
/opt/gvm/openvas-smb/samba/lib/tls/tlscert.c:43:2: warning: ‘gnutls_x509_privkey’ is deprecated [-Wdeprecated-declarations]
[ 84%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/data_blob.c.o
[ 84%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/debug.c.o
[ 85%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/fault.c.o
[ 85%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/genrand.c.o
[ 85%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/idtree.c.o
[ 85%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/module.c.o
[ 86%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/ms_fnmatch.c.o
[ 86%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/signal.c.o
[ 86%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/system.c.o
[ 87%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/time.c.o
[ 87%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/unix_privs.c.o
[ 87%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/util.c.o
[ 88%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/util_file.c.o
[ 88%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/util_str.c.o
[ 88%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/util_strlist.c.o
[ 88%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/util_tdb.c.o
/opt/gvm/openvas-smb/samba/lib/util/util_tdb.c: In function ‘tdb_unpack’:
/opt/gvm/openvas-smb/samba/lib/util/util_tdb.c:485:9: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
485 | *p = (void *)IVAL(buf, 0);
| ^
[ 89%] Building C object samba/CMakeFiles/samba-static.dir/lib/util/xfile.c.o
[ 89%] Building C object samba/CMakeFiles/samba-static.dir/nbt_server/wins/wins_ldb.c.o
[ 89%] Building C object samba/CMakeFiles/samba-static.dir/nsswitch/wb_common.c.o
[ 90%] Building C object samba/CMakeFiles/samba-static.dir/param/loadparm.c.o
[ 90%] Building C object samba/CMakeFiles/samba-static.dir/param/params.c.o
[ 90%] Building C object samba/CMakeFiles/samba-static.dir/param/secrets.c.o
[ 91%] Building C object samba/CMakeFiles/samba-static.dir/param/util.c.o
[ 91%] Building C object samba/CMakeFiles/samba-static.dir/dynconfig.c.o
[ 91%] Linking C static library libsamba-static.a
[ 91%] Built target samba-static
Scanning dependencies of target bin2c
[ 91%] Building C object winexe/CMakeFiles/bin2c.dir/bin2c.c.o
/opt/gvm/openvas-smb/winexe/bin2c.c: In function ‘main’:
/opt/gvm/openvas-smb/winexe/bin2c.c:24:33: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘long int’ [-Wformat=]
24 | printf("unsigned int %s_len = %u;\nunsigned char %s[] = {\n",
| ~^
| |
| unsigned int
| %lu
25 | base_fname, len, base_fname);
| ~~~
| |
| long int
/opt/gvm/openvas-smb/winexe/bin2c.c:36:29: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 4 has type ‘long int’ [-Wformat=]
36 | fprintf(stderr, "%s_len = %u\n", argv[1], len);
| ~^ ~~~
| | |
| unsigned int long int
| %lu
[ 91%] Linking C executable bin2c
[ 91%] Built target bin2c
[ 92%] Generating winexesvc.exe
[ 92%] Generating winexesvc_exe.c
/opt/gvm/openvas-smb/winexe/winexesvc_exe_len = 305508
Scanning dependencies of target winexe
[ 92%] Building C object winexe/CMakeFiles/winexe.dir/winexe.c.o
[ 92%] Building C object winexe/CMakeFiles/winexe.dir/service.c.o
[ 93%] Building C object winexe/CMakeFiles/winexe.dir/async.c.o
[ 93%] Building C object winexe/CMakeFiles/winexe.dir/winexesvc_exe.c.o
[ 93%] Linking C executable winexe
/usr/bin/ld: cannot find -lunistring
/usr/bin/ld: cannot find -lunistring
collect2: error: ld returned 1 exit status
make[2]: *** [winexe/CMakeFiles/winexe.dir/build.make:140: winexe/winexe] Error 1
make[1]: *** [CMakeFiles/Makefile2:194: winexe/CMakeFiles/winexe.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
[ 1%] Generating IDL tables
Scanning dependencies of target samba-static
[ 1%] Generating IDL tables
[ 2%] Building C object samba/CMakeFiles/samba-static.dir/librpc/gen_ndr/tables.c.o
[ 2%] Linking C static library libsamba-static.a
[ 91%] Built target samba-static
[ 91%] Built target bin2c
[ 91%] Linking C executable winexe
/usr/bin/ld: cannot find -lunistring
/usr/bin/ld: cannot find -lunistring
collect2: error: ld returned 1 exit status
make[2]: *** [winexe/CMakeFiles/winexe.dir/build.make:140: winexe/winexe] Error 1
make[1]: *** [CMakeFiles/Makefile2:194: winexe/CMakeFiles/winexe.dir/all] Error 2
make: *** [Makefile:152: all] Error 2