Pierre Lebrun
2007-Aug-08 08:04 UTC
[Samba] libpthread warning while compiling samba 3.0 on Suse Linux (SLES 10)
I compile Samba for the first time on LINUX (SLES 10) and have a weird libpthread warning message. I dug the list to find some explanations about the way I have to handle this problem, without success. Below are the 'configure' parameters and the part of config.log about libpthread. Is there a way to not link libpthread to avoid this performance degradation ? What must I do with this warning ?> ./configure --with-smbwrapper --with-quotas --with-msdfs --with-acl-support --with-winbind --with-smbmount --with-cifsmount --with-aio-support> configure:66245: checking if libpthread is linked > configure:66268: gcc -o conftest -O -D_SAMBA_BUILD_=3 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Wl,-rpath,/usr/lib conftest.c -lcrypt -lresolv -lresolv -lnsl -ldl -lrt >&5 > configure:66274: $? = 0 > configure:66281: result: yes > configure:66284: WARNING: using libpthreads - this may degrade performance > configure:66504: result: Using libraries: > configure:66506: result: LIBS = -lcrypt -lresolv -lresolv -lnsl -ldl -lrt > configure:66520: result: AUTH_LIBS = -lcryptThank you for your help. Pierre