From: "D. Boland" <daniel@boland.nl>
To: Cygwin applications <cygwin-apps@cygwin.com>
Subject: Re: [ITP] Inetutils 1.9.4
Date: Sun, 01 Nov 2015 14:21:00 -0000 [thread overview]
Message-ID: <56361F89.60008@boland.nl> (raw)
In-Reply-To: <5635C6D0.7040707@gmail.com>
Marco Atzeri wrote:
>
>
> On 01/11/2015 00:02, D. Boland wrote:
>> Marco Atzeri wrote:
>>>
>>>
>>> Have you forgot to update Fakesu package or there is a wrong include ?
>>>
>>> Regards
>>> Marco
>>>
>>>
>> Oops, sorry about that. I forgot to update. I just updated libfakesu to
>> version 1.2.0-0
>>
>> Sincerely,
>> Daniel
>
> Hi Daniel,
> with that is still failing a bit later on 64bit:
>
> gcc -std=gnu99 -O2 -pipe -Wimplicit-function-declaration -o tftp
> tftp.o ../libinetutils/libinetutils.a ../lib/libgnu.a -lutil
> /usr/lib/libfakesu.a
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -I../lib -I../lib
> -I../libinetutils -I../libicmp -DPATH_CONSOLE=\"/dev/console\"
> -DPATH_CP=\"/usr/bin/cp\" -DPATH_INETDCONF=\"/etc/inetd.conf\"
> -DPATH_INETDDIR=\"/etc/inetd.d\" -DPATH_INETDPID=\"/var/run/inetd.pid\"
> -DPATH_LOGCONF=\"/etc/syslog.conf\" -DPATH_LOGCONFD=\"/etc/syslog.d\"
> -DPATH_LOGIN=\"/usr/bin/login\" -DPATH_LOGPID=\"/var/run/syslog.pid\"
> -DPATH_NOLOGIN=\"/etc/nologin\" -DPATH_RLOGIN=\"/usr/bin/rlogin\"
> -DPATH_RSH=\"/usr/bin/rsh\" -DPATH_UUCICO=\"/usr/sbin/uucp/uucico\"
> -O2 -pipe -Wimplicit-function-declaration -MT traceroute.o -MD -MP -MF
> .deps/traceroute.Tpo -c -o traceroute.o traceroute.c
> traceroute.c:110:14: error: 'MAX_IPOPTLEN' undeclared here (not in a
> function)
> char ip_opts[MAX_IPOPTLEN];
> ^
> traceroute.c: In function 'get_hostname':
> traceroute.c:461:5: warning: return discards 'const' qualifier from
> pointer target type
> return info->h_name;
> ^
> Makefile:1691: recipe for target 'traceroute.o' failed
> make[2]: *** [traceroute.o] Error 1
>
Arghh! I also forgot I had to install (copy) some missing include files.
Thanks for checking this.
I got these from the glibc-2.21 source code:
/usr/include/arpa/tftp.h
/usr/include/netinet/icmp6.h
The MAX_IPOPTLEN constant is in ip_var.h. I got that from OpenBSD source:
/usr/include/netinet/ip_var.h
The latter I also needed for my Sendmail package. Also, the following
Cygwin packages are required to compile the source code:
help2man
perl-Locale-gettext
After this, it should compile. Are these files included in any Cygwin
package? Is there an elegant way to include these in my source package?
Daniel
next prev parent reply other threads:[~2015-11-01 14:21 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-31 10:33 D. Boland
2015-10-31 12:29 ` Marco Atzeri
2015-10-31 23:04 ` D. Boland
2015-11-01 8:01 ` Marco Atzeri
2015-11-01 14:21 ` D. Boland [this message]
2015-11-01 14:45 ` Marco Atzeri
2015-11-02 7:04 ` D. Boland
2015-11-02 9:56 ` Corinna Vinschen
2015-11-02 9:58 ` Corinna Vinschen
2015-11-02 14:44 ` Corinna Vinschen
2015-12-30 7:55 ` D. Boland
2016-01-07 10:35 ` Corinna Vinschen
2016-02-07 18:01 D. Boland
2016-02-08 14:04 ` Corinna Vinschen
2016-02-08 19:16 ` Achim Gratz
2016-02-13 6:59 ` D. Boland
2016-02-13 17:16 ` Corinna Vinschen
2016-02-16 16:31 ` D. Boland
2016-02-16 18:34 ` Achim Gratz
2016-02-16 19:26 ` Daniel Boland
2016-02-17 17:33 ` Corinna Vinschen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=56361F89.60008@boland.nl \
--to=daniel@boland.nl \
--cc=cygwin-apps@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).