- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: HP-UX 11.0 - "make test" fails for openssl-0.9...
Operating System - HP-UX
1755758
Members
3406
Online
108838
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2002 04:17 PM
тАО04-23-2002 04:17 PM
Re: HP-UX 11.0 - "make test" fails for openssl-0.9.6c
Luca,
Those are 32 bit files PA1.1.
You can use "odump -compunit file.a" and see the compiler option to effectively confirm that they are 32 bits.
You can also use "elfdump -f file.a" to verify that they are indeed 64 bit (see class of object).
You can also use "strings file.sl" to see the compilation symbols if it is not stripped.
I would suggest you compile openssl in 32 bit to see if it goes away. Just add +DD32 in the compilation flag.
So bottom line is you need to find a 32 bit library or compile in 32 bit mode.
Hope this helps.
--Mehmet
Those are 32 bit files PA1.1.
You can use "odump -compunit file.a" and see the compiler option to effectively confirm that they are 32 bits.
You can also use "elfdump -f file.a" to verify that they are indeed 64 bit (see class of object).
You can also use "strings file.sl" to see the compilation symbols if it is not stripped.
I would suggest you compile openssl in 32 bit to see if it goes away. Just add +DD32 in the compilation flag.
So bottom line is you need to find a 32 bit library or compile in 32 bit mode.
Hope this helps.
--Mehmet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-23-2002 11:28 PM
тАО04-23-2002 11:28 PM
Re: HP-UX 11.0 - "make test" fails for openssl-0.9.6c
Mehmet,
these are the results:
root:/usr/lib# elfdump -f libdbm.a
elfdump: Bad input file type: libdbm.a (elfdumperr 2003)
root:/usr/lib# odump -compunit libdbm.a
Compilation Unit Dictionary from libdbm.a[hpux_rel.o]:
Index Chunk Language Name
Product_id ; Version_id
Compile time ; Source time
0 0 HPC hpux_rel
ccom options = -DA1.1 -DS1.1e -Oq02,al,ag,cn,Lm,sz,Ic,vo,lc,Mf,Po,es,rs,sp,in,vc,Pi,fa,pe,Rr,Fl,pv,pa,nf,cp,lx,st,ap,Pg,ug,Lu,dp,Fs,bp,wp! -Ae
HP92453-01 ; W.11.01.
Compile Time: Thu Oct 02 1997 05:34:56.000000000 WETDST
Source Time: Thu Oct 02 1997 05:19:37.000000000 WETDST
root:/usr/lib#
Sorry, I don't know how to understand if
this is a 32-bit or 64-bit library.
About the flag, +DD32 doesn't work with gcc
and -DD32 builds again a 64-bit library.
I've:
$ gcc -v
Reading specs from /usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/specs
Configured with: ../gcc/configure --prefix=/usr/local/pa20_64 --enable-languages=c,c++ --host=hppa64-hp-hpux11.00 --target=hppa64-hp-hpux11.00 --with-ld=/usr/ccs/bin/ld --with-gnu-as --enable-libstdcxx-v3
Thread model: single
gcc version 3.0.2
Do you know if there's a flag for this gcc
to build a 32-bit executable?
Thanks again for your patience :-))
--Luca
these are the results:
root:/usr/lib# elfdump -f libdbm.a
elfdump: Bad input file type: libdbm.a (elfdumperr 2003)
root:/usr/lib# odump -compunit libdbm.a
Compilation Unit Dictionary from libdbm.a[hpux_rel.o]:
Index Chunk Language Name
Product_id ; Version_id
Compile time ; Source time
0 0 HPC hpux_rel
ccom options = -DA1.1 -DS1.1e -Oq02,al,ag,cn,Lm,sz,Ic,vo,lc,Mf,Po,es,rs,sp,in,vc,Pi,fa,pe,Rr,Fl,pv,pa,nf,cp,lx,st,ap,Pg,ug,Lu,dp,Fs,bp,wp! -Ae
HP92453-01 ; W.11.01.
Compile Time: Thu Oct 02 1997 05:34:56.000000000 WETDST
Source Time: Thu Oct 02 1997 05:19:37.000000000 WETDST
root:/usr/lib#
Sorry, I don't know how to understand if
this is a 32-bit or 64-bit library.
About the flag, +DD32 doesn't work with gcc
and -DD32 builds again a 64-bit library.
I've:
$ gcc -v
Reading specs from /usr/local/pa20_64/lib/gcc-lib/hppa64-hp-hpux11.00/3.0.2/specs
Configured with: ../gcc/configure --prefix=/usr/local/pa20_64 --enable-languages=c,c++ --host=hppa64-hp-hpux11.00 --target=hppa64-hp-hpux11.00 --with-ld=/usr/ccs/bin/ld --with-gnu-as --enable-libstdcxx-v3
Thread model: single
gcc version 3.0.2
Do you know if there's a flag for this gcc
to build a 32-bit executable?
Thanks again for your patience :-))
--Luca
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-24-2002 11:14 AM
тАО04-24-2002 11:14 AM
Re: HP-UX 11.0 - "make test" fails for openssl-0.9.6c
Luca,
You libdbm is clearly a 32 bit lib. If you wanna stick with gcc then you can use the "-mpa-risc-1-1" or "-mpa-risc-2-0" options to compile for your architecture. I recommend "-mpa-risc-1-1".
The +DD32 switch is for the ansi C compiler.
I have not compiled openssl with gcc. I mainly use the ansic compiler in /opt/ansic/bin/cc.
So you can also try using this one with +DD32 option.
Good luck.
--Mehmet
You libdbm is clearly a 32 bit lib. If you wanna stick with gcc then you can use the "-mpa-risc-1-1" or "-mpa-risc-2-0" options to compile for your architecture. I recommend "-mpa-risc-1-1".
The +DD32 switch is for the ansi C compiler.
I have not compiled openssl with gcc. I mainly use the ansic compiler in /opt/ansic/bin/cc.
So you can also try using this one with +DD32 option.
Good luck.
--Mehmet
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-25-2002 11:37 PM
тАО04-25-2002 11:37 PM
Re: HP-UX 11.0 - "make test" fails for openssl-0.9.6c
I've finally compiled openssl,
with hp's cc:
OpenSSL 0.9.6c 21 dec 2001
built on: Fri Apr 26 09:22:56 WETDST 2002
platform: hpux-parisc2-cc
options: bn(64,64) md2(char) rc4(idx,char) des(idx,risc1,16,long) idea(int) blowfish(idx)
compiler: cc +Z -DTHREADS -D_REENTRANT -DDSO_DL +DA2.0 +DS2.0 +O3 +Optrs_strongly_typed +Olibcalls -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY
Thanks to all for your help.
I'll send an e-mail to openssl guys to ask
them if there is some known issue for
HP-UX/gcc, I'll keep you posted.
Thanks again
--Luca
with hp's cc:
OpenSSL 0.9.6c 21 dec 2001
built on: Fri Apr 26 09:22:56 WETDST 2002
platform: hpux-parisc2-cc
options: bn(64,64) md2(char) rc4(idx,char) des(idx,risc1,16,long) idea(int) blowfish(idx)
compiler: cc +Z -DTHREADS -D_REENTRANT -DDSO_DL +DA2.0 +DS2.0 +O3 +Optrs_strongly_typed +Olibcalls -Ae +ESlit -DB_ENDIAN -DMD32_XARRAY
Thanks to all for your help.
I'll send an e-mail to openssl guys to ask
them if there is some known issue for
HP-UX/gcc, I'll keep you posted.
Thanks again
--Luca
- « Previous
-
- 1
- 2
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP