Web lists-archives.com

Re: [Samba] Error compiling samba in debian wheezy




On Fri, 2017-11-17 at 18:12 +0100, Francesc Peñalvez via samba wrote:
> I get this error when compiling samba in debian wheezy
> 
> 
> [3706/3935] Linking default/source3/lib/netapi/examples/group/group_getusers
> [3707/3935] Linking default/source3/lib/netapi/examples/join/getjoinableous
> [3708/3935] Linking default/source3/lib/netapi/examples/group/group_setinfo
> [3709/3935] Linking default/source3/lib/netapi/examples/file/file_enum
> [3710/3935] Linking 
> default/source3/lib/netapi/examples/localgroup/localgroup_setinfo
> [3711/3935] Linking default/source3/lib/netapi/examples/user/user_enum
> [3712/3935] Linking default/source4/rpc_server/libdcerpc-server.so
> default/source4/rpc_server/backupkey/dcesrv_backupkey_21.o: In function 
> `get_pk_from_raw_keypair_params':
> dcesrv_backupkey.c:(.text+0xb5e): undefined reference to 
> `gnutls_x509_privkey_import_rsa_raw2'

I see you are running from git master, and looking at my copy I can't
see how this happens, so this is worth some investigation.

Can you look in your bin/config.log and work out why it detected GnuTLS
3.4.7 or later on your 2.12 install?

https://packages.debian.org/wheezy/gnutls-bin

We have code compatible with your old GnuTLS (we should build
dcesrv_backupkey_heimdal.c not dcesrv_backupkey.c), but for some reason
it was not selected.  You haven't done something odd like transported
your build tree from another machine have you?  

Also, just to be sure, does this reproduce on a clean build?

Thanks,

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba


-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba