In s_socket.c, I moved the inclusion of e_os.h up a bit...  that may
have been a mistake that lead to this error...  An hour ago, I put the
inclusion of e_os.h back where it was originally, and added the
inclusion of e_os2.h.  Maybe that works better.

reason: OPENSSL_SYS_VMS_DECC was used before the inclusion of anything
that defines it.

Cheers,
Richard

In message <200908260714.48518.open...@morethan.org> on Wed, 26 Aug 2009 
07:14:45 -0500, "Michael S. Zick" <open...@morethan.org> said:

openSSL> On Wed August 26 2009, The Doctor wrote:
openSSL> > 
openSSL> > Script started on Wed Aug 26 05:26:54 2009
openSSL> > doctor.nl2k.ab.ca//usr/source/openssl-1.0.0-stable-SNAP-20090826$ 
make
openSSL> > making all in crypto...
openSSL> > ar  r ../libcrypto.a cryptlib.o mem.o mem_dbg.o cversion.o ex_data.o 
cpt_err.o ebcdic.o uid.o o_time.o o_str.o o_dir.o mem_clr.o
openSSL> > /usr/bin/ranlib ../libcrypto.a || echo Never mind.
openSSL> > making all in crypto/objects...
openSSL> > making all in crypto/md2...
openSSL> > making all in crypto/md4...
openSSL> > making all in crypto/md5...
openSSL> > making all in crypto/sha...
openSSL> > making all in crypto/mdc2...
openSSL> > making all in crypto/hmac...
openSSL> > making all in crypto/ripemd...
openSSL> > making all in crypto/whrlpool...
openSSL> > making all in crypto/des...
openSSL> > making all in crypto/aes...
openSSL> > making all in crypto/rc2...
openSSL> > making all in crypto/rc4...
openSSL> > making all in crypto/rc5...
openSSL> > making all in crypto/idea...
openSSL> > making all in crypto/bf...
openSSL> > making all in crypto/cast...
openSSL> > making all in crypto/camellia...
openSSL> > making all in crypto/seed...
openSSL> > making all in crypto/modes...
openSSL> > making all in crypto/bn...
openSSL> > making all in crypto/ec...
openSSL> > making all in crypto/rsa...
openSSL> > making all in crypto/dsa...
openSSL> > making all in crypto/ecdsa...
openSSL> > making all in crypto/dh...
openSSL> > making all in crypto/ecdh...
openSSL> > making all in crypto/dso...
openSSL> > making all in crypto/engine...
openSSL> > making all in crypto/buffer...
openSSL> > making all in crypto/bio...
openSSL> > making all in crypto/stack...
openSSL> > making all in crypto/lhash...
openSSL> > making all in crypto/rand...
openSSL> > making all in crypto/err...
openSSL> > making all in crypto/evp...
openSSL> > making all in crypto/asn1...
openSSL> > making all in crypto/pem...
openSSL> > making all in crypto/x509...
openSSL> > making all in crypto/x509v3...
openSSL> > making all in crypto/conf...
openSSL> > making all in crypto/txt_db...
openSSL> > making all in crypto/pkcs7...
openSSL> > making all in crypto/pkcs12...
openSSL> > making all in crypto/comp...
openSSL> > making all in crypto/ocsp...
openSSL> > making all in crypto/ui...
openSSL> > making all in crypto/krb5...
openSSL> > making all in crypto/cms...
openSSL> > making all in crypto/pqueue...
openSSL> > making all in crypto/ts...
openSSL> > making all in crypto/jpake...
openSSL> > making all in crypto/store...
openSSL> > if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then  (cd ..; make 
libcrypto.so.1.0.0);  fi
openSSL> > making all in ssl...
openSSL> > if [ -n "libcrypto.so.1.0.0 libssl.so.1.0.0" ]; then  (cd ..; make 
libssl.so.1.0.0);  fi
openSSL> > making all in engines...
openSSL> > echo 
openSSL> > 
openSSL> > making all in engines/ccgost...
openSSL> > making all in apps...
openSSL> > gcc -DMONOLITH -I.. -I../include  -fPIC -DOPENSSL_PIC -DZLIB_SHARED 
-DZLIB -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN 
-DHAVE_DLFCN_H -g -O2 -Wall   -DPERL5 -DL_ENDIAN -DTERMIOS -fomit-frame-pointer 
-O2 -Wall -g -DOPENSSL_EXPERIMENTAL_JPAKE -DOPENSSL_EXPERIMENTAL_STORE 
-DOPENSSL_BN_ASM_PART_WORDS -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM 
-DSHA512_ASM -DMD5_ASM -DRMD160_ASM -DAES_ASM -c s_socket.c
openSSL> > s_socket.c: In function `init_client_ip':
openSSL> > s_socket.c:245: storage size of `them' isn't known
openSSL> > s_socket.c:251: `AF_INET' undeclared (first use in this function)
openSSL> > s_socket.c:251: (Each undeclared identifier is reported only once
openSSL> > s_socket.c:251: for each function it appears in.)
openSSL> 
openSSL> Looks like a missing socket.h include file.
openSSL> 
openSSL> Mike
openSSL> > s_socket.c:260: `SOCK_STREAM' undeclared (first use in this function)
openSSL> > s_socket.c:261: warning: implicit declaration of function `socket'
openSSL> > s_socket.c:261: `IPPROTO_TCP' undeclared (first use in this function)
openSSL> > s_socket.c:263: `SOCK_DGRAM' undeclared (first use in this function)
openSSL> > s_socket.c:263: `IPPROTO_UDP' undeclared (first use in this function)
openSSL> > s_socket.c:265: `INVALID_SOCKET' undeclared (first use in this 
function)
openSSL> > s_socket.c:276: warning: implicit declaration of function `connect'
openSSL> > s_socket.c:245: warning: unused variable `them'
openSSL> > s_socket.c:246: warning: unused variable `i'
openSSL> > s_socket.c: In function `do_server':
openSSL> > s_socket.c:298: `SOCK_STREAM' undeclared (first use in this function)
openSSL> > s_socket.c:302: warning: implicit declaration of function `SHUTDOWN'
openSSL> > s_socket.c:311: warning: implicit declaration of function `SHUTDOWN2'
openSSL> > s_socket.c: In function `init_server_long':
openSSL> > s_socket.c:323: storage size of `server' isn't known
openSSL> > s_socket.c:329: `AF_INET' undeclared (first use in this function)
openSSL> > s_socket.c:332: `INADDR_ANY' undeclared (first use in this function)
openSSL> > s_socket.c:341: `SOCK_STREAM' undeclared (first use in this function)
openSSL> > s_socket.c:342: `IPPROTO_TCP' undeclared (first use in this function)
openSSL> > s_socket.c:344: `SOCK_DGRAM' undeclared (first use in this function)
openSSL> > s_socket.c:344: `IPPROTO_UDP' undeclared (first use in this function)
openSSL> > s_socket.c:346: `INVALID_SOCKET' undeclared (first use in this 
function)
openSSL> > s_socket.c:354: warning: implicit declaration of function `bind'
openSSL> > s_socket.c:362: warning: implicit declaration of function `listen'
openSSL> > s_socket.c:323: warning: unused variable `server'
openSSL> > s_socket.c: In function `do_accept':
openSSL> > s_socket.c:383: storage size of `from' isn't known
openSSL> > s_socket.c:400: warning: implicit declaration of function `accept'
openSSL> > s_socket.c:401: `INVALID_SOCKET' undeclared (first use in this 
function)
openSSL> > s_socket.c:431: warning: implicit declaration of function 
`gethostbyaddr'
openSSL> > s_socket.c:432: `AF_INET' undeclared (first use in this function)
openSSL> > s_socket.c:432: warning: assignment makes pointer from integer 
without a cast
openSSL> > s_socket.c:445: dereferencing pointer to incomplete type
openSSL> > s_socket.c:450: dereferencing pointer to incomplete type
openSSL> > s_socket.c:450: dereferencing pointer to incomplete type
openSSL> > s_socket.c:459: dereferencing pointer to incomplete type
openSSL> > s_socket.c:383: warning: unused variable `from'
openSSL> > s_socket.c:383: storage size of `from' isn't known
openSSL> > s_socket.c: In function `host_ip':
openSSL> > s_socket.c:526: dereferencing pointer to incomplete type
openSSL> > s_socket.c:526: `AF_INET' undeclared (first use in this function)
openSSL> > s_socket.c:531: dereferencing pointer to incomplete type
openSSL> > s_socket.c:532: dereferencing pointer to incomplete type
openSSL> > s_socket.c:533: dereferencing pointer to incomplete type
openSSL> > s_socket.c:534: dereferencing pointer to incomplete type
openSSL> > s_socket.c: In function `extract_port':
openSSL> > s_socket.c:551: warning: implicit declaration of function 
`getservbyname'
openSSL> > s_socket.c:551: warning: assignment makes pointer from integer 
without a cast
openSSL> > s_socket.c:557: dereferencing pointer to incomplete type
openSSL> > s_socket.c: At top level:
openSSL> > s_socket.c:566: field `ent' has incomplete type
openSSL> > s_socket.c:568: confused by earlier errors, bailing out
openSSL> > *** Error code 1
openSSL> > 
openSSL> > Stop.
openSSL> > *** Error code 1
openSSL> > 
openSSL> > Stop.
openSSL> > doctor.nl2k.ab.ca//usr/source/openssl-1.0.0-stable-SNAP-20090826$ 
less      exit
openSSL> > exit
openSSL> > 
openSSL> > Script done on Wed Aug 26 05:28:21 2009
openSSL> > 
openSSL> > Script done on Wed Aug 26 05:28:21 2009

-- 
Richard Levitte                         rich...@levitte.org
                                        http://richard.levitte.org/

"Life is a tremendous celebration - and I'm invited!"
-- from a friend's blog, translated from Swedish
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           majord...@openssl.org

Reply via email to