bugzilla-daemon at bugzilla.mindrot.org
2007-Oct-31 11:46 UTC
[Bug 1386] New: OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Summary: OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f Classification: Unclassified Product: Portable OpenSSH Version: 4.7p1 Platform: Alpha OS/Version: Tru64 Status: NEW Severity: major Priority: P2 Component: Build system AssignedTo: bitbucket at mindrot.org ReportedBy: mcaskill.scott at epa.gov Created an attachment (id=1373) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1373) Output of ./configure and make Compilation of OpenSSH 4.7p1 fails under Tru64 4.0f. See error below. Full output of ./configure and make are attached. . . . cc: Error: atomicio.c, line 101: In this statement, "f" and "readv" cannot be compared for equality or inequality. (noequality) pfd.events = f == readv ? POLLIN : POLLOUT; ---------------------^ *** Exit 1 Stop. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Oct-31 16:47 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #1 from Darren Tucker <dtucker at zip.com.au> 2007-11-01 03:47:06 --- Created an attachment (id=1374) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1374) Comment out poll pars Is the readv function call defined in any of the header files and if so, which one? The poll is an optimization which you can do without, the attached patch should let it build for you. I'd prefer to make it work properly, though. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Oct-31 16:56 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #2 from Darren Tucker <dtucker at zip.com.au> 2007-11-01 03:56:50 --- Created an attachment (id=1375) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1375) Include sys/poll.h in atomicio.c Here's something else that's worth a try: it includes <sys/poll.h> on platforms that don't have <poll.h>. Not sure if that includes Tru64, though. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Oct-31 17:29 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #3 from Scott McAskill <mcaskill.scott at epa.gov> 2007-11-01 04:29:40 --- readv is not defined in any header files. The only reference to readv is a comment in atomicio.h: #ifndef _ATOMICIO_H #define _ATOMICIO_H /* * Ensure all of data on socket comes through. f==read || f==vwrite */ size_t atomicio(ssize_t (*)(int, void *, size_t), int, void *, size_t); #define vwrite (ssize_t (*)(int, void *, size_t))write /* * ensure all of data on socket comes through. f==readv || f==writev */ size_t atomiciov(ssize_t (*)(int, const struct iovec *, int), int, const struct iovec *, int); #endif /* _ATOMICIO_H */ I'll give both patches a try and let you know. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Oct-31 17:47 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1375 is|0 |1 obsolete| | Attachment #1374 is|0 |1 obsolete| | --- Comment #4 from Darren Tucker <dtucker at zip.com.au> 2007-11-01 04:47:47 --- Created an attachment (id=1376) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1376) Add readv() declarations to configure and openbsd-compat That makes sense, I believe that it is common in older 4.2BSD based systems to have readv and writev but not have any prototypes for them. Please try this patch instead of the other two. You will either need to run "autoreconf" from autoconf 2.61 and re-run configure, or fake it by running "./configure --with-cflags=-DHAVE_DECL_READV=0". -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-01 16:28 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Scott McAskill <mcaskill.scott at epa.gov> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1373 is|0 |1 obsolete| | --- Comment #5 from Scott McAskill <mcaskill.scott at epa.gov> 2007-11-02 03:28:43 --- Created an attachment (id=1377) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1377) Output of ./configure --with-cflags=-DHAVE_DECL_READV=0 and make -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-01 16:31 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #6 from Scott McAskill <mcaskill.scott at epa.gov> 2007-11-02 03:31:15 --- Applied the patch (Add readv() declarations to configure and openbsd-compat), but received new error (full output attached): . . . cc -std -g -DHAVE_DECL_READV=0 -I. -I. -I/usr/local/ssl/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c moduli.c cc: Error: openbsd-compat/openbsd-compat.h, line 137: In this declaration, the type of "readv" is not compatible with the type of a previous declaration of "readv" at line number 141 in file /usr/include/sys/uio.h. (notcompat) int readv(int, struct iovec *, int); ----^ *** Exit 1 Stop. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-01 16:39 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED CC| |dtucker at zip.com.au --- Comment #7 from Darren Tucker <dtucker at zip.com.au> 2007-11-02 03:39:45 --- Oh, you have readv in sys/uio.h. What is it declared as? I'm suspecting it's type mismatch (ssize_t vs int). If so, I'm not quite sure what to do about it. Also, for comparison, what's read() declared as? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-01 17:38 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #8 from Scott McAskill <mcaskill.scott at epa.gov> 2007-11-02 04:38:16 --- I think your're right. Here's a snippet from /usr/include/sys/uio.h. read() is declared in /usr/include/unistd.h as int . . . #if defined(_XOPEN_SOURCE_EXTENDED) && !defined(_LIBC_POLLUTION_H_) #ifdef __DECC #pragma extern_prefix "_E" #else #define readv(__a,__b,__c) _Ereadv(__a,__b,__c) #define writev(__a,__b,__c) _Ewritev(__a,__b,__c) #endif #endif /* _XOPEN_SOURCE_EXTENDED && !_LIBC_POLLUTION_H_ */ #ifdef _XOPEN_SOURCE_EXTENDED extern ssize_t __R(readv) __((int, const struct iovec *, int)); extern ssize_t __R(writev) __((int, const struct iovec *, int)); #else extern ssize_t readv __((int, struct iovec *, int)); extern ssize_t writev __((int, struct iovec *, int)); #endif /* _XOPEN_SOURCE_EXTENDED */ . . . -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-01 19:28 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1377 is|0 |1 obsolete| | Attachment #1376 is|0 |1 obsolete| | --- Comment #9 from Darren Tucker <dtucker at zip.com.au> 2007-11-02 06:28:50 --- Created an attachment (id=1378) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1378) remove const for test purposes They're both ssize_t but it might be const vs no const if _XOPEN_SOURCE_EXTENDED not defined, it seems to not be. Could you please try this to confirm? It's not a proper fix, though (and if this is the problem I'm not really sure what the proper fix is). -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-02 18:58 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #10 from Scott McAskill <mcaskill.scott at epa.gov> 2007-11-03 05:58:27 --- I applied the last patch, but compilation failed (see below). On a lark, I used atomicio.c from the 4.6p1 distribution and compilation completed OK. If I install this "hybrid" build, will I have broken anything? . . . cc -std -g -I. -I. -I/usr/local/ssl/include -DSSHDIR=\"/usr/local/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/local/libexec/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/local/libexec/ssh-keysign\" -D_PATH_SSH_PIDDIR=\"/var/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DSSH_RAND_HELPER=\"/usr/local/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c atomicio.c cc: Warning: atomicio.c, line 85: In this declaration, parameter 2 has a different type than specified in an earlier declaration of this function. (mismatparam) atomiciov(ssize_t (*f) (int, struct iovec *, int), int fd, --------------------^ cc: Warning: atomicio.c, line 85: In this declaration, parameter 1 has a different type than specified in an earlier declaration of this function. (mismatparam) atomiciov(ssize_t (*f) (int, struct iovec *, int), int fd, ^ cc: Error: atomicio.c, line 85: In this declaration, the type of "atomiciov" is not compatible with the type of a previous declaration of "atomiciov" at line number 42 in file atomicio.h. (notcompat) atomiciov(ssize_t (*f) (int, struct iovec *, int), int fd, ^ *** Exit 1 Stop. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2007-Nov-02 19:59 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #11 from Darren Tucker <dtucker at zip.com.au> 2007-11-03 06:59:01 --- (In reply to comment #10)> I applied the last patch, but compilation failed (see below).Thanks, I will look at that as soon.> On a > lark, I used atomicio.c from the 4.6p1 distribution and compilation > completed OK. If I install this "hybrid" build, will I have broken > anything?Your hybrid should work fine, it just won't be as efficient as a vanilla 4.7p1. You can run the regression tests "make tests" to validate it. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-May-29 01:12 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Robert Lerche <ral at msbit.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ral at msbit.com --- Comment #12 from Robert Lerche <ral at msbit.com> 2008-05-29 11:12:46 --- I just tried to build openssh 5.0p1 on a tru64 system and encountered the same problem (and the same fix -- grab atomicio.c from 4.6p1) appeared to work). Can I assume that this is still valid (i.e., doesn't cause a problem)? Thanks. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-14 00:34 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #13 from Darren Tucker <dtucker at zip.com.au> 2008-06-14 10:33:59 --- (In reply to comment #12)> I just tried to build openssh 5.0p1 on a tru64 system and encountered > the same problem (and the same fix -- grab atomicio.c from 4.6p1) > appeared to work). Can I assume that this is still valid (i.e., > doesn't cause a problem)? Thanks.Using the old atomicio.c is still fine (although potentially not quite as efficient). If we can't get the compat code to work I'd like to add an ifdef. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-14 00:49 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1378|0 |1 is obsolete| | --- Comment #14 from Darren Tucker <dtucker at zip.com.au> 2008-06-14 10:49:11 --- Created an attachment (id=1520) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1520) #ifdef out poll() in atomiciov Could you please try this patch on top of OpenSSH 5.0p1? Thanks. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-14 01:01 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Version|4.7p1 |-current Blocks| |1452 --- Comment #15 from Darren Tucker <dtucker at zip.com.au> 2008-06-14 11:01:04 --- Target 5.1 (assuming we can make it work :-) -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-17 18:12 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #16 from Scott McAskill <mcaskill.scott at epa.gov> 2008-06-18 04:12:08 --- Created an attachment (id=1532) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1532) Output from configure and make after applying patch make still fails with error: cc: Error: atomicio.c, line 106: In this statement, "f" and "readv" cannot be compared for equality or inequality. (noequality) pfd.events = f == readv ? POLLIN : POLLOUT; ---------------------^ *** Exit 1 Stop. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-17 18:15 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #17 from Scott McAskill <mcaskill.scott at epa.gov> 2008-06-18 04:14:57 --- Created an attachment (id=1533) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1533) Output from configure and make after applying patch make still fails with error: cc: Error: atomicio.c, line 106: In this statement, "f" and "readv" cannot be compared for equality or inequality. (noequality) pfd.events = f == readv ? POLLIN : POLLOUT; ---------------------^ *** Exit 1 Stop. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-28 18:40 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Darren Tucker <dtucker at zip.com.au> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1520|0 |1 is obsolete| | Attachment #1532|0 |1 is obsolete| | Attachment #1533|0 |1 is obsolete| | --- Comment #18 from Darren Tucker <dtucker at zip.com.au> 2008-06-29 04:40:40 --- Created an attachment (id=1534) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1534) #ifdef out the readv poll() calls on Tru64 OK, I give up trying do to it the clean way. Please try this one. Note that you will either need to run "autoreconf" to rebuild configure, or download the premade configure which I will upload shortly. We've got to run out of wrong ways to do this eventually, right? If someone is sufficiently motivated this could be made into a proper build-time configure test. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jun-28 18:42 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #19 from Darren Tucker <dtucker at zip.com.au> 2008-06-29 04:42:06 --- Created an attachment (id=1535) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1535) Configure from 5.0p1 rebuilt with patch #1534. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-01 13:14 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #1534| |ok+ Flag| | -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-04 04:20 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |djm at mindrot.org --- Comment #20 from Damien Miller <djm at mindrot.org> 2008-07-04 14:20:53 --- Hi Scott, We are about to close accepting patches for the openssh-5.1 release, but we would love to get this one verified and submitted so it will make the cut. Could you please apply the patch from comment #18 and configure from comment #19 and tell us if they solve your problem? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-04 23:37 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED --- Comment #21 from Damien Miller <djm at mindrot.org> 2008-07-05 09:37:33 --- Patch applied. Please reopen this bug if it fails to fix the problem. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-10 14:35 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #22 from Scott McAskill <mcaskill.scott at epa.gov> 2008-07-11 00:35:37 --- Created an attachment (id=1545) --> (http://bugzilla.mindrot.org/attachment.cgi?id=1545) Output from configure and make I applied the patches to atomicio.c and configure.ac and ran the new configure script. This failed because of an extraneous ")" at line 9924. After removing the extraneous ")", configure ran OK but make failed: cc: Error: atomicio.c, line 106: In this statement, "f" and "readv" cannot be compared for equality or inequality. (noequality) pfd.events = f == readv ? POLLIN : POLLOUT; ---------------------^ *** Exit 1 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-11 04:32 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #23 from Damien Miller <djm at mindrot.org> 2008-07-11 14:32:42 --- Thanks for testing again. Applying the patch to configure.ac is insufficient, you need to either regenerate configure (using GNU autoconf) or use the prebuild one in attachement #1535. Alternately, you could also try a 5.1 prerelease snapshot from http://www.mindrot.org/openssh_snap - these have the patch committed already. -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-13 11:47 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 --- Comment #24 from Darren Tucker <dtucker at zip.com.au> 2008-07-13 21:47:54 --- Did the modified configure define BROKEN_READV_COMPARISON in config.h? That's where the it should end up. If it doesn't does adding "#define BROKEN_READV_COMPARISON 1" to config.h make if compile? -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
bugzilla-daemon at bugzilla.mindrot.org
2008-Jul-22 02:20 UTC
[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f
https://bugzilla.mindrot.org/show_bug.cgi?id=1386 Damien Miller <djm at mindrot.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #25 from Damien Miller <djm at mindrot.org> 2008-07-22 12:20:16 --- Mass update RESOLVED->CLOSED after release of openssh-5.1 -- Configure bugmail: https://bugzilla.mindrot.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching the assignee of the bug. You are watching someone on the CC list of the bug.
Apparently Analagous Threads
- [Bug 940] xmmap.c noequality compile error on DigitalUNIX 4.0F PK7
- [Bug 1104] Compile error "ldLL" not declared in strtonum.c under Tru64 Unix 4.0f
- [Bug 807] Compilation failure--> ld: Unresolved: xcrypt shadow_pw
- openssh 5.2p1 fails to build on IRIX 5.3
- [Bug 1366] New: atomicio doesn't poll()