Error when compiling for Solaris7

Steve Davidson sdn at sprintlabs.com
Wed Jan 19 10:42:18 EST 2000


The version of openssh is:  openssh-1.2.1pre27
Solaris 7 on an Ultra 2.

My apologies for not including this in the original email.

> I cannot make openssh on Solaris.
> The 'make' fails on the first file.
>
> Here are the commands and the output.
>
> Essentially, I pre-built EGD, SSL,  and ran:
> configure
> make
>
> make errors are listed at the bottom.
>
> Can anyone help me get this compiled on Solaris7?
> Steve
> sdn at sprintlabs.com
>
> ./configure --prefix=/common --sysconfdir=/etc/ssh
> --with-egd-pool=/common/bin/egd.pl
>
> loading cache ./config.cache
> checking host system type... sparc-sun-solaris2.7
> checking for gcc... (cached) gcc
> checking whether the C compiler (gcc  ) works... yes
> checking whether the C compiler (gcc  ) is a cross-compiler... no
> checking whether we are using GNU C... (cached) yes
> checking whether gcc accepts -g... (cached) yes
> checking how to run the C preprocessor... (cached) gcc -E
> checking for ranlib... (cached) ranlib
> checking for a BSD compatible install... (cached) /common/bin/install -c
>
> checking for ar... (cached) ar
> checking for perl... (cached) /common/bin/perl
> checking for rsh... (cached) /usr/bin/rsh
> checking for xauth... (cached) /usr/openwin/bin/xauth
> checking for inline... (cached) inline
> checking for OpenSSL/SSLeay directory... /common
> checking for RSAref library... no
> checking for CRYPTO_lock in -lcrypto... (cached) yes
> checking for deflate in -lz... (cached) yes
> checking for login in -lutil... (cached) no
> checking for yp_match in -lnsl... (cached) yes
> checking for main in -lsocket... (cached) yes
> checking for bstring.h... (cached) no
> checking for endian.h... (cached) no
> checking for lastlog.h... (cached) yes
> checking for login.h... (cached) no
> checking for maillock.h... (cached) yes
> checking for netdb.h... (cached) yes
> checking for netgroup.h... (cached) no
> checking for paths.h... (cached) no
> checking for poll.h... (cached) yes
> checking for pty.h... (cached) no
> checking for shadow.h... (cached) yes
> checking for security/pam_appl.h... (cached) yes
> checking for sys/bitypes.h... (cached) no
> checking for sys/bsdtty.h... (cached) no
> checking for sys/cdefs.h... (cached) no
> checking for sys/poll.h... (cached) yes
> checking for sys/select.h... (cached) yes
> checking for sys/stropts.h... (cached) yes
> checking for sys/time.h... (cached) yes
> checking for sys/ttcompat.h... (cached) yes
> checking for util.h... (cached) no
> checking for utmp.h... (cached) yes
> checking for utmpx.h... (cached) yes
> checking for arc4random... (cached) no
> checking for bindresvport_af... (cached) no
> checking for freeaddrinfo... (cached) no
> checking for gai_strerror... (cached) no
> checking for getaddrinfo... (cached) no
> checking for getpagesize... (cached) yes
> checking for getnameinfo... (cached) no
> checking for innetgr... (cached) yes
> checking for md5_crypt... (cached) no
> checking for mkdtemp... (cached) no
> checking for openpty... (cached) no
> checking for rresvport_af... (cached) no
> checking for setenv... (cached) no
> checking for seteuid... (cached) yes
> checking for setlogin... (cached) no
> checking for setproctitle... (cached) no
> checking for setreuid... (cached) yes
> checking for snprintf... (cached) yes
> checking for strlcat... (cached) no
> checking for strlcpy... (cached) no
> checking for updwtmpx... (cached) yes
> checking for vsnprintf... (cached) yes
> checking for _getpty... (cached) no
> checking for login... (cached) no
> checking for login in -lbsd... (cached) no
> checking for daemon... (cached) no
> checking for daemon in -lbsd... (cached) no
> checking size of short int... (cached) 2
> checking size of int... (cached) 4
> checking size of long int... (cached) 4
> checking size of long long int... (cached) 8
> checking for intXX_t types... yes
> checking for u_intXX_t types... no
> checking for uintXX_t types... yes
> checking for socklen_t... yes
> checking for size_t... yes
> checking for struct sockaddr_storage... no
> checking for struct sockaddr_in6... no
> checking for struct in6_addr... no
> checking for struct addrinfo... no
> checking for dlopen in -ldl... (cached) yes
> checking whether pam_strerror takes only one argument... no
> checking whether to build GNOME ssh-askpass... no
> checking for /dev/urandom... (cached) no
> checking whether utmp.h has ut_host field... no
> checking whether utmpx.h has ut_host field... yes
> checking whether utmpx.h has syslen field... yes
> checking whether utmp.h has ut_pid field... yes
> checking whether utmp.h has ut_type field... yes
> checking whether utmp.h has ut_tv field... no
> checking whether utmp.h has ut_id field... yes
> checking whether utmp.h has ut_addr field... no
> checking whether utmpx.h has ut_addr field... no
> checking whether utmp.h has ut_addr_v6 field... no
> checking whether utmpx.h has ut_addr_v6 field... no
> checking whether struct sockaddr_storage has ss_family field... no
> checking whether struct sockaddr_storage has __ss_family field... no
> checking location of lastlog file... /var/adm/lastlog
> checking for /dev/ptmx... (cached) yes
> checking for /dev/ptc... (cached) no
> checking whether libc defines __progname... no
> creating ./config.status
> creating Makefile
> creating config.h
> config.h is unchanged
>
> % make
> gcc -g -O2 -Wall -I/common/include -DETCDIR=\"/etc/ssh\"
> -DSSH_PROGRAM=\"/common/bin/ssh\"
> -DSSH_ASKPASS_DEFAULT=\"/common/libexec/ssh/ssh-askpass\"
> -DHAVE_CONFIG_H   -c atomicio.c -o atomicio.o
> In file included from includes.h:106,
>                  from atomicio.c:26:
> fake-socket.h:31: parse error before `u_int8_t'
> fake-socket.h:31: warning: no semicolon at end of struct or union
> fake-socket.h:40: field `sin6_addr' has incomplete type
> make: *** [atomicio.o] Error 1






More information about the openssh-unix-dev mailing list