This is the mail archive of the cygwin-apps mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [ITP] Inetutils 1.9.4


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]