Compile bugs in openssh-1.2pre15 on Solaris (2.6)

David Del Piero David.DelPiero at qed.qld.gov.au
Wed Dec 1 18:02:30 EST 1999


Hi,

I didn't know if this was the correct spot to send openSSH bugs/problems
so I thought I'd try...


Anyway, I have encountered the following compile time problems for
openssh-1.2pre15 / Solaris 2.6 / gcc 2.8.1 -

     * daemon code (bsd-daemon.[ch]) exists but is not linked in.  Also,
     header is not included.  Same might apply to bsd-login.
     * rsa.h needs __P() define to work (I think this has already been
     reported).

Diffs are -

*** Makefile.in.ORIG    Thu Nov 25 12:40:22 1999
--- Makefile.in Wed Dec  1 12:09:37 1999
***************
*** 34,40 ****

  all: $(OBJS) $(TARGETS)

! libssh.a: authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o
cipher.o compat.o compress.o crc32.o deattack.o hostfile.o match.o
mpaux.o nchan.o packet.o readpass.o rsa.o tildexpand.o ttymodes.o
uidswap.o xmalloc.o helper.o rc4.o bsd-mktemp.o bsd-strlcpy.o
bsd-strlcat.o log.o fingerprint.o
        $(AR) rv $@ $^
        $(RANLIB) $@

--- 34,40 ----

  all: $(OBJS) $(TARGETS)

! libssh.a: authfd.o authfile.o bufaux.o buffer.o canohost.o channels.o
cipher.o compat.o compress.o crc32.o deattack.o hostfile.o match.o
mpaux.o nchan.o packet.o readpass.o rsa.o tildexpand.o ttymodes.o
uidswap.o xmalloc.o helper.o rc4.o bsd-mktemp.o bsd-strlcpy.o
bsd-strlcat.o bsd-daemon.o bsd-login.o log.o fingerprint.o
        $(AR) rv $@ $^
        $(RANLIB) $@

*** includes.h.ORIG     Thu Nov 25 10:54:59 1999
--- includes.h  Wed Dec  1 12:13:59 1999
***************
*** 76,81 ****
--- 76,83 ----
  #include "bsd-strlcpy.h"
  #include "bsd-strlcat.h"
  #include "bsd-mktemp.h"
+ #include "bsd-login.h"
+ #include "bsd-daemon.h"

  /* Define this to be the path of the xauth program. */
  #ifndef XAUTH_PATH
*** rsa.h.ORIG  Thu Nov 25 10:54:59 1999
--- rsa.h       Wed Dec  1 13:10:55 1999
***************
*** 14,19 ****
--- 14,26 ----
  */

  /* RCSID("$Id: rsa.h,v 1.4 1999/11/24 19:53:50 markus Exp $"); */
+ #ifndef __P
+ #ifdef __STDC__
+ #define __P(x)  x
+ #else
+ #define __P(x)  ()
+ #endif
+ #endif

  #ifndef RSA_H
  #define RSA_H


______________________________________________________________________________
David Del Piero,                 Email : David.DelPiero at qed.qld.gov.au
Education Queensland,
Floor 11, Education House,
30 Mary Street, Brisbane. 4000.  Phone :            +61 7 32370509
Queensland. Australia.           Fax   :            +61 7 32379695








More information about the openssh-unix-dev mailing list