[Bug 336] New: ssh does not compile on Linux with libc5 and 2.0 kernel

bugzilla-daemon at mindrot.org bugzilla-daemon at mindrot.org
Thu Jul 4 22:25:17 EST 2002


http://bugzilla.mindrot.org/show_bug.cgi?id=336

           Summary: ssh does not compile on Linux with libc5 and 2.0 kernel
           Product: Portable OpenSSH
           Version: -current
          Platform: ix86
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Build system
        AssignedTo: openssh-unix-dev at mindrot.org
        ReportedBy: johanw at xs4all.nl


When compiling ssh on an older Linux system with a 2.0 kernel and libc5, compile errors arise because configure erroneously defines 
HAVE_CONTROL_IN_MSGHDR in config.h. This results in undefined references:

./libssh.a(monitor_fdpass.o): In function `mm_send_fd':
/Packages/ssh/openssh-3.4p1/monitor_fdpass.c:54: undefined reference to `CMSG_FIRSTHDR'
/Packages/ssh/openssh-3.4p1/monitor_fdpass.c:58: undefined reference to `CMSG_DATA'
./libssh.a(monitor_fdpass.o): In function `mm_receive_fd':
/Packages/ssh/openssh-3.4p1/monitor_fdpass.c:114: undefined reference to `CMSG_FIRSTHDR'
/Packages/ssh/openssh-3.4p1/monitor_fdpass.c:118: undefined reference to `CMSG_DATA'
make: *** [ssh] Error 1

Commenting out the line 

/* #define HAVE_CONTROL_IN_MSGHDR 1 */

results in a working version, although PrivilegeSeparation does not work then and you have to disable it in the config file.



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the openssh-unix-dev mailing list