Hi, Lutz:

I think that is a bug. look at the following lines from mem_dbg.c

253  static int app_info_cmp(APP_INFO *a, APP_INFO *b)
...
258  static unsigned long app_info_hash(APP_INFO *a)
...
321              if ((amih=lh_new(app_info_hash,app_info_cmp)) == NULL)

my compiler "aCC" complaint at line 321. The app_info_hash function
needs one parameter and app_info_cmp function needs 2 parameters and
line 321 did not pass any parameters for these 2 functions.

Unless you turned off the strong-type checking on ANSI C compiler, I do
not think you can compile this file (mem_dbg.c) using ANSI C compiler at
all.

Frank Lin

-----Original Message-----
From: Lutz Jaenicke via RT [mailto:rt@;openssl.org]
Sent: Monday, November 11, 2002 11:33 AM
To: Lin, Frank N, ALCAS
Cc: [EMAIL PROTECTED]
Subject: [openssl.org #336] Bug(s) report 



[[EMAIL PROTECTED] - Mon Nov 11 17:29:20 2002]:

> > Hi,
> >
> > I downloaded "openssl-0.9.6g.tar.gz" and followed the "INSTALL"
>    procedure. However, the build failed and I saw the following
>    problems (I am on "HP-UX testbld B.11.00 U 9000/800 660349373
>    unlimited-user license" machine):
> >
> > 1. I entered the following to run manually configuration:
> >
> > ./Configure no-asm --prefix=/home6/flin/lib
>    --openssldir=/home6/flin/lib/openssl /opt/aCC/bin/aCC:-D_REENTRANT
> >
> > I found the "Configure" did not parsing the Compiler's option
>    correctly. Please see attached Makefile.sll (lines 58 & 60).
> > >  <<Makefile.ssl>>
> >
> > 2. After changing lines 58 & 60 to
> > CC= /opt/aCC/bin/aCC
> > CFLAG= -D_REENTRANT -DTHREADS  -DNO_ASM
> >
> > I entered "make" and got the error messages. Please see attached
>    file make.err.

You cannot compile OpenSSL with HP's C++ compiler. Use an ANSI C
compiler instead, either HP's (unbundled) compiler or gcc.

Best regards,
      Lutz
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
Development Mailing List                       [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to