[Mats, please use the correct mailing list address in CC.] Mats Erik Andersson wrote: > These matters surfaced already in > > https://list.gnu.org/archive/html/bug-inetutils/2015-08/msg00005.html > > but never saw any reply.
You mean https://lists.gnu.org/archive/html/bug-inetutils/2015-08/msg00005.html . Undeclared identifier MODE_TRAPSIG. Where does AIX define these macros? It doesn't define this macro in any header file. Does <netdb.h> need its prerequisite headers included in a specified order? No, as far as the gnulib documentation says. The mentioning of 'h_errno_which', unused and unknown to us, indicates that AIX is intentionally using non-portable constructs. The macro h_errno expands to an expression that references a 'h_errno_which' function. The error indicates that the inetutils source code probably uses the macro in a declaration. It should use it only as an rvalue or lvalue. Are the declarations of these four identifiers conditionally available in <arpa/ftp.h>? No AIX header files contains the identifiers typenames, formnames, strunames, modenames. AIX <arpa/ftp.h> defines only macros without arguments, with all-uppercase names. > Today I managed to find the Technical Reference > SC23-2300-01 for AIX PS/2, dating back to 1991. Ignore it. AIX 1.3 and AIX 7.2 are two OS versions that are 24 years apart. Bruno
