From: Matias Fonzo <selk@dragora.org>
To: musl@lists.openwall.com
Subject: Missing definitions for UTMP(x)
Date: Mon, 28 Aug 2017 18:57:27 -0300 [thread overview]
Message-ID: <20170828185658.74f2552f@prometeo.example.org> (raw)
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.
next reply other threads:[~2017-08-28 21:57 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-28 21:57 Matias Fonzo [this message]
2017-08-29 2:09 ` A. Wilcox
2017-08-29 18:53 ` Matias Fonzo
2017-08-29 11:05 ` u-uy74
2017-08-29 18:51 ` Matias Fonzo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170828185658.74f2552f@prometeo.example.org \
--to=selk@dragora.org \
--cc=musl@lists.openwall.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).