I try to upgrade OpenSSH from version 2.3.0p1 to 2.5.1p2, Zlib-1.1.3,
OpenSSL-0.9.6, Perl-5.6.0 and GNUgcc-2.95.2 are install on my server.
The messages I get when I run 'make' are:
# make
(cd openbsd-compat; make)
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c bsd-arc4random.c
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c bsd-cygwin_util.c
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c bsd-misc.c
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c bsd-nextstep.c
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c bsd-snprintf.c
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c bsd-waitpid.c
gcc -g -O2 -Wall -I/usr/local/include -I/usr/local/ssl/include -I. -I..
-I. -I./.. -DHAVE_CONFIG_H -c fake-getaddrinfo.c
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 /usr/local/src/openssh-2.5.1p2/openbsd-compat
*** Error code 1
make: Fatal error: Command failed for target
`openbsd-compat/libopenbsd-compat.a'
Thanks
Marc Mombleau