mailing list of musl libc
 help / color / mirror / code / Atom feed
* Missing defines in utmpx.h
@ 2016-01-27  8:53 Tim Tassonis
  2016-01-28  0:04 ` Rich Felker
  0 siblings, 1 reply; 2+ messages in thread
From: Tim Tassonis @ 2016-01-27  8:53 UTC (permalink / raw)
  To: musl

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?


Kind regards
Tim


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Missing defines in utmpx.h
  2016-01-27  8:53 Missing defines in utmpx.h Tim Tassonis
@ 2016-01-28  0:04 ` Rich Felker
  0 siblings, 0 replies; 2+ messages in thread
From: Rich Felker @ 2016-01-28  0:04 UTC (permalink / raw)
  To: musl

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2016-01-28  0:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-27  8:53 Missing defines in utmpx.h Tim Tassonis
2016-01-28  0:04 ` Rich Felker

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).