🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
5 messages
5 total messages Started by andrew Tue, 20 Aug 2019 22:27
[slrn] S-Lang compile error with MinGW
#263677
Author: andrew
Date: Tue, 20 Aug 2019 22:27
41 lines
2189 bytes
I am not sure if JED still monitors this group but here we go anyway...
Using MinGW under Windows 10 I am compiling S-Lang pre2.3.3-14, in
preparation for running the latest slrn under windows (again) with the
following error:

#v+

gcc -c -DWIN32 -DSLANG_DLL=1 -O2 -W -Wall -o gw32objs/slerr.o  ./slerr.c
../slerr.c:809:10: fatal error: crtdbg.h: No such file or directory
 #include <crtdbg.h>  /* For _CrtSetReportMode */
          ^~~~~~~~~~
compilation terminated.
Makefile:220: recipe for target 'gw32objs/slerr.o' failed
mingw32-make[1]: *** [gw32objs/slerr.o] Error 1
mingw32-make[1]: Leaving directory 'C:/Users/Andrew Strong/Downloads/slang-pre2.3.3-14/src'
Makefile:21: recipe for target 'all' failed
mingw32-make: *** [all] Error 2

#v-

I have placed the full log here: https://pastebin.com/PHAC7Efq

This is using:

C:\Users\Andrew Strong>mingw32-make --version
GNU Make 3.82.90
Built for i686-pc-mingw32
Copyright (C) 1988-2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

C:\Users\Andrew Strong>

If no joy here I will chase up the S-Lang newsgroup that I have some dim
memories of...

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] S-Lang compile error with MinGW
#263685
Author: andrew
Date: Thu, 22 Aug 2019 09:09
12 lines
1306 bytes
On 2019-08-20, andrew <andrew@skamandros.invalid> wrote:

> I am not sure if JED still monitors this group but here we go
> anyway...  Using MinGW under Windows 10 I am compiling S-Lang
> pre2.3.3-14, in preparation for running the latest slrn under windows

Hopefully nobody will be upset that I have also posted this on the very
quiet slrn-users mailing list...

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] S-Lang compile error with MinGW
#263686
Author: andrew
Date: Fri, 23 Aug 2019 01:52
34 lines
2034 bytes
On 2019-08-22, andrew <andrew@skamandros.invalid> wrote:

> Hopefully nobody will be upset that I have also posted this on the very
> quiet slrn-users mailing list...

Crisis averted :). With some careful thinking and far too many hours working
at a few issues I have succeeded:

----------------
PS C:\MinGW\local\bin> ./slrn --version
slrn pre1.0.4-2
        * Note: This version is a developer preview.
S-Lang Library Version: 2.3.1a
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
PS C:\MinGW\local\bin>
----------------

The 'PS' added in there is added by Windows 10 PowerShell BTW. I now
remember that compiling on Windows can be a little tortured...

Andrew
-- 
Do you think that's air you're breathing?
Re: [slrn] S-Lang compile error with MinGW
#263687
Author: Lewis
Date: Fri, 23 Aug 2019 04:09
11 lines
1635 bytes
In message <20190823114542.531@skamandros.andrews-corner.org> andrew <andrew@skamandros.invalid> wrote:
> The 'PS' added in there is added by Windows 10 PowerShell BTW. I now
> remember that compiling on Windows can be a little tortured...

Windows? Tortured?

Story checks out.

-- 
Han : You said you wanted to be around when I made a mistake, well, this
could be it, sweetheart. Leia: I take it back.
Re: [slrn] S-Lang compile error with MinGW
#263688
Author: andrew
Date: Fri, 23 Aug 2019 08:35
14 lines
1411 bytes
On 2019-08-23, Lewis <g.kreme@gmail.com.dontsendmecopies> wrote:

> Windows? Tortured?
>
> Story checks out.

Indeed! I have still not quite got the setup bedded in but I am hoping
that this first post from within the Windows 10 slrn looks ok. I have
done this all before but things have changed a lot since I last
undertook this crazy idea...

Andrew
-- 
You think that's air you're breathing now?
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