Andreas Schwab wrote:
> >char ut_host[__UT_HOSTSIZE]; /* Hostname for remote login. */
>
> That's still using reserved symbols.
Fixed through the patch below.
But that is just a workaround. Is someone among the glibc people looking at the
original glibc bug https://sourceware.org/bugzill
On Aug 14 2023, Bruno Haible wrote:
> diff --git a/lib/readutmp.h b/lib/readutmp.h
> index f7cad36d44..1fbe29d86f 100644
> --- a/lib/readutmp.h
> +++ b/lib/readutmp.h
> @@ -142,7 +142,7 @@ struct utmpx32
>pid_t ut_pid;/* Process ID of login process. */
>char ut_line[__
Andreas Schwab wrote:
> >> In file included from boot-time.c:47:
> >> readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a
> >> function); did you mean ‘UT_USER_SIZE’?
> >> 145 | char ut_user[__UT_USERSIZE]; /* Username. */
> >> |^
> >>
On Aug 14 2023, Bruno Haible wrote:
> Andreas Schwab wrote:
>> In file included from boot-time.c:47:
>> readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a
>> function); did you mean ‘UT_USER_SIZE’?
>> 145 | char ut_user[__UT_USERSIZE]; /* Username. */
>> |
Andreas Schwab wrote:
> In file included from boot-time.c:47:
> readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a
> function); did you mean ‘UT_USER_SIZE’?
> 145 | char ut_user[__UT_USERSIZE]; /* Username. */
> |^
> |
In file included from boot-time.c:47:
readutmp.h:145:16: error: ‘__UT_USERSIZE’ undeclared here (not in a function);
did you mean ‘UT_USER_SIZE’?
145 | char ut_user[__UT_USERSIZE]; /* Username. */
|^
|UT_USER_SIZE
make[3]: *** [Makef