[Bug 1386] OpenSSH 4.7p1 compile error in atomicio.c under Tru64 4.0f

bugzilla-daemon at bugzilla.mindrot.org bugzilla-daemon at bugzilla.mindrot.org
Sat Nov 3 05:58:30 EST 2007


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.


More information about the openssh-bugs mailing list