[Patrick.Hsu@sfgov.org: compile error help !]

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Patrick.Hsu@sfgov.org: compile error help !]

Lutz Jaenicke-2
Forwarded to openssl-users

+DA2.0 etc are the flags for HP's native compiler, not for gcc.

Regards,
        Lutz
----- Forwarded message from Patrick Hsu <[hidden email]> -----

X-Original-To: [hidden email]
X-Original-To: [hidden email]
Delivered-To: [hidden email]
Subject: compile error help !
To: [hidden email]
X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003
From: Patrick Hsu <[hidden email]>
Date: Thu, 13 Apr 2006 12:29:52 -0700
X-MIMETrack: Serialize by Router on lnh01a01/SFGOV(Release 6.5.4|March 27, 2005) at 04/13/2006
 12:30:02
X-Virus-Scanned: by amavisd 0.1
X-Virus-Scanned: by amavisd 0.1


Good morning:

We are trying to compile  openssl vsn 0.9.7i with gcc-3.0.1 on HP ux 11.0
and having errors as follows, please recommend possible resolutions.
thankyou

Patrick hsu
=====================================================

root@hrs-ux01 [/stub/Ossl/openssl-0.9.7i]# make -f Makefile
making all in crypto...
        ( echo "#ifndef MK1MF_BUILD"; \
        echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c
*/';\
        echo '  #define CFLAGS
"/stub/gcc301/opt/precompiled/gcc-3.0.1-32/bin/g\
        echo '  #define PLATFORM "hpux-parisc2-cc"'; \
        echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
        echo '#endif' ) >buildinf.h
        /stub/gcc301/opt/precompiled/gcc-3.0.1-32/bin/gcc -I. -I..
-I../includec
gcc: +DA2.0: No such file or directory
gcc: +DS2.0: No such file or directory
gcc: +O3: No such file or directory
gcc: +Optrs_strongly_typed: No such file or directory
gcc: +ESlit: No such file or directory
<command line>: missing '(' after predicate
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


----- End forwarded message -----

--
Lutz Jaenicke                             [hidden email]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Patrick.Hsu@sfgov.org: compile error help !]

Patrick Hsu
Lutz et al:
ok we switched compilers to gcc 3.0.1, after a couple of trial tests , we
got pass :
1. make
but having problems with
2. make test
    error as follows:

    root@hrs-ux01 [/stub/Ossl/openssl-0.9.7i]# make test
Doing certs
eng1.pem => 7a9820c1.0
eng2.pem => 56e607f4.0
eng3.pem => 878cf4c6.0
eng4.pem => a3c60019.0
eng5.pem => 843b6c51.0
RegTP-5R.pem => d4e39186.0
RegTP-6R.pem => 1e49180d.0
thawteCb.pem => ddc328ff.0
thawteCp.pem => c33a80d4.0
wellsfgo.pem => 6adf0799.0
vsign1.pem => 2edf7016.0
vsign3.pem => 7651b327.0
vsignss.pem => f73e89fd.0
        touch rehash.time
testing...
making all in apps...
        ../util/shlib_wrap.sh ./destest
Doing cbcm
Doing ecb
Doing ede ecb
Doing cbc
Doing desx cbc
Doing ede cbc
Doing pcbc
Doing cfb8 cfb16 cfb32 cfb48 cfb64 cfb64() ede_cfb64() done
Doing ofb
Doing ofb64
Doing ede_ofb64
Doing cbc_cksum
Doing quad_cksum
input word alignment test 0 1 2 3
output word alignment test 0 1 2 3
fast crypt test
        ../util/shlib_wrap.sh ./ideatest
ecb idea ok
cbc idea ok
cfb64 idea ok
        ../util/shlib_wrap.sh ./shatest
test 1 ok
test 2 ok
test 3 ok
        ../util/shlib_wrap.sh ./sha1test
test 1 ok
test 2 ok
test 3 ok
        if egrep 'define OPENSSL_FIPS' ../include/openssl/opensslconf.h >
/dev/n
ull; then \
          ../util/shlib_wrap.sh ./fips_shatest < SHAmix.req | diff -w
SHAmix.fax
 - ; \
        fi
        ../util/shlib_wrap.sh ./md4test
../util/shlib_wrap.sh[70]: ./md4test: Execute permission denied.
*** Error exit code 126

Stop.
*** Error exit code 1

Stop.
root@hrs-ux01 [/stub/Ossl/openssl-0.9.7i]#

========================================================

compared with md2test which was OK, why is md4test failing ?

thx

-Patrick Hsu


                                                                           
             Lutz Jaenicke                                                
             <Lutz.Jaenicke@ae                                            
             t.TU-Cottbus.DE>                                           To
             Sent by:                  [hidden email]          
             owner-openssl-use                                          cc
             [hidden email]                                                
                                                                   Subject
                                       [[hidden email]: compile    
             04/14/2006 05:19          error help !]                      
             AM                                                            
                                                                           
                                                                           
             Please respond to                                            
             openssl-users@ope                                            
                 nssl.org                                                  
                                                                           
                                                                           




Forwarded to openssl-users

+DA2.0 etc are the flags for HP's native compiler, not for gcc.

Regards,
             Lutz
----- Forwarded message from Patrick Hsu <[hidden email]> -----

X-Original-To: [hidden email]
X-Original-To: [hidden email]
Delivered-To: [hidden email]
Subject: compile error help !
To: [hidden email]
X-Mailer: Lotus Notes Release 6.0.1 February 07, 2003
From: Patrick Hsu <[hidden email]>
Date: Thu, 13 Apr 2006 12:29:52 -0700
X-MIMETrack: Serialize by Router on lnh01a01/SFGOV(Release 6.5.4|March 27,
2005) at 04/13/2006
 12:30:02
X-Virus-Scanned: by amavisd 0.1
X-Virus-Scanned: by amavisd 0.1


Good morning:

We are trying to compile  openssl vsn 0.9.7i with gcc-3.0.1 on HP ux 11.0
and having errors as follows, please recommend possible resolutions.
thankyou

Patrick hsu
=====================================================

root@hrs-ux01 [/stub/Ossl/openssl-0.9.7i]# make -f Makefile
making all in crypto...
        ( echo "#ifndef MK1MF_BUILD"; \
        echo '  /* auto-generated by crypto/Makefile for crypto/cversion.c
*/';\
        echo '  #define CFLAGS
"/stub/gcc301/opt/precompiled/gcc-3.0.1-32/bin/g\
        echo '  #define PLATFORM "hpux-parisc2-cc"'; \
        echo "  #define DATE \"`LC_ALL=C LC_TIME=C date`\""; \
        echo '#endif' ) >buildinf.h
        /stub/gcc301/opt/precompiled/gcc-3.0.1-32/bin/gcc -I. -I..
-I../includec
gcc: +DA2.0: No such file or directory
gcc: +DS2.0: No such file or directory
gcc: +O3: No such file or directory
gcc: +Optrs_strongly_typed: No such file or directory
gcc: +ESlit: No such file or directory
<command line>: missing '(' after predicate
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.


----- End forwarded message -----

--
Lutz Jaenicke                             [hidden email]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]


______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: [Patrick.Hsu@sfgov.org: compile error help !]

Lutz Jaenicke-2
On Mon, Apr 17, 2006 at 11:50:35AM -0700, Patrick Hsu wrote:

> Lutz et al:
> ok we switched compilers to gcc 3.0.1, after a couple of trial tests , we
> got pass :
> 1. make
> but having problems with
> 2. make test
>     error as follows:
>
>     root@hrs-ux01 [/stub/Ossl/openssl-0.9.7i]# make test
> Doing certs
> eng1.pem => 7a9820c1.0
> eng2.pem => 56e607f4.0
> eng3.pem => 878cf4c6.0
> eng4.pem => a3c60019.0
> eng5.pem => 843b6c51.0
> RegTP-5R.pem => d4e39186.0
> RegTP-6R.pem => 1e49180d.0
> thawteCb.pem => ddc328ff.0
> thawteCp.pem => c33a80d4.0
> wellsfgo.pem => 6adf0799.0
> vsign1.pem => 2edf7016.0
> vsign3.pem => 7651b327.0
> vsignss.pem => f73e89fd.0
>         touch rehash.time
> testing...
> making all in apps...
>         ../util/shlib_wrap.sh ./destest
...
>         ../util/shlib_wrap.sh ./md4test
> ../util/shlib_wrap.sh[70]: ./md4test: Execute permission denied.
> *** Error exit code 126

That's strange. md4test should be compiled during build and thus be
executable anyway. From HP-UX I am used to see programs without
execute permissions if linking fails, most likely due to unresolved
references. This however should have been discovered during build
phase...

Best regards,
        Lutz
--
Lutz Jaenicke                             [hidden email]
http://www.aet.TU-Cottbus.DE/personen/jaenicke/
BTU Cottbus, Allgemeine Elektrotechnik
Universitaetsplatz 3-4, D-03044 Cottbus
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [hidden email]
Automated List Manager                           [hidden email]