Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Wed, 27 Jan 2016 19:04:48 -0500
From: Rich Felker <dalias@...c.org>
To: musl@...ts.openwall.com
Subject: Re: Missing defines in utmpx.h

On Wed, Jan 27, 2016 at 09:53:18AM +0100, Tim Tassonis wrote:
> Hi all
> 
> 
> I just tried to compile the latest busybox with musl and failed
> because of a change in busybox to include utmpx.h in case of UTMP
> support and header presence.
> 
> The problem seems to be that busybox assumes some defines in utmpx.h
> that are usually in utmp.h and glibc (and possibly other libc's) set
> them in utmpx.h, but musl doesn't.
> 
> I think it were
> 
> _PATH_UTMP and _PATH_WTMP
> 
> 
> I worked around the issue by disabling UTMP support, but maybe this
> could be fixed in musl?

I don't think it would hurt to change this (I'll check later) but
generally you should disable utmp support on musl-based systems
anyway. musl's utmp is intentionally stubbed out to do nothing, and
some programs print spurious runtime warnings/errors too if it's
enabled.

Rich

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.