Dear Jerry,
I do not have the libssl-dev package installed.
Sorry to follow up my own post, but I installed libssl-dev and now I
get a link error:
gcc -Os -m64 -fno-exceptions -lssl -lcrypto -L/opt/lib
-Wl,-export-dynamic -o temacs abbrev.o alloc.o alloca.o array.o
balloon_help.o balloon-x.o blocktype.o buffer.o bytecode.o callint.o
casefiddle.o casetab.o chartab.o filelock.o cmdloop.o cmds.o
console.o console-stream.o data.o device.o dired.o doc.o doprnt.o
editfns.o elhash.o emacs.o emodules.o eval.o events.o event-stream.o
event-unixoid.o dumper.o inline.o linuxplay.o miscplay.o terminfo.o
extents.o faces.o file-coding.o fileio.o filemode.o floatfns.o fns.o
font-lock.o frame.o gc.o general.o glyphs.o glyphs-eimage.o
glyphs-shared.o glyphs-widget.o gui.o menubar.o scrollbar.o
toolbar.o gutter.o hash.o imgproc.o indent.o insdel.o intl.o keymap.o
line-number.o lread.o lstream.o macros.o marker.o md5.o minibuf.o
number-gmp.o number.o fontcolor.o opaque.o print.o process.o
process-unix.o profile.o rangetab.o realpath.o redisplay.o
redisplay-output.o regex.o search.o select.o sequence.o sysdll.o
signal.o sound.o specifier.o strftime.o symbols.o syntax.o sysdep.o
text.o tls.o console-tty.o device-tty.o event-tty.o frame-tty.o
fontcolor-tty.o redisplay-tty.o cm.o undo.o unicode.o console-x.o
device-x.o event-Xt.o frame-x.o glyphs-x.o fontcolor-x.o redisplay-x.o
select-x.o gccache-x.o intl-x.o gui-x.o menubar-x.o scrollbar-x.o
toolbar-x.o toolbar-xlike.o widget.o window.o lastfile.o vm-limit.o
EmacsFrame.o EmacsShell.o TopLevelEmacsShell.o TransientEmacsShell.o
EmacsManager.o dump-id.o dump-data.o ../lwlib/liblw.a -ltiff -lpng
-ljpeg -lz -lgif -lXpm -lXmu -lXt -lXext -lX11 -lSM -lICE -lgmp
-lncurses -lm -ldl -lutil
tls.o: In function `openssl_report_error_stack':
tls.c:(.text+0x11): undefined reference to `ERR_get_error'
tls.c:(.text+0x3b): undefined reference to `SSL_get_verify_result'
tls.c:(.text+0x43): undefined reference to `X509_verify_cert_error_string'
tls.c:(.text+0x6d): undefined reference to `ERR_lib_error_string'
tls.c:(.text+0x78): undefined reference to `ERR_func_error_string'
tls.c:(.text+0x83): undefined reference to `ERR_reason_error_string'
tls.o: In function `openssl_report_error_num':
tls.c:(.text+0xfd): undefined reference to `SSL_get_error'
tls.o: In function `tls_read':
tls.c:(.text+0x2fe): undefined reference to `SSL_get_shutdown'
tls.c:(.text+0x31a): undefined reference to `SSL_read'
tls.o: In function `tls_write':
tls.c:(.text+0x3bf): undefined reference to `SSL_get_shutdown'
tls.c:(.text+0x3db): undefined reference to `SSL_write'
tls.o: In function `tls_close':
tls.c:(.text+0x47c): undefined reference to `SSL_get_fd'
tls.c:(.text+0x487): undefined reference to `SSL_get_shutdown'
tls.c:(.text+0x493): undefined reference to `SSL_shutdown'
tls.c:(.text+0x4c4): undefined reference to `SSL_free'
tls.o: In function `tls_open':
tls.c:(.text+0x52e): undefined reference to `SSL_new'
tls.c:(.text+0x548): undefined reference to `SSL_set_fd'
tls.c:(.text+0x575): undefined reference to `SSL_ctrl'
tls.c:(.text+0x5a4): undefined reference to `SSL_connect'
tls.c:(.text+0x5b1): undefined reference to `SSL_get_peer_certificate'
tls.c:(.text+0x5dd): undefined reference to `SSL_get_verify_result'
tls.c:(.text+0x5ea): undefined reference to `X509_verify_cert_error_string'
tls.c:(.text+0x611): undefined reference to `X509_free'
tls.c:(.text+0x623): undefined reference to `SSL_free'
tls.o: In function `init_tls':
tls.c:(.text+0x649): undefined reference to `OPENSSL_config'
tls.c:(.text+0x65d): undefined reference to `CRYPTO_set_mem_functions'
tls.c:(.text+0x662): undefined reference to `SSL_load_error_strings'
tls.c:(.text+0x667): undefined reference to `SSL_library_init'
tls.c:(.text+0x66c): undefined reference to `SSLv23_client_method'
tls.c:(.text+0x674): undefined reference to `SSL_CTX_new'
tls.c:(.text+0x6a3): undefined reference to `SSL_CTX_ctrl'
tls.c:(.text+0x6bb): undefined reference to `SSL_CTX_ctrl'
tls.c:(.text+0x6cc): undefined reference to `SSL_CTX_set_cipher_list'
tls.c:(.text+0x6f5): undefined reference to `SSL_CTX_set_default_verify_paths'
tls.o: In function `tls_negotiate':
tls.c:(.text+0x8a3): undefined reference to `SSL_CTX_use_PrivateKey_file'
tls.c:(.text+0x8ca): undefined reference to `SSL_CTX_use_certificate_file'
tls.o: In function `tls_get_fd':
tls.c:(.text+0x2da): undefined reference to `SSL_get_fd'
tls.o: In function `init_tls':
tls.c:(.text+0x71a): undefined reference to `SSL_CTX_set_default_passwd_cb'
tls.o: In function `openssl_error_string':
tls.c:(.text.unlikely+0x6): undefined reference to `ERR_get_error'
tls.c:(.text.unlikely+0x11): undefined reference to `ERR_lib_error_string'
tls.c:(.text.unlikely+0x35): undefined reference to `ERR_func_error_string'
tls.c:(.text.unlikely+0x59): undefined reference to `ERR_reason_error_string'
collect2: error: ld returned 1 exit status
make[1]: *** [temacs] Error 1
make[1]: Leaving directory `/raid-3tb/opt/build/xemacs-21.5-2014-10-08/src'
make: *** [src] Error 2
Thanks,
Vin
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-patches