dave> I have recently tried compiling OpenSSL 0.9.3a on a DEC Alpha
dave> System, but always get a compilation error from s_server.c

Apply this patch or grab the latest snapshot or wait for 0.9.4:

Index: apps/s_client.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/OpenSSL/apps/s_client.c,v
retrieving revision 1.1.1.12
retrieving revision 1.1.1.13
diff -u -r1.1.1.12 -r1.1.1.13
--- apps/s_client.c     1999/05/18 13:09:37     1.1.1.12
+++ apps/s_client.c     1999/06/07 21:49:03     1.1.1.13
@@ -60,7 +60,7 @@
    recursive header file inclusion, resulting in the compiler complaining
    that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which
    is needed to have fileno() declared correctly...  So let's define u_int */
-#if defined(__DECC) && !defined(__U_INT)
+#if defined(VMS) && defined(__DECC) && !defined(__U_INT)
 #define __U_INT
 typedef unsigned int u_int;
 #endif
Index: apps/s_server.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/OpenSSL/apps/s_server.c,v
retrieving revision 1.1.1.12
retrieving revision 1.1.1.15
diff -u -r1.1.1.12 -r1.1.1.15
--- apps/s_server.c     1999/05/17 12:06:48     1.1.1.12
+++ apps/s_server.c     1999/07/26 15:39:55     1.1.1.15
@@ -60,7 +60,7 @@
    recursive header file inclusion, resulting in the compiler complaining
    that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which
    is needed to have fileno() declared correctly...  So let's define u_int */
-#if defined(__DECC) && !defined(__U_INT)
+#if defined(VMS) && defined(__DECC) && !defined(__U_INT)
 #define __U_INT
 typedef unsigned int u_int;
 #endif
Index: apps/s_socket.c
===================================================================
RCS file: /afs/stacken.kth.se/src/SourceRepository/OpenSSL/apps/s_socket.c,v
retrieving revision 1.1.1.10
retrieving revision 1.1.1.12
diff -u -r1.1.1.10 -r1.1.1.12
--- apps/s_socket.c     1999/05/17 12:06:50     1.1.1.10
+++ apps/s_socket.c     1999/06/14 12:16:37     1.1.1.12
@@ -60,7 +60,7 @@
    recursive header file inclusion, resulting in the compiler complaining
    that u_int isn't defined, but only if _POSIX_C_SOURCE is defined, which
    is needed to have fileno() declared correctly...  So let's define u_int */
-#if defined(__DECC) && !defined(__U_INT)
+#if defined(VMS) && defined(__DECC) && !defined(__U_INT)
 #define __U_INT
 typedef unsigned int u_int;
 #endif

-- 
Richard Levitte   \ Spannv�gen 38, II \ [EMAIL PROTECTED]
Redakteur@Stacken  \ S-161 43  BROMMA  \ T: +46-8-26 52 47
                    \      SWEDEN       \ or +46-708-26 53 44
Procurator Odiosus Ex Infernis             -- [EMAIL PROTECTED]

Unsolicited commercial email is subject to an archival fee of $400.
See <http://www.stacken.kth.se/~levitte/mail/> for more info.
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to