Now with gcc: root@x065:[/]gcc --version gcc (GCC) 4.7.4 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. I see you are adding warnings for blibpath :) root@x065:[/data/prj/openbsd/openssh/snap/opensshRC-6.8]buildaix gcc is /opt/bin/gcc + CPPFLAGS="-I/opt/include" CFLAGS="-I/opt/aixtools/include -O2" ./configure \ --prefix=/opt \ --sysconfdir=/var/opensshRC/etc \ --sharedstatedir=/var/opensshRC/com \ --localstatedir=/var/opensshRC \ --mandir=/usr/share/man \ --infodir=/opt/share/info/opensshRC \ > build/aix/configure.out configure: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor! configure: WARNING: zlib.h: proceeding with the compiler's result configure: WARNING: Please check and edit blibpath in LDFLAGS in Makefile + /opt/bin/make > build/aix/make.out arc4random.c: In function 'arc4random_uniform': arc4random.c:299:3: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] glob.c:93:0: warning: "TILDE" redefined [enabled by default] In file included from ../openbsd-compat/openbsd-compat.h:196:0, from ../includes.h:177, from glob.c:61: /usr/include/sys/ioctl.h:250:0: note: this is the location of the previous definition realpath.c: In function 'realpath': realpath.c:93:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] realpath.c:172:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] ar: Creating an archive file libopenbsd-compat.a. sshkey.c: In function 'sshkey_certify': sshkey.c:2426:2: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] sshkey.c: In function 'sshkey_private_to_blob2': sshkey.c:3120:2: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] channels.c: In function 'channel_post_mux_listener': channels.c:1973:2: warning: implicit declaration of function 'getpeereid' [-Wimplicit-function-declaration] channels.c: In function 'x11_request_forwarding_with_spoofing': channels.c:4224:5: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] hostfile.c: In function 'host_hash': hostfile.c:133:4: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] packet.c: In function 'ssh_packet_send1': packet.c:867:3: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] packet.c: In function 'ssh_packet_send_ignore': packet.c:2195:4: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] packet.c: In function 'ssh_packet_need_rekeying': packet.c:2218:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] misc.c: In function 'bandwidth_limit': misc.c:946:2: warning: suggest parentheses around '&&' within '||' [-Wparentheses] ed25519.c: In function 'crypto_sign_ed25519_keypair': ed25519.c:36:3: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] kex.c: In function 'kex_send_kexinit': kex.c:306:2: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] kexc25519.c: In function 'kexc25519_keygen': kexc25519.c:58:2: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] ar: Creating an archive file libssh.a. clientloop.c: In function 'client_x11_get_proto': clientloop.c:415:5: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] sshconnect1.c: In function 'ssh_kex': sshconnect1.c:566:4: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] roaming_client.c: In function 'roaming_resume': roaming_client.c:151:4: warning: implicit declaration of function 'arc4random' [-Wimplicit-function-declaration] sshd.c: In function 'generate_ephemeral_server_key': sshd.c:395:2: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] platform.c: In function 'platform_krb5_get_principal_name': platform.c:195:2: warning: passing argument 1 of 'aix_krb5_get_principal_name' discards 'const' qualifier from pointer target type [enabled by default] In file included from openbsd-compat/openbsd-compat.h:271:0, from includes.h:177, from platform.c:19: openbsd-compat/port-aix.h:100:7: note: expected 'char *' but argument is of type 'const char *' sshlogin.c: In function 'store_lastlog_message': sshlogin.c:92:9: warning: unused variable 'last_login_time' [-Wunused-variable] sshlogin.c:91:53: warning: unused variable 'buf' [-Wunused-variable] sshlogin.c:91:21: warning: unused variable 'hostname' [-Wunused-variable] ld: 0711-224 WARNING: Duplicate symbol: active_state ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-224 WARNING: Duplicate symbol: active_state ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ssh-keysign.c: In function 'main': ssh-keysign.c:225:2: warning: implicit declaration of function 'arc4random_buf' [-Wimplicit-function-declaration] ld: 0711-224 WARNING: Duplicate symbol: active_state ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ld: 0711-224 WARNING: Duplicate symbol: active_state ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information. ssh-agent.c: In function 'after_select': ssh-agent.c:1034:5: warning: implicit declaration of function 'getpeereid' [-Wimplicit-function-declaration] On Sat, Feb 28, 2015 at 4:43 PM, Michael Felt <aixtools@xxxxxxxxx> wrote: > This is compiling on AIX with XL C, v11, patch 020 > michael@x071:[/home/michael]xlc -qversion > IBM XL C/C++ for AIX, V11.1 (5724-X13) > Version: 11.01.0000.0020 > > "bsd-cray.c", line 817.23: 1506-356 (W) Compilation unit is empty. > "kludge-fd_set.c", line 28.1: 1506-356 (W) Compilation unit is empty. > "glob.c", line 93.9: 1506-236 (W) Macro name TILDE has been redefined. > "glob.c", line 93.9: 1506-358 (I) "TILDE" is defined on line 271 of > /usr/include/sys/ioctl.h. > "strnlen.c", line 37.7: 1506-356 (W) Compilation unit is empty. > "/usr/include/syms.h", line 290.9: 1506-236 (W) Macro name T_NULL has been > redefined. > "/usr/include/syms.h", line 290.9: 1506-358 (I) "T_NULL" is defined on > line 150 of /usr/include/arpa/onameser_compat.h. > ar: Creating an archive file libopenbsd-compat.a. > "ssh-pkcs11.c", line 570.30: 1506-068 (W) Operation between types > "unsigned long(*)(struct _CK_FUNCTION_LIST**)" and "void*" is not allowed. > ar: Creating an archive file libssh.a. > 1500-030: (I) INFORMATION: main: Additional optimization may be > attained by recompiling and specifying MAXMEM option with a value greater > than 8192. > 1500-030: (I) INFORMATION: process_config_line: Additional > optimization may be attained by recompiling and specifying MAXMEM option > with a value greater than 8192. > 1500-030: (I) INFORMATION: main: Additional optimization may be > attained by recompiling and specifying MAXMEM option with a value greater > than 8192. > "auth-rsa.c", line 220.44: 1506-280 (W) Function argument assignment > between types "unsigned int*" and "int*" is not allowed. > "platform.c", line 195.44: 1506-280 (W) Function argument assignment > between types "char*" and "const char*" is not allowed. > 1500-030: (I) INFORMATION: process_server_config_line: Additional > optimization may be attained by recompiling and specifying MAXMEM option > with a value greater than 8192. > "monitor.c", line 702.36: 1506-280 (W) Function argument assignment > between types "unsigned int*" and "int*" is not allowed. > 470 1500-010: (W) WARNING in monitor_child_postauth: Infinite loop. > Program may not stop. > 1641 1500-010: (W) WARNING in sftp_server_main: Infinite loop. > Program may not stop. > 307 1500-010: (W) WARNING in main: Infinite loop. Program may not > stop. > 1372 1500-010: (W) WARNING in main: Infinite loop. Program may not > stop. > > _______________________________________________ openssh-unix-dev mailing list openssh-unix-dev@xxxxxxxxxxx https://lists.mindrot.org/mailman/listinfo/openssh-unix-dev