building smbtorture nonshared

Jeremy Allison jra at samba.org
Fri Jul 31 21:53:26 UTC 2015


On Fri, Jul 31, 2015 at 01:56:14PM -0700, Herb Lewis wrote:
> Using samba-4.2.3 sources:
> 
> I'm trying to build a version of smbtorture that is non-shared so I don't
> have to copy a bunch of libraries to the machine that is going to be
> running it. I saw the --nonshared-binary option for configure but when
> I added that to my configure command and then run "make smbtorture"
> it fails with a bunch of "multiple definition" errors for example:
> 
> default/librpc/gen_ndr/ndr_security_49.o: In function
> `ndr_print_se_privilege':
> ndr_security.c:(.text+0x97): multiple definition of `ndr_print_se_privilege'
> default/source4/torture/rpc/fsrvp_8.o:fsrvp.c:(.text+0x97): first
> defined here
> default/librpc/gen_ndr/ndr_security_49.o: In function
> `ndr_print_lsa_SystemAccessModeFlags':
> ndr_security.c:(.text+0x52f): multiple definition of
> `ndr_print_lsa_SystemAccessModeFlags'
> default/source4/torture/rpc/fsrvp_8.o:fsrvp.c:(.text+0x52f): first
> defined here
> 
> Is this supposed to work? Has anyone ever tried it before?

My guess is this is a not commonly tested build option.

You might be the first to get to fix it :-).



More information about the samba-technical mailing list