From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8201 invoked by alias); 31 Oct 2011 23:47:20 -0000 Received: (qmail 8184 invoked by uid 22791); 31 Oct 2011 23:47:19 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,TW_BN X-Spam-Check-By: sourceware.org Received: from toast.topped-with-meat.com (HELO topped-with-meat.com) (204.197.218.159) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 31 Oct 2011 23:47:06 +0000 Received: by topped-with-meat.com (Postfix, from userid 5281) id 401FD2C0B1; Mon, 31 Oct 2011 16:47:02 -0700 (PDT) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit From: Roland McGrath To: Ulrich Drepper Cc: GNU libc hackers Subject: nscd/netlink changes Message-Id: <20111031234702.401FD2C0B1@topped-with-meat.com> Date: Mon, 31 Oct 2011 23:47:00 -0000 X-CMAE-Score: 0 X-CMAE-Analysis: v=2.0 cv=fe7WOzsF c=1 sm=1 a=kj9zAlcOel0A:10 a=SapjhX0cUREENsDiixEA:9 a=CjuIK1q_8ugA:10 a=WkljmVdYkabdwxfqvArNOQ==:117 Mailing-List: contact libc-hacker-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sourceware.org X-SW-Source: 2011-10/txt/msg00003.txt.bz2 You use the header but this belongs to the libnl package, which AFAICT we are not actually using. It seems better to do: diff --git a/nscd/connections.c b/nscd/connections.c index 1b8a9bd..c741996 100644 --- a/nscd/connections.c +++ b/nscd/connections.c @@ -34,7 +34,8 @@ #include #include #ifdef HAVE_NETLINK -# include +# include +# include #endif #ifdef HAVE_EPOLL # include Next, I suspect you had some nscd/Makefile changes that you didn't commit. The check_pf.c changes seem to suggest that you want to compile that file separately into nscd rather than using the library version. But nothing does that. This results in nscd not linking because __bump_nl_timestamp is not an exported function in the library version of the code. Thanks, Roland