[linux-cifs-client] [PATCH] Fix build error where
nscd_flush_cache() is available
Suresh Jayaraman
sjayaraman at suse.de
Tue Aug 12 10:17:57 GMT 2008
When I enable cifs.spnego support, I get the following build error:
Linking shared library bin/pam_smbpass.so
lib/util_nscd.o: In function `smb_nscd_flush_cache':
/usr/src/packages/BUILD/samba-3.2.0/source/lib/util_nscd.c:25: undefined
reference to `nscd_flush_cache'
collect2: ld returned 1 exit status
make: *** [bin/cifs.spnego] Error 1
This patch fixes this error.
---
source/Makefile.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/source/Makefile.in b/source/Makefile.in
index 41753c5..0ea6af6 100644
--- a/source/Makefile.in
+++ b/source/Makefile.in
@@ -1395,7 +1395,7 @@ bin/cifs.spnego at EXEEXT@: $(BINARY_PREREQS) $(CIFS_SPNEGO_OBJ) $(LIBSMBCLIENT_OBJ
@$(CC) $(FLAGS) -o $@ $(CIFS_SPNEGO_OBJ) $(DYNEXP) $(LDFLAGS) \
-lkeyutils $(LIBS) $(LIBSMBCLIENT_OBJ1) $(KRB5LIBS) \
$(LDAP_LIBS) $(POPT_LIBS) $(LIBTALLOC_LIBS) $(WINBIND_LIBS) \
- $(LIBTDB_LIBS)
+ $(LIBTDB_LIBS) $(NSCD_LIBS)
bin/testparm at EXEEXT@: $(BINARY_PREREQS) $(TESTPARM_OBJ) @BUILD_POPT@ @LIBTALLOC_SHARED@ @LIBTDB_SHARED@
@echo Linking $@
More information about the linux-cifs-client
mailing list