Updated Cray patch against openssh SNAP-20010725

Wendy Palm wendyp at cray.com
Thu Aug 2 07:27:52 EST 2001


"William L. Jones" wrote:
...
> If you are building this on a T3E you may have to edit the Makefile
> and edit out "-lrpc -lyp -lrpc".  There a patch for sco that
> incorrectly assume that you have a yp library if you
> have a rpc library.  I will submit a generic fix to this list
> latter since it is generic problem.

if you are building this (or other open source) package on a cray,
this is a perpetual problem.

most configure scripts figure out the existence of a library by
creating a small program and compiling it with the library, then
checking the exit status to determine if the loader found the library.
the default exit status on unicos machines is "0" for a library
not found message.

to overcome this, add -Wl,"-Dmsglevel=334:fatal" to your loader flags.

% diff -u configure.in.orig configure.in
--- configure.in.orig   Wed Aug  1 16:24:39 2001
+++ configure.in        Wed Aug  1 16:26:43 2001
@@ -247,6 +247,7 @@
        AC_DEFINE(USE_PIPES)
        LDFLAGS="$LDFLAGS -L/usr/local/lib"
         LIBS="$LIBS -lgen -lrsc"
+       LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal"
         ;;
 *-dec-osf*)
        AC_MSG_CHECKING(for Digital Unix SIA)


-- 
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154



More information about the openssh-unix-dev mailing list