Hello,
> Thanks for the quick response.  Unfortunately I run into a compilation
> error when trying to compile in debug mode (I had not compiled the
> libraries before as I obtained precompiled libraries).  Unfortunately
> I am stuck on gcc 2.8.1 and can't install a new compiler and I'm
> afraid that may prevent me from building.  Any ideas?  
You may build compiler to some other location then existing one.
For example on hpux1100 you may build gcc with:

--- you must have proper make
$ gzip -dc make-3.80.tar.gz | tar xvf -
$ cd make-3.80
$ ./configure
$ make
# cp make /usr/local/bin
$ cd ..

export PATH=/usr/local/bin:$PATH

--- for gas
$ gzip -dc binutils-2.17.tar.gz | tar xvf -
$ cd binutils-2.17
$ ./configure --prefix=/usr/local/gcc-4.1.1
$ make
# make install
$ cd ..

--- for gcc
$ bzip2 -dc gcc-4.1.1.tar.bz2 | tar xvf -
$ cd gcc-4.1.1
$ mkdir gcc-4.1.1-obj
$ cd gcc-4.1.1-obj
$ /home/admin/tmp/gcc-4.1.1/configure \
    --prefix=/usr/local/gcc-4.1.1 \
    --enable-languages=c,c++ \
    --with-gnu-as \
    --with-as=/usr/local/gcc-4.1.1/bin/as \
    --disable-shared
$ /usr/local/bin/make bootstrap
# /usr/local/bin/make install

and now to switch to new gcc compiler you should only set:
        $ export PATH=/usr/local/gcc-4.1.1/bin
        $ gcc -v
        $ rehash (for some shells)

In this way you may have many gcc versions installed and switching
between then is very easy (setting proper PATH) and your old version
is not overwritten.

> The compiler error is below but I have a bad feeling they way to
> handle it would be to get the latest version of gcc. 
> 
> 
> gcc -I.. -I../../include -DTHREADS  -DDSO_DL -DNO_ASM -D_REENTRANT -O3
> -DB_ENDIAN -DBN_DIV2W   -c bn_err.c -o bn_err.o
> gcc -I.. -I../../include -DTHREADS  -DDSO_DL -DNO_ASM -D_REENTRANT -O3
> -DB_ENDIAN -DBN_DIV2W   -c bn_sqr.c -o bn_sqr.o 
> gcc -I.. -I../../include -DTHREADS  -DDSO_DL -DNO_ASM -D_REENTRANT -O3
> -DB_ENDIAN -DBN_DIV2W   -c bn_asm.c -o bn_asm.o
> gcc: Internal compiler error: program cc1 got fatal signal 11
> make[2]: *** [bn_asm.o] Error 1 
> make[2]: Leaving directory
> `/home/andrew/openssl/openssl-0.9.6/crypto/bn'
> make[1]: *** [subdirs] Error 1
> make[1]: Leaving directory `/home/andrew/openssl/openssl-0.9.6/crypto'
> make: *** [all] Error 1
My next suggestion is to switch to 0.9.7.

My next suggestion is to install available hpux 1100 patch boundles.
I know, 11.00 is rather old but you can get some bundles from:
        www.itrc.hp.com
this may help too (especially if you run multithreaded application).

You may try to run you program under tusc (someting like strace on Linux)
to check what system call gives you error.

Best regards,
-- 
Marek Marcola <[EMAIL PROTECTED]>

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to