error compiling openssh-3.1p1 under SCO OpenServer 5.0.5

Aran Cox acox at ia.primustel.com
Wed Mar 13 05:14:59 EST 2002



Trying to compile openssh-3.1p1 on SCO using:
export CCFLAGS='-L/usr/local/lib -I/usr/local/include' 
./configure --sysconfdir=/etc/ssh --with-rsh=/usr/bin/rcmd
--exec-prefix=/usr 

OpenSSH has been configured with the following options:
                 User binaries: /usr/bin
               System binaries: /usr/sbin
           Configuration files: /etc/ssh
               Askpass program: /usr/libexec/ssh-askpass
                  Manual pages: /usr/local/man/manX
                      PID file: /etc/ssh
        sshd default user PATH: /usr/bin:/bin:/usr/sbin:/sbin
                Manpage format: man
                   PAM support: no
            KerberosIV support: no
             Smartcard support: no
                   AFS support: no
                 S/KEY support: no
          TCP Wrappers support: no
          MD5 password support: no
   IP address in $DISPLAY hack: no
      Use IPv4 by default hack: no
       Translate v4 in v6 hack: no
              BSD Auth support: no
          Random number source: ssh-rand-helper
 ssh-rand-helper collects from: Command hashing (timeout 200)

              Host: i686-pc-sco3.2v5.0.5
          Compiler: cc
    Compiler flags: -g
Preprocessor flags: -I/usr/local/ssl/include  -I/usr/local/include
      Linker flags: -L/usr/local/ssl/lib  -L/usr/local/lib
         Libraries:   -lz -lsocket  -lprot -lx -ltinfo -lm -lcrypto 

sftp-server will be disabled.  Your compiler does not 
support 64bit integers.

WARNING: you are using the builtin random number collection 
service. Please read WARNING.RNG and request that your OS 
vendor includes kernel-based random number collection in 
future versions of your OS.


I get this:

	cc -g -I. -I. -I/usr/local/ssl/include  -I/usr/local/include
-DSSHDIR=\"/etc/ssh\"  -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" 
-D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/libexec/ssh-askpass\" 
-D_PATH_SFTP_SERVER=\"/usr/libexec/sftp-server\" 
-D_PATH_SSH_PIDDIR=\"/etc/ssh\" 
-DSSH_RAND_HELPER=\"/usr/libexec/ssh-rand-helper\" -DHAVE_CONFIG_H -c
cipher.c
"cipher.c", line 200: error: operand cannot have void type: op "=="
"cipher.c", line 200: error: operands have incompatible types: op "=="
"cipher.c", line 210: error: operand cannot have void type: op "=="
"cipher.c", line 210: error: operands have incompatible types: op "=="
"cipher.c", line 220: error: operand cannot have void type: op "=="
"cipher.c", line 220: error: operands have incompatible types: op "=="
"cipher.c", line 227: error: operand cannot have void type: op "=="
"cipher.c", line 227: error: operands have incompatible types: op "=="
"cipher.c", line 280: warning: assignment type mismatch
"cipher.c", line 299: error: operand cannot have void type: op "=="
"cipher.c", line 299: error: operands have incompatible types: op "=="
"cipher.c", line 300: error: operand cannot have void type: op "=="
"cipher.c", line 300: error: operands have incompatible types: op "=="
"cipher.c", line 301: error: operand cannot have void type: op "=="
"cipher.c", line 301: error: operands have incompatible types: op "=="
"cipher.c", line 314: warning: assignment type mismatch
"cipher.c", line 318: error: operand cannot have void type: op "=="
"cipher.c", line 318: error: operands have incompatible types: op "=="
"cipher.c", line 319: error: operand cannot have void type: op "=="
"cipher.c", line 319: error: operands have incompatible types: op "=="
"cipher.c", line 320: error: operand cannot have void type: op "=="
"cipher.c", line 320: error: operands have incompatible types: op "=="
"cipher.c", line 329: warning: assignment type mismatch
"cipher.c", line 346: warning: assignment type mismatch
"cipher.c", line 347: warning: assignment type mismatch
"cipher.c", line 348: warning: assignment type mismatch
"cipher.c", line 349: error: improper member use: flags
"cipher.c", line 349: error: undefined symbol: EVP_CIPH_CBC_MODE
"cipher.c", line 349: error: undefined symbol: EVP_CIPH_VARIABLE_LENGTH
"cipher.c", line 392: warning: assignment type mismatch
"cipher.c", line 394: warning: assignment type mismatch
"cipher.c", line 413: warning: assignment type mismatch
"cipher.c", line 440: warning: assignment type mismatch
"cipher.c", line 477: warning: assignment type mismatch
"cipher.c", line 494: warning: assignment type mismatch
"cipher.c", line 495: warning: assignment type mismatch
"cipher.c", line 496: warning: assignment type mismatch
"cipher.c", line 497: error: improper member use: flags
"cipher.c", line 497: error: undefined symbol: EVP_CIPH_CBC_MODE
"cipher.c", line 497: error: undefined symbol: EVP_CIPH_VARIABLE_LENGTH
"cipher.c", line 498: error: undefined symbol: EVP_CIPH_ALWAYS_CALL_INIT
*** Error code 1 (bu21)

I am using the SCO development environment to compile on SCO
OpenServer 5.0.5 using openssl-0.9.5a.

Any suggestions?





More information about the openssh-unix-dev mailing list