OpenSSH 2.4?
    Gert Doering 
    gert at greenie.muc.de
       
    Sun Feb  4 03:39:49 EST 2001
    
    
  
Hi,
On Sat, Feb 03, 2001 at 05:08:40PM +0100, Gert Doering wrote:
> > Don't forget the test -S problem.
> 
> Just tried openssh_cvs "up-to-date" on SCO 3.2v4.2, and "test -S" is still
> there... (configure redone by "autoconf" after "cvs update -d").
To followup on myself:
 - openbsd-compat/strtok.c includes "bsd-strtok.h" but the file is 
   called "strtok.h" -> renaming to bsd-strtok.h makes it compile
   (but breaks openbsd-compat.h, which includes "strtok.h").
 - configure fails to detect HAVE_CLOCK_T, which leads to compiler
   warnings - harmless, but looks scary :-) 
    In file included from ../config.h:648,
		     from strtok.c:34:
    ../defines.h:210: warning: redefinition of `clock_t'
    /usr/include/sys/types.h:147: warning: `clock_t' previously declared here
    In file included from ../defines.h:404,
		     from ../config.h:648,
		     from strtok.c:34:
 - Makefile contains the line:
    $(LIBOPENBSD_COMPAT_OBJS): config.h
   which makes SCO make choke, as LIBOPENBSD_COMPAT_OBJS is not defined.
 - openbsd-compat/Makefile contains a similar line:
    $(BSDCOMPAT): ../config.h
   which doesn't work either - I think it should be $(COMPAT) or
   $(OPENBSD) - maybe both.   [With GNU make, both are ignored]
 - compilation of "log.c" with "gcc -g -O2" (gcc 2.7.2.3) breaks.  I can't 
   see any obvious reason for this, though:
gcc -g -O2 -Wall -Dftruncate=chsize -I/usr/local/include -I/usr/local/ssl/include -I. -I./openbsd-compat -I. -DETCDIR=\"/etc\" -D_PATH_SSH_PROGRAM=\"/usr/local/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/local/libexec/ssh-askpass\" -DHAVE_CONFIG_H -c log.c
In file included from defines.h:404,
                 from config.h:681,
                 from includes.h:22,
                 from log.c:38:
log.c: In function `log_facility_number':
log.c:227: warning: implicit declaration of function `strcasecmp'
/usr/tmp/cca13925.s:1007: FATAL:C_EFCN symbol out of scope
gmake: *** [log.o] Error 1
    compiling without "-g" makes log.c compile just fine.  So maybe this
    is something that just cannot be fixed without me upgrading my gcc :-)
- linking ssh bombs out with:
gcc -o ssh ssh.o sshconnect.o sshconnect1.o sshconnect2.o log-client.o readconf.o clientloop.o -L. -Lopenbsd-compat/  -L/usr/local/lib -L/usr/local/ssl/lib -L/usr/local/ssl -lssh -lopenbsd-compat -lskey -lintl -lz -lsocket  -lgen -lsocket -los -lprot -lx -ltinfo -lm -lcrypto
ld crtbegin.o: too many -L options, 6 allowed
which is fixed by removing "/usr/local/lib" (gcc inserts that anyway) and
also "/usr/local/ssl" (the library is in /usr/local/ssl/lib).
- linking scp bombs with "unreferenced utimes()" - this has been discussed
  before - what's the status of this?
... after hacking all these things, ssh, sshd & co compile and link fine.  
This means you've done very good work on the portability side - SCO 3.0 
is *old*, and very "different".
Can't comment on "work" yet, will test now...
gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert at greenie.muc.de
fax: +49-89-35655025                        gert.doering at physik.tu-muenchen.de
    
    
More information about the openssh-unix-dev
mailing list