[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: telnetd-sys_term.c
From: |
Alain Magloire |
Subject: |
Re: telnetd-sys_term.c |
Date: |
Sat, 22 Sep 2001 22:27:13 -0400 (EDT) |
>
> Hi there,
> I may be doing something wrong, so I have my asbestos jacket on (feel
> free to flame me).
>
> I can happily compile all the inetutils apps except telnetd.
>
> In the telnetd directory all files compile, except sys_term.c which
> bombs. I have the response from gcc and the result from cpp if you want
> them. The problem seems to come down to the utmp struct, which is never
> defined according to the result from
> cpp. utmpx is defined but like I say not utmp, so it complains appropriately
> as soon as struct utmp is used.
>
> I've tried this with 1.3.2 1.3a and 1.3b the same error arrises each
> time. Once I remove telnetd (replace it with libtelnet so it appears to be
> there) the whole package (inetutils) builds fine.
>
> I thought it a good idea to check the existence of utmp. this is what
> I got
>
> kenny:/# find -name utmp*
> ./usr/share/man/man5/utmp.5.gz
> ./usr/lib/perl5/5.005/i386-linux/bits/utmp.ph
> ./usr/lib/perl5/5.005/i386-linux/utmp.ph
> ./usr/include/bits/utmp.h
> ./usr/include/bits/utmpx.h
> ./usr/include/utmp.h
> ./usr/include/utmpx.h
> ./var/run/utmp
>
> I'm using debian 2.2r3, but the debian bits are minimal, as I'm trying
> to build everything myself, rather than using .deb files.
>
> Any ideas?
Get
ftp://alpha.gnu.org/gnu/inetutils/inetutils-1.3.2f.tar.gz
I beleive this was corrected. If it still failed then let us know.
--
alain