compiling openssh-2.1.1p4 on SPARC Solaris 8
Eugene Efremov
eugene at ergonsoftware.com
Fri Aug 11 11:18:23 EST 2000
I'm trying to compile openssh-2.1.1p4 on a Sparc machine running Solaris
8. I've got all sorts of patches installed. The compiler is gcc
2.95.2. I was originally trying to get the ssh from www.ssh.com, not
the OpenSSH, to work, but that's another story in and of itself, so I'm
trying this opensource version in hopes of better success.
I'm not exactly sure what a 'cross compiler' is, as opposed to not a
cross compiler, but it seems to me that the problem has something to do
with that.
Here's what happens when I run configure:
bash-2.03# configure
loading cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... yes
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... sparc-sun-solaris2.8
checking how to run the C preprocessor... gcc -E
checking for ranlib... ranlib
checking for a BSD compatible install... ./install-sh -c
checking for ar... ar
checking for perl... /bin/perl
checking for ent... no
checking for inline... inline
checking for obsolete utmp and wtmp in solaris2.x... yes
checking for deflate in -lz... yes
checking for login in -lutil... no
checking for yp_match in -lnsl... yes
checking for main in -lsocket... yes
checking for bstring.h... no
checking for endian.h... no
checking for floatingpoint.h... yes
checking for lastlog.h... yes
checking for limits.h... yes
checking for login.h... no
checking for maillock.h... yes
checking for netdb.h... yes
checking for netgroup.h... no
checking for netinet/in_systm.h... yes
checking for paths.h... no
checking for poll.h... yes
checking for pty.h... no
checking for shadow.h... yes
checking for security/pam_appl.h... yes
checking for sys/bitypes.h... no
checking for sys/bsdtty.h... no
checking for sys/cdefs.h... no
checking for sys/poll.h... yes
checking for sys/select.h... yes
checking for sys/stat.h... yes
checking for sys/stropts.h... yes
checking for sys/sysmacros.h... yes
checking for sys/time.h... yes
checking for sys/ttcompat.h... yes
checking for stddef.h... yes
checking for time.h... yes
checking for usersec.h... no
checking for util.h... no
checking for utmp.h... yes
checking for utmpx.h... yes
checking for arc4random... no
checking for atexit... yes
checking for b64_ntop... no
checking for bcopy... yes
checking for bindresvport_af... no
checking for clock... yes
checking for freeaddrinfo... yes
checking for gai_strerror... yes
checking for getaddrinfo... yes
checking for getnameinfo... yes
checking for getrusage... yes
checking for inet_aton... no
checking for innetgr... yes
checking for md5_crypt... no
checking for memmove... yes
checking for mkdtemp... no
checking for on_exit... no
checking for openpty... no
checking for rresvport_af... yes
checking for setenv... no
checking for seteuid... yes
checking for setlogin... no
checking for setproctitle... no
checking for setreuid... yes
checking for sigaction... yes
checking for sigvec... no
checking for snprintf... yes
checking for strerror... yes
checking for strlcat... yes
checking for strlcpy... yes
checking for strsep... no
checking for vsnprintf... yes
checking for vhangup... yes
checking for _getpty... no
checking for __b64_ntop... no
checking for gettimeofday... yes
checking for time... yes
checking for login... no
checking for logout... no
checking for updwtmp... yes
checking for logwtmp... no
checking for entutent... no
checking for getutent... yes
checking for getutid... yes
checking for getutline... yes
checking for pututline... yes
checking for setutent... yes
checking for utmpname... yes
checking for entutxent... no
checking for getutxent... yes
checking for getutxid... yes
checking for getutxline... yes
checking for pututxline... yes
checking for setutxent... yes
checking for utmpxname... yes
checking for getuserattr... no
checking for getuserattr in -ls... no
checking for login... (cached) no
checking for login in -lbsd... no
checking for daemon... no
checking for daemon in -lbsd... no
checking for getpagesize... yes
checking whether snprintf correctly terminates long strings...
configure: error: can not run test program while cross compiling
The last bit of config.log is this:
configure:2443: checking for getpagesize
configure:2471: gcc -o conftest -g -O2 -Wall -I/usr/local/include
-L/usr/local/lib -R/usr/local/lib -L/usr/ucblib -R/usr/ucblib conftest.c
-lsocket -lnsl -lz 1>&5
configure:2541: checking whether snprintf correctly terminates long
strings
That's where it ends.
Later.
-------------------------------------------Eugene
More information about the openssh-unix-dev
mailing list