Article View: news.software.readers
Article #170192[slrn] Two compilation questions (regarding SSH and canlock)
From: 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?
Technical Details
Message-ID:
<slrnden0h5.s8.stokholm@stokholm.dyndns.dk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <slrnden0h5.s8.stokholm@stokholm.dyndns.dk> Subject: [slrn] Two compilation questions (regarding SSH and canlock) Date: Sat, 30 Jul 2005 13:35:46 +0000 From: Lars Stokholm <stokholm@despammed.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!newsfeed-east.nntpserver.com!nntpserver.com!newsfeed-west.nntpserver.com!green.octanews.net!news-out.octanews.net!authen.white.readfreenews.net.POSTED!not-for-mail Newsgroups: news.software.readers User-Agent: slrn/0.9.8.1pl1 (Win32) Lines: 52 Organization: Read Free News NNTP-Posting-Date: 30 Jul 2005 08:35:46 CDT NNTP-Posting-Host: 88b90f6f.authen.white.readfreenews.net X-Trace: DXC=?DWRLLo5_oZAjV8`H5\Fb^b_[jUcf=dBWPH=X44`; MPYVoKOaHeP1bXV[CKj2GlC5XS3X9F4RR1l\??Y; D@8a5]VlM7@@S]WnN\ X-Complaints-To: abuse@readfreenews.net