similar to: Issues in building single statically linked binary of smbd

Displaying 20 results from an estimated 5000 matches similar to: "Issues in building single statically linked binary of smbd"

2018 Jun 18
2
Building rpcclient statically linked?
On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote: > Small addendum, I did try: > > ./configure --nonshared-binary=ALL > > ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of > target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist'] > > This is CentOS 7.5. > > -aps Building more than smbd and
2018 Jun 18
0
Building rpcclient statically linked?
On Mon, Jun 18, 2018 at 2:39 PM, Andrew Bartlett <abartlet at samba.org> wrote: > On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote: > > Small addendum, I did try: > > > > ./configure --nonshared-binary=ALL > > > > ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of > > target 'smbstatus':
2018 Jun 18
2
Building rpcclient statically linked?
On Mon, Jun 18, 2018 at 3:53 PM, pisymbol <pisymbol at gmail.com> wrote: > > > On Mon, Jun 18, 2018 at 2:39 PM, Andrew Bartlett <abartlet at samba.org> > wrote: > >> On Mon, 2018-06-18 at 10:35 -0400, pisymbol via samba wrote: >> > Small addendum, I did try: >> > >> > ./configure --nonshared-binary=ALL >> > >> > ERROR:
2019 Nov 12
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
As I understood it is 2nd case: > Or are there specified binaries where the libraries are builtin to, for examle: > --nonshared-binary=testparm, smbtorture, smbd and so on ? But in the case of binaries list, all binaries mentioned at the list will be linked statically with ALL libraries, not only 3 (in my case) . Am I right ? ??, 12 ????. 2019 ?. ? 20:19, Andrew Bartlett <abartlet at
2020 Aug 03
1
Statically build smbd and smbstatus
Hi Team, While building smbd and smbstatus statically I am getting below error (using make). *ERROR: source source3/smbd/notify_msg.c is in more than one subsystem of target 'smbstatus': ['smbd_base.objlist', 'smbstatus.objlist']* *Environment Details:* Machine: Ubuntu 18.04 Samba Version: 4.11.6 *My Makefile excerpt:* ./configure --with-logfilebase=/var/log \
2019 Nov 12
2
Build some shared libraries, and building exact these libraries directly to binaries at the same time.
Should I specify _libraries_ what I want to build directly to binaries, for example: --nonshared-binary=replace,winbind-client,wbclient ? Or are there specified binaries where the libraries are builtin to, for examle: --nonshared-binary=testparm, smbtorture, smbd and so on ? ??, 12 ????. 2019 ?. ? 02:25, Andrew Bartlett <abartlet at samba.org>: > On Tue, 2019-11-12 at 02:05 +0300,
2015 Oct 22
2
how to build smbtorture using static linked libraries
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
2015 Oct 22
1
how to build smbtorture using static linked libraries
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
2015 Jul 10
0
Constant error messages about failure to remove oplock
Hi Volker, Thanks for your reply. When the problem was happening(before we turned off level2-oplocks), we had captured one run with smbd debug all:10 (unfortunately we didn’t setup for other modules like vfs etc). Can you please see if this below trace helps? Thanks. [2015/06/25 03:05:30.408432, 3, pid=1581, effective(2030299, 2000514), real(2030299, 0)]
2017 Sep 25
1
How to build samba-4.6.7 with static linked option?
Hi! everyone! I am a student from China,my name is Aloha Jack! This is the first time I send a message to the mail lists ! Haha! When I get the sources from the website,I configure with this options below: ./configure \ --builtin-libraries=replace,smbtorture,smbpasswd,pdbedit,smbd/smbd,nmbd/nmbd \ --without-ldap \ --without-ads \ --disable-cups \ --disable-iprint \ --bundled-libraries=ALL \
2015 Oct 26
1
build my own server-side-copy client code using samba4 source code
Hello all: I am working on implementing server-side-copy client code. When I checked samba4 source code, I saw that smbtorture has some sort of function that does server-side-copy client function. So, I followed the way that smbtorture does, and implemented my own server-side-copy client code (let's call it cifs_cp). Basically, my cifs_cp code, calls the functions in the files of:
2018 Jun 18
2
Building rpcclient statically linked?
I have Googled around looking for the magic configure to waf incantation to get this accomplished but nothing seems to work. Does anyone know how to build rpcclient statically linked? Or all binaries statically linked? Thanks! -aps
2018 Jun 29
3
Compile static library (libsmbclient.a)
Hallo, how can i compile libsmbclient.a? I've tried '--with-static-modules=ALL' and '--nonshared-binary=smbtorture,smbd/smbd' already but it only results in static binaries, not static libs.
2020 Aug 20
2
Making a static build of smbclient
Hello, I'm having troubles with making a static build of smbclient. I've searched the archives, and it seems like I'm getting close, but I'm not quite there yet. I've tried: ./configure --nonshared-binary=smbclient make bin/smbclient But then when I run `ldd bin/smbclient`, I see a lot of linked libraries still. And if I copy it to a fresh docker container (to try it in a
2015 Jul 09
2
Constant error messages about failure to remove oplock
On Thu, Jul 09, 2015 at 01:09:05PM +0530, Shyam Kaushik wrote: > Hi Volker, > > Yes this problem happens when we have "kernel oplocks = no". This happened > constantly in one of production systems & so we disabled level2-oplock > /set kernel-oplocks=yes (to avoid this issue). So unfortunately don’t have > an environment where it reproduces now & cannot capture
2023 Oct 17
1
smbclient static build
On Tue, 2023-10-17 at 13:08 +0200, banda bassotti via samba wrote: > hello, has anyone managed to compile static smbclient? it's a > question that > is asked from time to time but there are never comprehensive answers: > if yes > how, no, too complex :) > > thnx a lot. It may or may not be possible, but if it is then the command should be: ./configure
2017 Sep 25
0
Cannot compile and links statically
Hi! everyone! I am a student from China,my name is Aloha Jack! This is the first time I send a message to the mail lists ! Haha! When I get the sources from the website,I configure with this options below: ./configure \ --builtin-libraries=replace,smbtorture,smbpasswd,pdbedit,smbd/smbd,nmbd/nmbd \ --without-ldap \ --without-ads \ --disable-cups \ --disable-iprint \ --bundled-libraries=ALL \
2012 May 07
7
How to build Samba4 using static linked libraries
Hi All: I am building the torture/smbtorture for samba-4.0.0alpha17. After build, I am running the test in another environment. I not only need to copy the binary smbtorture, I also need to copy the shared libraries. This is HUGE inconvenient for us. Could somebody tell me how to build the binary using static linked libraries? Thanks very much Peixing libpthread.so.0 =>
2011 Aug 09
0
[LLVMdev] llvm-gcc with static libraries
On Tue, Aug 9, 2011 at 12:03 PM, Ashay Rane <ashay.rane at asu.edu> wrote: > `/usr/bin/ld -v' says it is not running gold and I suppose fixing that would > require place LLVMgold.so into /usr/lib/bfd-plugins. Is there any way to > make this work without requiring root access to the machine? If you install your own version of binutils into the same prefix as llvm-gcc, it should
2011 Aug 09
2
[LLVMdev] llvm-gcc with static libraries
`/usr/bin/ld -v' says it is not running gold and I suppose fixing that would require place LLVMgold.so into /usr/lib/bfd-plugins. Is there any way to make this work without requiring root access to the machine? Also, just to confirm, is the gold plugin required even when all of the files have been compiled/built using llvm-gcc and llvm-ar? Ashay On Tue, Aug 9, 2011 at 1:33 PM, Eli Friedman