From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/3357 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: error compiling shadow 4.1.5.1 Date: Mon, 20 May 2013 23:14:32 -0400 Message-ID: <20130521031431.GO20323@brightrain.aerifal.cx> References: <20130520211720.46a99347@rafaela> <20130520195844.57f3e2b3@newbook> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1369106086 4638 80.91.229.3 (21 May 2013 03:14:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 May 2013 03:14:46 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-3361-gllmg-musl=m.gmane.org@lists.openwall.com Tue May 21 05:14:48 2013 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1Ued2F-0003ot-RJ for gllmg-musl@plane.gmane.org; Tue, 21 May 2013 05:14:47 +0200 Original-Received: (qmail 3956 invoked by uid 550); 21 May 2013 03:14:47 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 3948 invoked from network); 21 May 2013 03:14:46 -0000 Content-Disposition: inline In-Reply-To: <20130520195844.57f3e2b3@newbook> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:3357 Archived-At: On Mon, May 20, 2013 at 07:58:44PM -0700, Isaac Dunham wrote: > On Mon, 20 May 2013 21:17:20 -0300 > "Matias A. Fonzo" wrote: > > I'm trying to compile shadow 4.1.5.1. I receive this error: > > > http://pastebin.com/raw.php?i=9kzU9hfg > > > It seems like some entries are missing in utmp.h: > > ut_host, ut_addr/ut_addr_v6, ... > > 1: musl does not support utmp. A public list of who's logged in is not > desired. Well the utmp functions are stubs that don't read or write any data, but the interfaces are there to facilitate compiling programs that expect them to exist. If there are build errors due to stuff being missing, we should add it. > 2: Just looking at that error, I get the impression that someone either > isn't defining a feature-test macro that they should or is omitting a > header. AF_INET is defined in sys/socket.h Indeed. glibc exposes socket stuff indirectly through some other headers, if I'm not mistaken. musl on the other hand avoids pulling in additional headers implicitly. If this is indeed the problem, I think just adding #include to the file would fix it. > 3: I see no indications that the errors are due to ut_* being absent. Agreed. > I'll see if I can find the problem. Thanks for helping with support! Rich