Patch (was: OpenSSH doesn't compile under Solaris 2.3 Sparc)

Jack Barnett jbarnett at axil.netmate.com
Thu Feb 24 00:04:21 EST 2000


Do you guys have any other suggestions?  I am not on the list so I may be
missing something.

Thanks,
Jack

----- Original Message -----
From: Andre Lucas <andre.lucas at dial.pipex.com>
To: Jack Barnett <jbarnett at axil.netmate.com>
Cc: Andre Lucas <lucas at dial.pipex.com>; OpenSSH Unix Dev list
<openssh-unix-dev at mindrot.org>
Sent: Tuesday, February 22, 2000 10:16 AM
Subject: Re: Patch (was: OpenSSH doesn't compile under Solaris 2.3 Sparc)


> Before I dig in further with this: You did do 'make distclean' and rerun
> configure before retrying the make?
>
> -André
>
> Jack Barnett wrote:
> >
> > ----- Original Message -----
> > From: Andre Lucas <lucas at dial.pipex.com>
> > To: OpenSSH Unix Dev list <openssh-unix-dev at mindrot.org>
> > Cc: Jack Barnett <jbarnett at axil.netmate.com>
> > Sent: Monday, February 21, 2000 5:47 PM
> > Subject: Patch (was: OpenSSH doesn't compile under Solaris 2.3 Sparc)
> >
> > > Attached is a patch that should make configure look in the bsd compat
> > > library for getpagesize(). [list note: I'm a little worried that we
could
> > > potentially be adding "-lbsd" to LDFLAGS three times now :-) ]
> > >
> > > If you need help applying the patch: ungzip the patch file, change to
> > > your openssh source directory and do
> > >      patch -p1 < unzipped-patch-filename
> > >
> > > Ta,
> > > -Andre
> > >
> > > --
> > > Andre Lucas <andre.lucas at dial.pipex.com>
> > > http://dspace.dial.pipex.com/andre.lucas/
> >
> > --hostname~/open/openssh-1.2.2 -->patch -p1 <
> > openssh-1.2.2-getpagesize.patch
> > Hmm...  Looks like a unified diff to me...
> > The text leading up to this was:
> > --------------------------
> > |diff -Purd openssh-1.2.2/acconfig.h openssh-1.2.2.new/acconfig.h
> > |--- openssh-1.2.2/acconfig.h   Sat Jan 22 23:32:03 2000
> > |+++ openssh-1.2.2.new/acconfig.h       Mon Feb 21 23:39:08 2000
> > --------------------------
> > Patching file acconfig.h using Plan A...
> > Hunk #1 succeeded at 95.
> > Hmm...  The next patch looks like a unified diff to me...
> > The text leading up to this was:
> > --------------------------
> > |diff -Purd openssh-1.2.2/config.h.in openssh-1.2.2.new/config.h.in
> > |--- openssh-1.2.2/config.h.in  Thu Jan 27 03:17:05 2000
> > |+++ openssh-1.2.2.new/config.h.in      Mon Feb 21 23:39:13 2000
> > --------------------------
> > Patching file config.h.in using Plan A...
> > Hunk #1 succeeded at 89.
> > Hunk #2 succeeded at 185.
> > Hmm...  The next patch looks like a unified diff to me...
> > The text leading up to this was:
> > --------------------------
> > |diff -Purd openssh-1.2.2/configure openssh-1.2.2.new/configure
> > |--- openssh-1.2.2/configure    Thu Jan 27 03:17:06 2000
> > |+++ openssh-1.2.2.new/configure        Mon Feb 21 23:39:17 2000
> > --------------------------
> > Patching file configure using Plan A...
> > Hunk #1 succeeded at 1655.
> > Hunk #2 succeeded at 1903.
> > Hunk #3 succeeded at 2010.
> > Hunk #4 succeeded at 2021.
> > Hunk #5 succeeded at 2041.
> > Hunk #6 succeeded at 2049.
> > Hunk #7 succeeded at 2060.
> > Hunk #8 succeeded at 2080.
> > Hunk #9 succeeded at 2088.
> > Hunk #10 succeeded at 2099.
> > Hunk #11 succeeded at 2119.
> > Hunk #12 succeeded at 2127.
> > Hunk #13 succeeded at 2138.
> > Hunk #14 succeeded at 2158.
> > Hunk #15 succeeded at 2166.
> > Hunk #16 succeeded at 2177.
> > Hunk #17 succeeded at 2198.
> > Hunk #18 succeeded at 2227.
> > Hunk #19 succeeded at 2259.
> > Hunk #20 succeeded at 2273.
> > Hunk #21 succeeded at 2297.
> > Hunk #22 succeeded at 2325.
> > Hunk #23 succeeded at 2337.
> > Hunk #24 succeeded at 2356.
> > Hunk #25 succeeded at 2384.
> > Hunk #26 succeeded at 2396.
> > Hunk #27 succeeded at 2415.
> > Hunk #28 succeeded at 2443.
> > Hunk #29 succeeded at 2471.
> > Hunk #30 succeeded at 2484.
> > Hunk #31 succeeded at 2520.
> > Hunk #32 succeeded at 2528.
> > Hunk #33 succeeded at 2539.
> > Hunk #34 succeeded at 2568.
> > Hunk #35 succeeded at 2580.
> > Hunk #36 succeeded at 2600.
> > Hunk #37 succeeded at 2636.
> > Hunk #38 succeeded at 2695.
> > Hunk #39 succeeded at 2716.
> > Hunk #40 succeeded at 2737.
> > Hunk #41 succeeded at 2758.
> > Hunk #42 succeeded at 2779.
> > Hunk #43 succeeded at 2800.
> > Hunk #44 succeeded at 2821.
> > Hunk #45 succeeded at 2842.
> > Hunk #46 succeeded at 2863.
> > Hunk #47 succeeded at 2884.
> > Hunk #48 succeeded at 2905.
> > Hunk #49 succeeded at 2927.
> > Hunk #50 succeeded at 2939.
> > Hunk #51 succeeded at 2957.
> > Hunk #52 succeeded at 2969.
> > Hunk #53 succeeded at 3006.
> > Hunk #54 succeeded at 3061.
> > Hunk #55 succeeded at 3069.
> > Hunk #56 succeeded at 3080.
> > Hunk #57 succeeded at 3123.
> > Hunk #58 succeeded at 3131.
> > Hunk #59 succeeded at 3142.
> > Hunk #60 succeeded at 3185.
> > Hunk #61 succeeded at 3193.
> > Hunk #62 succeeded at 3204.
> > Hunk #63 succeeded at 3261.
> > Hunk #64 succeeded at 3290.
> > Hunk #65 succeeded at 3317.
> > Hunk #66 succeeded at 3365.
> > Hunk #67 succeeded at 3402.
> > Hunk #68 succeeded at 3410.
> > Hunk #69 succeeded at 3453.
> > Hunk #70 succeeded at 3461.
> > Hunk #71 succeeded at 3472.
> > Hmm...  The next patch looks like a unified diff to me...
> > The text leading up to this was:
> > --------------------------
> > |diff -Purd openssh-1.2.2/configure.in openssh-1.2.2.new/configure.in
> > |--- openssh-1.2.2/configure.in Wed Jan 26 01:15:31 2000
> > |+++ openssh-1.2.2.new/configure.in     Mon Feb 21 23:38:09 2000
> > --------------------------
> > Patching file configure.in using Plan A...
> > Hunk #1 succeeded at 157.
> > Hunk #2 succeeded at 167.
> > done
> >
>
> --hostname~/open/openssh-1.2.2 -->./configure --with-tcp-wrappers --with-e
gd
> > -pool=/dev/random
> >
> > No obvoius errors or warnings here
> >
> > --hostname~/open/openssh-1.2.2 -->make
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c atomicio.c -o atomicio.o
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c authfd.c -o authfd.o
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c authfile.c -o authfile.o
> > authfile.c: In function `load_private_key':
> > authfile.c:238: warning: unsigned int format, long unsigned int arg (arg
2)
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c bsd-bindresvport.c -o
> > bsd-bindresvport.o
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c bsd-daemon.c -o bsd-daemon.o
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c bsd-misc.c -o bsd-misc.o
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c bsd-mktemp.c -o bsd-mktemp.o
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c bsd-rresvport.c -o bsd-rresvport.o
> > bsd-rresvport.c: In function `rresvport_af':
> > bsd-rresvport.c:66: warning: implicit declaration of function `bzero'
> >
gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\" -DSSH_
> >
PROGRAM=\"/usr/local/bin/ssh\" -DSSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ss
> > h/ssh-askpass\" -DHAVE_CONFIG_H   -c bsd-snprintf.c -o bsd-snprintf.o
> > bsd-snprintf.c: In function `getpagesize':
> > bsd-snprintf.c:70: `NBPC' undeclared (first use this function)
> > bsd-snprintf.c:70: (Each undeclared identifier is reported only once
> > bsd-snprintf.c:70: for each function it appears in.)
> > bsd-snprintf.c:73: warning: control reaches end of non-void function
> > bsd-snprintf.c: In function `vsnprintf':
> > bsd-snprintf.c:133: warning: variable `ret' might be clobbered by
`longjmp'
> > or `vfork'
> > bsd-snprintf.c: At top level:
> > bsd-snprintf.c:52: warning: `caught' defined but not used
> > make: *** [bsd-snprintf.o] Error 1
> >
> > I won't post the entire output in the furture.
> >
> > Thanks,
> > Jack
>






More information about the openssh-unix-dev mailing list