[Samba] how to build smbtorture using static linked libraries
Jeremy Allison
jra at samba.org
Thu Oct 22 22:56:30 UTC 2015
On Thu, Oct 22, 2015 at 08:03:47AM -0700, Herb Lewis wrote:
> This is working for me with the following configure option
>
> --nonshared-binary=smbtorture
>
> You also need to apply the following patch which is not yet in the sources
>
> --- a/source4/torture/rpc/fsrvp.c
> +++ b/source4/torture/rpc/fsrvp.c
> @@ -41,7 +41,7 @@
> #include "torture/torture.h"
> #include "torture/smb2/proto.h"
> #include "torture/rpc/torture_rpc.h"
> -#include "librpc/gen_ndr/ndr_security.c"
> +#include "librpc/gen_ndr/ndr_security.h"
> #include "librpc/gen_ndr/ndr_srvsvc_c.h"
> #include "librpc/gen_ndr/ndr_fsrvp_c.h"
That got fixed in master here:
commit e8c602dfa2f08a9ea43c84a7e7ae9fe17e007d60
Author: Stefan Metzmacher <metze at samba.org>
Date: Wed Aug 12 09:24:42 2015 +0200
s4:torture/rpc: fix ndr_security.h include in fsrvp.c
We should not include ndr_security.c
This allows ./configure --nonshared-binary=smbtorture again.
Signed-off-by: Stefan Metzmacher <metze at samba.org>
Reviewed-by: Ralph Boehme <slow at samba.org>
Autobuild-User(master): Ralph Böhme <slow at samba.org>
Autobuild-Date(master): Mon Aug 17 20:53:10 CEST 2015 on sn-devel-104
Log a bug if you want it back-ported to release
branch.
More information about the samba
mailing list