building smbtorture nonshared
Herb Lewis
hlewis at panasas.com
Fri Jul 31 20:56:14 UTC 2015
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?
More information about the samba-technical
mailing list