From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/11852 Path: news.gmane.org!.POSTED!not-for-mail From: Matias Fonzo Newsgroups: gmane.linux.lib.musl.general Subject: Missing definitions for UTMP(x) Date: Mon, 28 Aug 2017 18:57:27 -0300 Organization: Dragora GNU/Linux-Libre Message-ID: <20170828185658.74f2552f@prometeo.example.org> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1503957701 6106 195.159.176.226 (28 Aug 2017 22:01:41 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 28 Aug 2017 22:01:41 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-11865-gllmg-musl=m.gmane.org@lists.openwall.com Tue Aug 29 00:01:38 2017 Return-path: Envelope-to: gllmg-musl@m.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by blaine.gmane.org with smtp (Exim 4.84_2) (envelope-from ) id 1dmS6A-0001Dp-K0 for gllmg-musl@m.gmane.org; Tue, 29 Aug 2017 00:01:34 +0200 Original-Received: (qmail 10160 invoked by uid 550); 28 Aug 2017 22:01:39 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-ID: Original-Received: (qmail 10126 invoked from network); 28 Aug 2017 22:01:38 -0000 X-Mailer: Claws Mail 3.15.0-dirty (GTK+ 2.24.30; x86_64-unknown-linux-gnu) Xref: news.gmane.org gmane.linux.lib.musl.general:11852 Archived-At: Hi there, We were building mesa (17.2.0-rc4) for Dragora, and we get this errors: In file included from sessreg.c:73:0: sessreg.c: In function 'main': sessreg.h:107:21: error: '_PATH_WTMPX' undeclared (first use in this function) # define WTMPX_FILE _PATH_WTMPX ^ sessreg.c:302:16: note: in expansion of macro 'WTMPX_FILE' wtmpx_file = WTMPX_FILE; ^~~~~~~~~~ sessreg.h:107:21: note: each undeclared identifier is reported only once for each function it appears in # define WTMPX_FILE _PATH_WTMPX ^ sessreg.c:302:16: note: in expansion of macro 'WTMPX_FILE' wtmpx_file = WTMPX_FILE; ^~~~~~~~~~ sessreg.h:110:21: error: '_PATH_UTMPX' undeclared (first use in this function) # define UTMPX_FILE _PATH_UTMPX ^ sessreg.c:308:16: note: in expansion of macro 'UTMPX_FILE' utmpx_file = UTMPX_FILE; ^~~~~~~~~~ make[2]: *** [Makefile:489: sessreg.o] Error 1 make[1]: *** [Makefile:509: all-recursive] Error 1 make: *** [Makefile:381: all] Error 2 Glibc defines in utmpx.h: #ifdef __USE_GNU /* Compatibility names for the strings of the canonical file names. */ # define UTMPX_FILE _PATH_UTMPX # define UTMPX_FILENAME _PATH_UTMPX # define WTMPX_FILE _PATH_WTMPX # define WTMPX_FILENAME _PATH_WTMPX #endif Please, include it.