bug-inetutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

(no subject)


From: Rahul Gupta
Subject: (no subject)
Date: Mon, 17 Jun 2002 19:13:29 +0530

Hi ,
I am not sure if this counts as a bug. I tried making inetutils on an
i686-pc-linux-gnu system.
Some of the files (e.g telnetd/sys_term.c)  include utmp.h (or utmpx.h if
available) as a header.
Now my system has both, so utmpx.h is included and all #defines are set
accordingly.
Both these header files declare a "struct  utmp" which used to contain a
field "ut_name" but now has been
replaced by ut_user . utmp.h defines a macro (#define ut_name ut_user)  for
backward compatibility
but utmpx.h doesn't . Now since inetutils uses utmpx.h rather than utmp.h ,
it gives compilation errors
because it can't find "ut_name" field.

Is there any option other than adding a small bit of code to include utmp.h
rather than utmpx.h ?
And I can't the macro to utmpx.h because I am not the root :-(

Thanks,
Rahul.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]