This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

nscd build error on mainline



I didn't try the release branch but expect we have the same problem there:
/builds/glibc/x86-64-shared/nscd/connections.o: In function `begin_drop_privileges':
/builds/glibc/x86-64-shared/nscd/connections.o(.text+0xd27): undefined reference to `xmalloc'
/builds/glibc/x86-64-shared/nscd/connections.o(.text+0xd65): undefined reference to `xrealloc'
collect2: ld returned 1 exit status

Ok for both branches?

Andreas

2002-01-18  Andreas Jaeger  <aj@suse.de>

	* nscd/Makefile (nscd-modules): Add xmalloc for nscd.

============================================================
Index: nscd/Makefile
--- nscd/Makefile	2001/07/06 04:55:37	1.11
+++ nscd/Makefile	2002/01/18 11:16:08
@@ -1,4 +1,4 @@
-# Copyright (C) 1998, 2000 Free Software Foundation, Inc.
+# Copyright (C) 1998, 2000, 2002 Free Software Foundation, Inc.
 # This file is part of the GNU C Library.
 
 # The GNU C Library is free software; you can redistribute it and/or
@@ -27,7 +27,10 @@
 
 nscd-modules := nscd connections pwdcache getpwnam_r getpwuid_r grpcache \
 		getgrnam_r getgrgid_r hstcache gethstbyad_r gethstbynm2_r \
-		dbg_log nscd_conf nscd_stat cache
+		dbg_log nscd_conf nscd_stat cache xmalloc
+
+# To find xmalloc.c
+vpath %.c ../locale/programs
 
 ifeq ($(have-thread-library),yes)
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]