Updated Cray patch against openssh SNAP-20010725
Wendy Palm
wendyp at cray.com
Thu Aug 2 07:41:33 EST 2001
Wendy Palm wrote:
>
> "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.
>
sorry, here's the correct patch-
% diff -u configure.in.orig configure.in
--- configure.in.orig Wed Aug 1 16:24:39 2001
+++ configure.in Wed Aug 1 16:40:40 2001
@@ -245,7 +245,7 @@
no_libsocket=1
no_libnsl=1
AC_DEFINE(USE_PIPES)
- LDFLAGS="$LDFLAGS -L/usr/local/lib"
+ LDFLAGS="$LDFLAGS -Wl,-Dmsglevel=334:fatal",-L/usr/local/lib"
LIBS="$LIBS -lgen -lrsc"
;;
*-dec-osf*)
--
wendy palm
Cray OS Sustaining Engineering, Cray Inc.
wendyp at cray.com, 651-605-9154
More information about the openssh-unix-dev
mailing list