[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-inetutils] Build errors with AIX
From: |
Mats Erik Andersson |
Subject: |
Re: [bug-inetutils] Build errors with AIX |
Date: |
Wed, 19 Aug 2015 22:36:05 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Welcome to help us with support for AIX!
Tuesday den 18 August 2015 klockan 17:02 skrev aixtools detta:
>
> "tftp.c", line 239.6: 1506-343 (S) Redeclaration of send_file differs
> from previous declaration on line 736 of "/usr/include/sys/socket.h".
This has been taken care of in a committed change. All other known
systems implement sendfile() as an interface to the kernel, except
AIX where send_file() was chosen.
> Making all in telnet
> CC commands.o
> "commands.c", line 1333.51: 1506-045 (S) Undeclared identifier MODE_TRAPSIG.
This and all other macros mentioned are unconditionally defined in
<arpa/telnet.h> in those unices we have access to. Where does AIX
define these macros?
> Making all in ftp
> CC ftp.o
> "ftp.c", line 103.12: 1506-275 (S) Unexpected text 'int' encountered.
> "ftp.c", line 103.12: 1506-275 (S) Unexpected text ')' encountered.
> "ftp.c", line 103.19: 1506-276 (S) Syntax error: possible missing ')'?
> "ftp.c", line 103.12: 1506-343 (S) Redeclaration of h_errno_which
> differs from previous declaration on line 56 of "/usr/include/netdb.h".
Does <netdb.h> need its prerequisite headers included in a specified
order? The mentioning of 'h_errno_which', unused and unknown to us,
indicates that AIX is intentionally using non-portable constructs.
> Making all in ftpd
> CC ftpd.o
> "ftpd.c", line 1640.28: 1506-045 (S) Undeclared identifier typenames.
> "ftpd.c", line 1642.27: 1506-045 (S) Undeclared identifier formnames.
> "ftpd.c", line 1654.11: 1506-045 (S) Undeclared identifier strunames.
> "ftpd.c", line 1654.28: 1506-045 (S) Undeclared identifier modenames.
Are the declarations of these four identifiers conditionally available
in <arpa/ftp.h>? A Solaris systems just needs the macro FTP_NAMES.
Is AIX using another macro?
> Making all in talkd
> CCLD talkd
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_lock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_unlock
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_init
> ld: 0711-317 ERROR: Undefined symbol: .pthread_mutex_destroy
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.
Why does AIX require a threading library, and how?
Looking forward to your information! Best regards,
Mats Erik Andersson