Fixes for Solaris

Marc G. Fournier marc.fournier at acadiau.ca
Tue Nov 23 23:56:32 EST 1999


with patch applied:

====================
bsd-daemon.c: In function `daemon':
bsd-daemon.c:70: `_PATH_DEVNULL' undeclared (first use in this function)
bsd-daemon.c:70: (Each undeclared identifier is reported only once
bsd-daemon.c:70: for each function it appears in.)
make: *** [bsd-daemon.o] Error 1
new-relay:/usr/slocal/src/openssh-1.2pre14> grep DEV config.h
===================
bsd-login.c: In function `login':
bsd-login.c:60: `_PATH_UTMP' undeclared (first use in this function)
bsd-login.c:60: (Each undeclared identifier is reported only once
bsd-login.c:60: for each function it appears in.)
bsd-login.c:79: `_PATH_WTMP' undeclared (first use in this function)
bsd-login.c:55: warning: unused variable `old_ut'
make: *** [bsd-login.o] Error 1
===================
sshd.c:2313: `_PATH_MAILDIR' undeclared (first use in this function)
sshd.c:2313: (Each undeclared identifier is reported only once
sshd.c:2313: for each function it appears in.)
make: *** [sshd.o] Error 1
===================
ssh-keygen.c:67: conflicting types for `__progname'
ssh-keygen.c:27: previous declaration of `__progname'
make: *** [ssh-keygen.o] Error 1
===================
ssh-keygen.c: In function `main':
ssh-keygen.c:377: conflicting types for `__progname'
ssh-keygen.c:27: previous declaration of `__progname'
===================
new-relay:/usr/slocal/src/openssh-1.2pre14> /usr/slocal/sbin/sshd -d
debug: sshd version OpenSSH-1.2
Server listening on port 22.
Generating 768 bit RSA key.
RSA key generation complete.
debug: Server will not fork when running in debugging mode.
Connection from 131.162.138.223 port 677
debug: Client protocol version 1.5; client software version 1.2.26
debug: Sent 768 bit public key and 1024 bit host key.
debug: Encryption type: 3des
debug: Received session key; encryption turned on.
debug: Installing crc compensation attack detector.
debug: Starting up PAM with username "marc"
debug: Attempting authentication for marc.
PAM Password authentication accepted for user "marc"
debug: PAM setting rhost to "atelier.acadiau.ca"
Segmentation fault
=====================


On Tue, 23 Nov 1999, Damien Miller wrote:

> 
> Attached is a small patch that should fix most of the problems
> reported.
> 
> I am adding a recommendation to use GNU make to the INSTALL 
> document.
> 
> Regards,
> Damien
> 
> --
> | "Bombay is 250ms from New York in the new world order" - Alan Cox
> | Damien Miller - http://www.mindrot.org/
> | Email: djm at mindrot.org (home) -or- djm at ibs.com.au (work)
> 
> 
> 

Marc G. Fournier                                 marc.fournier at acadiau.ca
Senior Systems Administrator                            Acadia University

  "These are my opinions, which are not necessarily shared by my employer"






More information about the openssh-unix-dev mailing list