apparent fix for Solaris 7 compilation problems

Marcus Lee marclee at
Wed Dec 8 16:53:44 EST 1999

Hi everyone,

I'm new to the list... I was just assigned an Ultra60 with Solaris 7 to
setup and tried to compile openssh-1.2pre16 with...

  "./configure --with-tcp-wrappers --with-egd-pool=/dev/entropy; make;"

And here's where the compilation process failed...

  gcc -g -O2 -Wall -I/usr/local/ssl/include -DETCDIR=\"/usr/local/etc\"
  -DHAVE_CONFIG_H   -c pty.c -o pty.o
  pty.c: In function `pty_allocate':
  pty.c:115: `I_PUSH' undeclared (first use in this function)
  pty.c:115: (Each undeclared identifier is reported only once
  pty.c:115: for each function it appears in.)
  make: *** [pty.o] Error 1

And here's the fix...

In "includes.h", I added the following line:

  #include <stropts.h>

After doing this, 'make' works (except for a few warning messages)...
and openssh seems to be working (I'm using it now).

I hope this helps.

Marcus Lee
marclee at
Rotman School of Management, University of Toronto
[check for my PGP Public Key]

More information about the openssh-unix-dev mailing list