rsync-2.6.2pre1: In clientname.c `AI_NUMERICHOST' undeclared

Jens Schleusener Jens.Schleusener at
Fri Apr 30 13:30:45 GMT 2004


I just tried to compile rsync-2.6.2pre1 under AIX 4.3 (gcc 2.95.3) and got
the following compiler error:

 gcc -I. -I. -g -O2 -DHAVE_CONFIG_H -Wall -W -I./popt  -c clientname.c
     -o clientname.o
 clientname.c: In function `client_name':
 clientname.c:121: `AI_NUMERICHOST' undeclared (first use in this function)

In analogy to the coding in access.c I replaced in clientname.c

 hints.ai_flags = AI_NUMERICHOST;


   hints.ai_flags = AI_NUMERICHOST;

and the compiling works.

Sorry, I am not a C expert.


Dr. Jens Schleusener            T-Systems Solutions for Research GmbH
Tel: +49 551 709-2493           Bunsenstr.10
Fax: +49 551 709-2169           D-37073 Goettingen
Jens.Schleusener at

More information about the rsync mailing list