HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Compiling Kermit with OpenSSL on HP-UX 11.11
Operating System - HP-UX
1829345
Members
1554
Online
109991
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
Forums
Discussions
Discussions
Discussions
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
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
06-03-2004 10:04 AM
06-03-2004 10:04 AM
Compiling Kermit with OpenSSL on HP-UX 11.11
I have been trying to compile C-Kermit (8.0.209) with SSL (openssl 0.9.7d) on HP-UX 11.11 using HP ANSI C, but without much success.
Kermit complies without a problem as long as I don't try to link SSL. When I try to recompile and link with SSL I receive errors indicating there are unresolved symbols. OpenSSL compiled and installed with no issues to /usr/local/ssl. This is the output I receive:
# make hpux1100o+openssl
MFLAGS='+ESlit +ESsfc' ; \
KFLAGS="-DCK_AUTHENTICATION -DCK_SSL -I/opt/zlib/include \
-DZLIB -DOPENSSL_097 -I/usr/local/ssl/include \
-DHPUX1100 -D__HP_CURSES \
-Ae -D_HPUX_SOURCE -DCK_ANSIC -DUTIMEH +O2 -Wl,-Fw $MFLAGS" ; \
LIBS="-L/usr/local/ssl/lib -lssl -lcrypto \
-L/opt/zlib/lib -lz " \
make "SHELL=/usr/bin/sh" "PATH=/opt/ansic/bin:$PATH" xermit \
KTARGET=${KTARGET:-hpux1100o+openssl} \
"CFLAGS = -DHPUX10 -DDIRENT -DSTERMIOX -DCK_DSYSINI -DHDBUUCP \
-DCK_CURSES -DCK_WREFRESH -DTCPSOCKET -DCK_REDIR -DRENAME -DFNFLOAT \
$KFLAGS $OFLAGS" \
"LNKFLAGS=-s " "LIBS = -lm -lcurses -L/usr/local/ssl/lib \
-lcrypto -lssl "
./wart ckcpro.w ckcpro.c
16 states, 73 actions
cc -DHPUX10 -DDIRENT -DSTERMIOX -DCK_DSYSINI -DHDBUUCP -DCK_CURSES -DCK_
WREFRESH -DTCPSOCKET -DCK_REDIR -DRENAME -DFNFLOAT -DCK_AUTHENTICATION -DCK_SSL
-I/opt/zlib/include -DZLIB -DOPENSSL_097 -I/usr/local/ssl/include -DHPUX1100 -D
__HP_CURSES -Ae -D_HPUX_SOURCE -DCK_ANSIC -DUTIMEH +O2 -Wl,-Fw +ESlit +ESsfc -D
KTARGET=\"hpux1100o+openssl\" -c ckcpro.c
cc -s -o wermit \
ckcmai.o ckclib.o ckutio.o ckufio.o \
ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
ckuusx.o ckuusy.o ckuusr.o ckucns.o \
ckudia.o ckuscr.o ckcnet.o ckusig.o \
ckctel.o ckcuni.o ckupty.o ckcftp.o \
ckuath.o ck_crp.o ck_ssl.o -lm -lcurses -L/usr/local/ssl/lib -l
crypto -lssl
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ckcmai.o) was detect
ed. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
EVP_rc4 (code)
COMP_CTX_new (code)
HMAC_Init_ex (code)
HMAC_CTX_cleanup (code)
COMP_compress_block (code)
EVP_aes_192_cbc (code)
EVP_rc2_cbc (code)
HMAC_Final (code)
EVP_aes_128_cbc (code)
HMAC_CTX_init (code)
BIO_s_socket (code)
COMP_expand_block (code)
EVP_dss1 (code)
DSA_verify (code)
ERR_load_crypto_strings (code)
EVP_md2 (code)
BIO_f_buffer (code)
EVP_aes_256_cbc (code)
EVP_enc_null (code)
EVP_des_cbc (code)
X509_certificate_type (code)
EVP_des_ede3_cbc (code)
COMP_CTX_free (code)
HMAC_Update (code)
EVP_idea_cbc (code)
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I do strings on the libraries in /usr/local/ssl/lib, I see references to the functions supposedly unresolved.
Any suggestions would be greatly appreciated.
Thanks,
George Gallant
e-mail: george.gallant@dc-uoit.ca
Kermit complies without a problem as long as I don't try to link SSL. When I try to recompile and link with SSL I receive errors indicating there are unresolved symbols. OpenSSL compiled and installed with no issues to /usr/local/ssl. This is the output I receive:
# make hpux1100o+openssl
MFLAGS='+ESlit +ESsfc' ; \
KFLAGS="-DCK_AUTHENTICATION -DCK_SSL -I/opt/zlib/include \
-DZLIB -DOPENSSL_097 -I/usr/local/ssl/include \
-DHPUX1100 -D__HP_CURSES \
-Ae -D_HPUX_SOURCE -DCK_ANSIC -DUTIMEH +O2 -Wl,-Fw $MFLAGS" ; \
LIBS="-L/usr/local/ssl/lib -lssl -lcrypto \
-L/opt/zlib/lib -lz " \
make "SHELL=/usr/bin/sh" "PATH=/opt/ansic/bin:$PATH" xermit \
KTARGET=${KTARGET:-hpux1100o+openssl} \
"CFLAGS = -DHPUX10 -DDIRENT -DSTERMIOX -DCK_DSYSINI -DHDBUUCP \
-DCK_CURSES -DCK_WREFRESH -DTCPSOCKET -DCK_REDIR -DRENAME -DFNFLOAT \
$KFLAGS $OFLAGS" \
"LNKFLAGS=-s " "LIBS = -lm -lcurses -L/usr/local/ssl/lib \
-lcrypto -lssl "
./wart ckcpro.w ckcpro.c
16 states, 73 actions
cc -DHPUX10 -DDIRENT -DSTERMIOX -DCK_DSYSINI -DHDBUUCP -DCK_CURSES -DCK_
WREFRESH -DTCPSOCKET -DCK_REDIR -DRENAME -DFNFLOAT -DCK_AUTHENTICATION -DCK_SSL
-I/opt/zlib/include -DZLIB -DOPENSSL_097 -I/usr/local/ssl/include -DHPUX1100 -D
__HP_CURSES -Ae -D_HPUX_SOURCE -DCK_ANSIC -DUTIMEH +O2 -Wl,-Fw +ESlit +ESsfc -D
KTARGET=\"hpux1100o+openssl\" -c ckcpro.c
cc -s -o wermit \
ckcmai.o ckclib.o ckutio.o ckufio.o \
ckcfns.o ckcfn2.o ckcfn3.o ckuxla.o \
ckcpro.o ckucmd.o ckuus2.o ckuus3.o \
ckuus4.o ckuus5.o ckuus6.o ckuus7.o \
ckuusx.o ckuusy.o ckuusr.o ckucns.o \
ckudia.o ckuscr.o ckcnet.o ckusig.o \
ckctel.o ckcuni.o ckupty.o ckcftp.o \
ckuath.o ck_crp.o ck_ssl.o -lm -lcurses -L/usr/local/ssl/lib -l
crypto -lssl
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (ckcmai.o) was detect
ed. The linked output may not run on a PA 1.x system.
/usr/ccs/bin/ld: Unsatisfied symbols:
EVP_rc4 (code)
COMP_CTX_new (code)
HMAC_Init_ex (code)
HMAC_CTX_cleanup (code)
COMP_compress_block (code)
EVP_aes_192_cbc (code)
EVP_rc2_cbc (code)
HMAC_Final (code)
EVP_aes_128_cbc (code)
HMAC_CTX_init (code)
BIO_s_socket (code)
COMP_expand_block (code)
EVP_dss1 (code)
DSA_verify (code)
ERR_load_crypto_strings (code)
EVP_md2 (code)
BIO_f_buffer (code)
EVP_aes_256_cbc (code)
EVP_enc_null (code)
EVP_des_cbc (code)
X509_certificate_type (code)
EVP_des_ede3_cbc (code)
COMP_CTX_free (code)
HMAC_Update (code)
EVP_idea_cbc (code)
*** Error exit code 1
Stop.
*** Error exit code 1
Stop.
I do strings on the libraries in /usr/local/ssl/lib, I see references to the functions supposedly unresolved.
Any suggestions would be greatly appreciated.
Thanks,
George Gallant
e-mail: george.gallant@dc-uoit.ca
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 06:23 PM
06-03-2004 06:23 PM
Re: Compiling Kermit with OpenSSL on HP-UX 11.11
Please disregard this post. The problem compiling C-Kermit with OpenSSL has been resolved. It turned out that two of the compiler options (-lcrypto -lssl) needed to be switched. Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-03-2004 10:23 PM
06-03-2004 10:23 PM
Re: Compiling Kermit with OpenSSL on HP-UX 11.11
.
Torino (Turin) +2H
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.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP