Re: OpenSSH-2.9.X and GCC-2.95.3
From: David Foster (foster@dim.ucsd.edu)Date: 10/25/01
- Previous message: Skip Carter: "Re: chroot and BIND"
- Maybe in reply to: Geoff Collis: "OpenSSH-2.9.X and GCC-2.95.3"
- Next in thread: sean@boran.com: "RE: OpenSSH-2.9.X and GCC-2.95.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Message-Id: <200110242302.QAA08733@dim.ucsd.edu> Date: Wed, 24 Oct 2001 16:02:46 -0700 (PDT) From: David Foster <foster@dim.ucsd.edu> Subject: Re: OpenSSH-2.9.X and GCC-2.95.3 To: hlf00@earthlink.net
>
> > Has anyone else run into similar problems?
> >
>
> And here I thought it was just something I screwed up! I'm having exactly the
same problem, no clue as to why. My configuration is almost the same as yours,
building OpenSSH 2.9.9p2:
>
> ./configure --prefix=/usr/local --with-pam \
> --without-rsh --disable-suid-ssh \
> --sysconfdir=/etc --with-tcp-wrappers \
> --with-prngd-socket=/var/spool/prngd/pool
>
> -heather f.
> --
I've compiled OpenSSH 2.9.9p2 using the SunWorkshop 5.0 C/C++ compiler
under Solaris 2.6, with no problems. I did have to make a slight tweak to
get things to compile:
******************************************************************************
BUG FIX: OpenSSH 2.9.9p2
******************************************************************************
Add the following function definition to ./session.c:
/* Added DSFoster 9-27-01 */
static void do_pre_login(Session *s);
to avoid the following compiler error:
"session.c", line 628: identifier redeclared: do_pre_login
current : static function(pointer to struct Session {int used, int self,
pointer to struct passwd {..} pw, pointer to struct Authctxt ...
previous: function() returning int : "session.c", line 581
cc: acomp failed for session.c
make: *** [session.o] Error 2
******************************************************************************
I also made the following changes to the Makefiles to support
files > 2GB:
*************************************************************************
**** FOR Solaris SYSTEMS ************************************************
*************************************************************************
For large-file support add to CFLAGS in ./Makefile and
./openbsd-compat/Makefile :
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
*************************************************************************
Dave Foster
<< All opinions expressed are mine, not the University's >>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
David Foster National Center for Microscopy and Imaging Research
Programmer/Analyst University of California, San Diego
dfoster@ucsd.edu Department of Neuroscience, Mail 0608
(858) 534-7968 http://ncmir.ucsd.edu/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore, all progress
depends on the unreasonable." -- George Bernard Shaw
- Previous message: Skip Carter: "Re: chroot and BIND"
- Maybe in reply to: Geoff Collis: "OpenSSH-2.9.X and GCC-2.95.3"
- Next in thread: sean@boran.com: "RE: OpenSSH-2.9.X and GCC-2.95.3"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|