[Samba] how to build smbtorture using static linked libraries

Shuo Dong sdong at iders.ca
Thu Oct 22 05:21:46 UTC 2015


Hello all:

I am trying to build smbtorture using static linked libraries.
The samba source code I have is samba-4.1.13

for configure, I did:

waf configure --builtin-libraries=ALL

for build, I did:
waf build --targets=smbtorture (so that it only build target smbtorture)

But, the waf build fails immediately.


Then, I tried to only link with lib talloc and tevent statically, so I did:

waf configure --builtin-libraries=talloc,tevent

and then do:
waf build --targets=smbtorture

But then build fails in the link step with an ld error of undefined reference to some function.

How can I resolve this issue, and build smbtorture with static linked libraries?


Thanks





Shuo Dong
Junior Embedded Developer
Iders Incorporated
27047 Oakwood Road
Oakbank, MB R0E 1J2
Tel: (204) 444-5200 ext
Fax: (204) 444-5900
        [http://www.iders.ca/IDERS_logo.jpg]
________________________________
Iders Incorporated Confidential:
________________________________
This message is intended solely for the use of the designated recipient(s) and their appointed delegates, and may contain confidential information. Any unauthorized disclosure, copying or distribution of its contents is strictly prohibited. If you have received this message in error, please destroy it and advise the sender immediately by phone, Email or facsimile.


More information about the samba mailing list