[Top][All Lists]
[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’.
- [bug-inetutils] ‘ifconfig --help’ segfaults, Ludovic Courtès, 2010/03/09
- Re: [bug-inetutils] ‘ifconfig --help’ segfaults, Alfred M. Szmidt, 2010/03/09
- Re: [bug-inetutils] ‘ifconfig --help’ segfaults, Ludovic Courtès, 2010/03/09
- Re: [bug-inetutils] =?utf-8?Q?=E2=80=9 8ifconfig_--help=E2=80=99?= segfaults, Sergey Poznyakoff, 2010/03/10
- Re: [bug-inetutils] ‘ifconfig --help’ segfaults, Ludovic Courtès, 2010/03/10
- [bug-inetutils] Re: ‘ifconfig --help’ segfaults, Ludovic Courtès, 2010/03/14
- Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults, Giuseppe Scrivano, 2010/03/14
- Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults, Ludovic Courtès, 2010/03/14
- Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults, Giuseppe Scrivano, 2010/03/14
- Re: [bug-inetutils] Re: ‘ifconfig --help ’ segfaults,
Ludovic Courtès <=
- [bug-inetutils] Re: ‘ifconfig --help’ segfaults, Simon Josefsson, 2010/03/15
- [bug-inetutils] Re: ‘ifconfig --help’ segfaults, Simon Josefsson, 2010/03/15
- [bug-inetutils] ‘pty’ module fails on FreeBSD 7.2, Ludovic Courtès, 2010/03/16
- [bug-inetutils] Re: ‘pty’ module fails on FreeBSD 7.2, Ralf Wildenhues, 2010/03/19
- [bug-inetutils] Re: ‘pty’ module fails on FreeBSD 7.2, Ludovic Courtès, 2010/03/17
- [bug-inetutils] Re: ‘pty’ module fails on FreeBSD 7.2, Simon Josefsson, 2010/03/17
- [bug-inetutils] Re: ‘pty’ module fails on FreeBSD 7.2, Ludovic Courtès, 2010/03/17
- [bug-inetutils] Re: ‘pty’ module fails on FreeBSD 7.2, Eric Blake, 2010/03/19
Re: [bug-inetutils] =?utf-8?b?4oCYaWZjb25maW cgLS1oZWxw4oCZ?= segfaults, Sergey Poznyakoff, 2010/03/09