bug-inetutils
[Top][All Lists]
Advanced

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

Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults


From: Ludovic Courtès
Subject: Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults
Date: Mon, 15 Mar 2010 10:18:21 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux)

Hi Giuseppe,

Giuseppe Scrivano <address@hidden> writes:

> address@hidden (Ludovic Courtès) writes:
>
>> While I was at it I enabled builds on FreeBSD, OpenBSD, and Darwin.
>> Currently ‘rlogind’ fails to build on these platforms:
>>
>>   http://hydra.nixos.org/jobset/gnu/inetutils-master
>>
>> Thanks,
>> Ludo’.
>
> I don't have any of that systems now to try it, but I guess this patch,
> that I am going to apply, fixes the problem:

It seemed to do the trick, thanks!

Next one is this (FreeBSD):

--8<---------------cut here---------------start------------->8---
gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I.. -I../lib -I../lib 
-I../libinetutils        -g -O2 -c pty.c
pty.c:24:17: error: pty.h: No such file or directory
pty.c: In function 'startslave':
pty.c:55: warning: implicit declaration of function 'forkpty'
gmake[2]: *** [pty.o] Error 1
--8<---------------cut here---------------end--------------->8---

and this (Darwin):

--8<---------------cut here---------------start------------->8---
gcc -std=gnu99  -g -O2   -o telnetd telnetd.o pty.o term.o utility.o state.o 
termstat.o slc.o -L../libinetutils -linetutils -L../libtelnet -ltelnet 
../lib/libgnu.a -lncurses -lutil    -lresolv
Undefined symbols:
  "_endutent", referenced from:
      _utmp_logout in libinetutils.a(utmp_logout.o)
  "_getutline", referenced from:
      _utmp_logout in libinetutils.a(utmp_logout.o)
  "_pututline", referenced from:
      _utmp_logout in libinetutils.a(utmp_logout.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [telnetd] Error 1
--8<---------------cut here---------------end--------------->8---

The former is documented by Gnulib (info "(gnulib) pty.h").  Not sure
about the latter.

Thanks,
Ludo’.




reply via email to

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