Re: Windows slrn: undefined reference to `SSL_read'
andrew <[email protected]> Sat, 13 Nov 2010 14:10:01 +1100
| Newsgroups | gmane.network.slrn.user |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Nov 12, 2010 at 03:19:54PM -0500, John E. Davis wrote:
> You might try appending -lwsock32 -lgdi32 -lm to the link line.
Thanks John that has done the job:
#v+
C:\Users\andrew>slrn --version
slrn pre1.0.0-26
* Note: This version is a developer preview.
S-Lang Library Version: 2.2.2
Compiled on: Nov 13 2010 13:57:55
Operating System: Win32
COMPILE TIME OPTIONS:
Backends: +nntp +slrnpull +spool
External programs / libs: -canlock -inews +ssl -uudeview +iconv
Features: +decoding +emphasized_text +end_of_thread +fake_refs
+gen_msgid
-grouplens +msgid_cache +piping +rnlock +spoilers -strict_from
Using 64 bit integers for article numbers.
DEFAULTS:
Default server object: nntp
Default posting mechanism: nntp
C:\Users\andrew>
#v-
This leave the line in Makefile.g32 as:
#v+
SLANG_LIB = -L$(SLANGLIB) -lslang -liconv -lssl -lcrypto -lwsock32 -lgdi32 -lm
#v-
Do I need to edit out -lwsock32 from the MISCLIBS line above?
Currently it stands as follows, and compiles fine under MinGW:
#v+
MISCLIBS = -lwsock32 -lwinspool
#v-
Once again thanks for your assistance as I blunder around compiling
slrn under Windows :).
Andrew
--
Do you think that's air you're breathing?
------------------------------------------------------------------------------
Centralized Desktop Delivery: Dell and VMware Reference Architecture
Simplifying enterprise desktop deployment and management using
Dell EqualLogic storage and VMware View: A highly scalable, end-to-end
client virtualization framework. Read more!
http://p.sf.net/sfu/dell-eql-dev2dev