Jens Schleusener
2004-Apr-30 13:31 UTC
rsync-2.6.2pre1: In clientname.c `AI_NUMERICHOST' undeclared
Hi, 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; by #ifdef AI_NUMERICHOST hints.ai_flags = AI_NUMERICHOST; #endif and the compiling works. Sorry, I am not a C expert. Jens -- 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@t-systems.com http://www.t-systems.com/
Maybe Matching Threads
- [patch] net/rsync: problems in client name lookup code
- make fails all versions > 2.4.8 on older linux machine (clientname.o)
- [Bug 3120] New: Codespell report for "openssh" (on fossies.org)
- getaddrinfo() problem with AIX 4.3.3 and rsync 2.5.2?
- Code question (canohost.c)