bugzilla-daemon at mindrot.org
2002-Sep-17 14:55 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 ------- Additional Comments From dtucker at zip.com.au 2002-09-18 00:55 ------- Not sure about error 1, but error 2 has been fixed in -current (see bug #265). As for error 3, the last time I built using the native compiler, I used "CC=xlc" which worked; if possible try that. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-17 15:04 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 ------- Additional Comments From mouring at eviladmin.org 2002-09-18 01:04 ------- Can you retest with the current CVS or a snapshot from http://www.openssh.com/portable.html. I believe all build issues for AIX should have been resolved. If it does, please close this out. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-17 17:45 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 ------- Additional Comments From suehall at prodigy.net 2002-09-18 03:45 ------- I pulled down the latest tarball from portable/snapshot, datestamped 0906. Got the following errors: /usr/ibmcxx/bin/xlc -g -I. -I. -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/ssh/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/ssh/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/ssh/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/ssh/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/ssh/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/ssh/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/ssh/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c channels.c "channels.c", line 915.22: 1506-280 (E) Function argument assignment between types "const char*" and "unsigned char*" is not allowed. "channels.c", line 920.27: 1506-280 (E) Function argument assignment between types "const char*" and "unsigned char*" is not allowed. "channels.c", line 924.14: 1506-068 (E) Operation between types "unsigned char*" and "char*" is not allowed. "channels.c", line 925.26: 1506-280 (E) Function argument assignment between types "const char*" and "unsigned char*" is not allowed. /usr/ibmcxx/bin/xlc -g -I. -I. -I/usr/local/ssl/include -I/usr/local/include -DSSHDIR=\"/usr/local/ssh/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/ssh/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/ssh/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/ssh/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/ssh/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/usr/local/ssh/etc\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/ssh/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c cipher.c "cipher.c", line 65.56: 1506-196 (E) Initialization between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 66.55: 1506-196 (E) Initialization between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 70.57: 1506-196 (E) Initialization between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 71.57: 1506-196 (E) Initialization between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 72.57: 1506-196 (E) Initialization between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 73.57: 1506-196 (E) Initialization between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 154.17: 1506-068 (S) Operation between types "char*" and "int" is not allowed. "cipher.c", line 155.16: 1506-068 (S) Operation between types "char*" and "int" is not allowed. "cipher.c", line 706.24: 1506-068 (E) Operation between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. "cipher.c", line 721.24: 1506-068 (E) Operation between types "const struct evp_cipher_st*(*)(void)" and "struct evp_cipher_st*(*)(void)" is not allowed. make: 1254-004 The error code from the last command is 1. Stop. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-18 12:44 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 ------- Additional Comments From dtucker at zip.com.au 2002-09-18 22:44 ------- I think I've figured out error 3. Short answer: comment out "#define HAVE_STRSEP 1" from config.h and re-run "make". Long answer: the error that stops the build is: "cipher.c", line 154.17: 1506-068 (S) Operation between types "char*" and "int" is not allowed. This is caused by "p = strsep(&cp, CIPHER_SEP)" where p is a char *. Strsep should return a char *, but in /usr/include/string.h, the prototype is inside a "#ifdef _LINUX_SOURCE_COMPAT". Configure finds strsep (in libc, probably) and defines HAVE_STRSEP, but since the prototype is #ifdef'ed out, it defaults to returning int, hence the type conflict. Not sure about a long-term fix. Would it be bad form to add the following to openbsd-compat/strsep.h? #ifdef _AIX # undef HAVE_STRSEP #endif ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-19 12:22 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 suehall at prodigy.net changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED ------- Additional Comments From suehall at prodigy.net 2002-09-19 22:22 ------- I tried the suggested fix to comment out the HAVE_STRSEP 1 from config.h. One more glitch was an illegal comment at the end of line 18 in hostfile.h, then the code made successfully. This was done with the snapshot of 0906. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-19 12:23 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 ------- Additional Comments From suehall at prodigy.net 2002-09-19 22:23 ------- I beg your pardon, the last glitch was an illegal "comma" at the end of line 18. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-19 14:32 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED Resolution|FIXED | ------- Additional Comments From dtucker at zip.com.au 2002-09-20 00:31 ------- I don't think this bug should be closed just yet, -cvs still doesn't build on AIX with the native compiler. Error #1 occurs when CC=xlC_r (the thread-safe C++ compiler) and doesn't happen when CC=xlc, so I think we can ignore it. Error #2 is already fixed in -cvs, as is the hostfile.h thing. That leaves #3, which is fixed by the following patch. It's probably not the best way, but it works. ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-19 14:33 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 ------- Additional Comments From dtucker at zip.com.au 2002-09-20 00:33 ------- Created an attachment (id=147) --> (http://bugzilla.mindrot.org/attachment.cgi?id=147&action=view) Undef HAVE_STRSEP on AIX ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.
bugzilla-daemon at mindrot.org
2002-Sep-26 12:27 UTC
[Bug 397] Openssh build failure AIX 4.3.3
http://bugzilla.mindrot.org/show_bug.cgi?id=397 dtucker at zip.com.au changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #147 is|0 |1 obsolete| | ------- Additional Comments From dtucker at zip.com.au 2002-09-26 22:27 ------- Created an attachment (id=151) --> (http://bugzilla.mindrot.org/attachment.cgi?id=151&action=view) Ensure strsep is defined before checking for function in library ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.