Thread View: news.software.readers
1 messages
1 total messages
Started by Lars Stokholm
Sat, 30 Jul 2005 13:35
[slrn] Two compilation questions (regarding SSH and canlock)
Author: Lars Stokholm
Date: Sat, 30 Jul 2005 13:35
Date: Sat, 30 Jul 2005 13:35
52 lines
3926 bytes
3926 bytes
They may be related, by the fact that I don't really have a clue, of how to add libraries to MinGW, slrn source or whereever they should go. I'm using Windows XP and MinGW. *** 1 - SSH *************** I've edited slrnconf.h to set SLRN_HAS_GNUTLS_SUPPORT, downloaded gnutls_1_0_17_win32_mingw_libs.zip from ftp://ftp.gnutls.org/pub/gnutls/win32/ (and added them to my MinGW installation). Then I compiled slrn with 'make -f Makefile.g32 slrn.exe' and got this: gw32objs/server.o(.text+0x35):server.c: undefined reference to `SSL_CTX_free' gw32objs/server.o(.text+0x62):server.c: undefined reference to `ERR_error_string' gw32objs/server.o(.text+0x84):server.c: undefined reference to `ERR_get_error' gw32objs/server.o(.text+0x9e):server.c: undefined reference to `SSL_free' gw32objs/server.o(.text+0x13f):server.c: undefined reference to `SSL_write' gw32objs/server.o(.text+0x1c2):server.c: undefined reference to `SSL_get_error' gw32objs/server.o(.text+0x39b):server.c: undefined reference to `SSL_new' gw32objs/server.o(.text+0x489):server.c: undefined reference to `SSL_library_init' gw32objs/server.o(.text+0x48e):server.c: undefined reference to `SSLv23_client_method' gw32objs/server.o(.text+0x496):server.c: undefined reference to `SSL_CTX_new' gw32objs/server.o(.text+0x49d):server.c: undefined reference to `SSL_load_error_strings' gw32objs/server.o(.text+0x4bc):server.c: undefined reference to `RAND_status' gw32objs/server.o(.text+0x61b):server.c: undefined reference to `SSL_set_fd' gw32objs/server.o(.text+0x62d):server.c: undefined reference to `SSL_connect' gw32objs/server.o(.text+0x649):server.c: undefined reference to `SSL_get_error' gw32objs/server.o(.text+0x6d0):server.c: undefined reference to `RAND_seed' gw32objs/server.o(.text+0x6e4):server.c: undefined reference to `RAND_seed' gw32objs/server.o(.text+0x6f9):server.c: undefined reference to `RAND_bytes' gw32objs/server.o(.text+0x724):server.c: undefined reference to `RAND_seed' gw32objs/server.o(.text+0x729):server.c: undefined reference to `RAND_status' gw32objs/server.o(.text+0x732):server.c: undefined reference to `RAND_status' gw32objs/server.o(.text+0x9f1):server.c: undefined reference to `SSL_read' gw32objs/server.o(.text+0xa01):server.c: undefined reference to `SSL_get_error' collect2: ld returned 1 exit status Any idea what's wrong? The same thing happens using SLRN_HAS_SSL_SUPPORT (and OpenSSL). *** 2 - canlock *************** After compiling libcanlock, where should I put the canlock .o-files? This is what I've done: I've put the canlock .h-files in the mingw/include-dir. I've put the canlock .o-files in the slrn/src/gw32objs-dir. I've added the .o-files to $(OBJS) in Makefile.g32. Then I compiled slrn with success and cancel lock worked. But I'm almost sure that this isn't the right way to do it, so what is?
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads