Hello,
I need help in compiling openssh-2.5.2p2 on Solaris 2.6.
My configuration:
zlib-1.1.2
openssl-0.9.6
openssh-2.5.2p2
gcc version 2.95.2
perl, version 5.005_02
SunOS clab3 5.6 Generic_105181-23 sun4u sparc SUNW,Ultra-2
My Problem:
clab3<>/home/ct3s/poehuw/sw/openssh/2.5.2p2/sparc/SunOS-5.6/openssh-2.5.2p2> configure
--prefix=/opt/ATDossh --sysconfdir=/etc --with-tcp-wrappers --with-ipv4-default
...
works
clab3<>/home/ct3s/poehuw/sw/openssh/2.5.2p2/sparc/SunOS-5.6/openssh-2.5.2p2> make
/usr/local/bin/perl ./fixpaths -D/etc/ssh_config=/etc/ssh_config
-D/etc/ssh_known_hosts=/etc/ssh_known_hosts
-D/etc/sshd_config=/etc/sshd_config -D/usr/libexec=/opt/ATDossh/libexec
-D/etc/shosts.equiv=/etc/shosts.equiv -D/etc/ssh_host_key=/etc/ssh_host_key
-D/etc/ssh_host_dsa_key=/etc/ssh_host_dsa_key
-D/etc/ssh_host_rsa_key=/etc/ssh_host_rsa_key
-D/var/run/sshd.pid=/etc/sshd.pid -D/etc/primes=/etc/primes -D/etc/sshrc=/etc/sshrc
-D/usr/X11R6/bin/xauth=/usr/openwin/bin/xauth
-D/usr/bin:/bin:/usr/sbin:/sbin=/usr/bin:/bin:/usr/sbin:/sbin:/opt/ATDossh/bin
./sshd_config
/usr/local/bin/perl ./fixpaths -D/etc/ssh_config=/etc/ssh_config
-D/etc/ssh_known_hosts=/etc/ssh_known_hosts
-D/etc/sshd_config=/etc/sshd_config -D/usr/libexec=/opt/ATDossh/libexec
-D/etc/shosts.equiv=/etc/shosts.equiv -D/etc/ssh_host_key=/etc/ssh_host_key
-D/etc/ssh_host_dsa_key=/etc/ssh_host_dsa_key
-D/etc/ssh_host_rsa_key=/etc/ssh_host_rsa_key
-D/var/run/sshd.pid=/etc/sshd.pid -D/etc/primes=/etc/primes -D/etc/sshrc=/etc/sshrc
-D/usr/X11R6/bin/xauth=/usr/openwin/bin/xauth
-D/usr/bin:/bin:/usr/sbin:/sbin=/usr/bin:/bin:/usr/sbin:/sbin:/opt/ATDossh/bin
./ssh_config
/usr/local/bin/perl ./fixpaths -D/etc/ssh_config=/etc/ssh_config
-D/etc/ssh_known_hosts=/etc/ssh_known_hosts
-D/etc/sshd_config=/etc/sshd_config -D/usr/libexec=/opt/ATDossh/libexec
-D/etc/shosts.equiv=/etc/shosts.equiv -D/etc/ssh_host_key=/etc/ssh_host_key
-D/etc/ssh_host_dsa_key=/etc/ssh_host_dsa_key
-D/etc/ssh_host_rsa_key=/etc/ssh_host_rsa_key
-D/var/run/sshd.pid=/etc/sshd.pid -D/etc/primes=/etc/primes -D/etc/sshrc=/etc/sshrc
-D/usr/X11R6/bin/xauth=/usr/openwin/bin/xauth
-D/usr/bin:/bin:/usr/sbin:/sbin=/usr/bin:/bin:/usr/sbin:/sbin:/opt/ATDossh/bin ./primes
(cd openbsd-compat; make)
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
bsd-arc4random.c
In file included from ../config.h:719,
from ../includes.h:22,
from bsd-arc4random.c:25:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
bsd-cygwin_util.c
In file included from ../config.h:719,
from ../includes.h:22,
from bsd-cygwin_util.c:16:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
bsd-misc.c
In file included from ../config.h:719,
from ../includes.h:22,
from bsd-misc.c:25:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
bsd-nextstep.c
In file included from ../config.h:719,
from ../includes.h:22,
from bsd-nextstep.c:23:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
bsd-snprintf.c
In file included from ../config.h:719,
from ../includes.h:22,
from bsd-snprintf.c:52:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
bsd-waitpid.c
In file included from ../config.h:719,
from ../includes.h:22,
from bsd-waitpid.c:23:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
gcc -g -O2 -Wall -I. -I.. -I. -I./.. -I/usr/local/include -I/opt -DHAVE_CONFIG_H -c
fake-getaddrinfo.c
In file included from ../config.h:719,
from ../includes.h:22,
from fake-getaddrinfo.c:12:
../defines.h:142: warning: redefinition of `int8_t'
/usr/include/sys/int_types.h:62: warning: `int8_t' previously declared here
../defines.h:147: warning: redefinition of `int16_t'
/usr/include/sys/int_types.h:68: warning: `int16_t' previously declared here
../defines.h:156: warning: redefinition of `int32_t'
/usr/include/sys/int_types.h:69: warning: `int32_t' previously declared here
../defines.h:207: warning: redefinition of `int64_t'
/usr/include/sys/int_types.h:74: warning: `int64_t' previously declared here
fake-getaddrinfo.c: In function `getaddrinfo':
fake-getaddrinfo.c:99: warning: implicit declaration of function `gethostbyname'
fake-getaddrinfo.c:99: warning: assignment makes pointer from integer without a cast
fake-getaddrinfo.c:100: dereferencing pointer to incomplete type
fake-getaddrinfo.c:100: dereferencing pointer to incomplete type
fake-getaddrinfo.c:100: dereferencing pointer to incomplete type
fake-getaddrinfo.c:101: dereferencing pointer to incomplete type
fake-getaddrinfo.c:102: dereferencing pointer to incomplete type
*** Error code 1
make: Fatal error: Command failed for target `fake-getaddrinfo.o'
Current working directory
/home/ct3s/poehuw/sw/openssh/2.5.2p2/sparc/SunOS-5.6/openssh-2.5.2p2/openbsd-compat
*** Error code 1
make: Fatal error: Command failed for target `openbsd-compat/libopenbsd-compat.a'
clab3<>/home/ct3s/poehuw/sw/openssh/2.5.2p2/sparc/SunOS-5.6/openssh-2.5.2p2>
don't work
I have also done a link (as read in the openssh archive):
cd openbsd-compat
ln -s ../config.h
don't work
Thanks in advance
Uwe
P.S.: compiling openssh-2.5.1p1 works