Article View: news.software.readers
Article #259406[slrn] Error compiling SLang under mingw32
From: andrew
Date: Sun, 16 Aug 2015 06:25
Date: Sun, 16 Aug 2015 06:25
39 lines
2079 bytes
2079 bytes
I am compiling SLang 2.3.0 under Windows 10 using the MinGW32 compiler
suite. There is a consistent failure to compile with the following
error:
#v+
gcc -c -DWIN32 -DSLANG_DLL=1 -O2 -W -Wall -o gw32objs/slproc.o ./slproc.c
In file included from c:\mingw\include\stdio.h:19:0,
from ./slinclud.h:8,
from ./slproc.c:34:
c:\mingw\include\_mingw.h:396:21: error: operator '<' has no left operand
# if _XOPEN_SOURCE < 500
^
c:\mingw\include\_mingw.h:399:23: error: operator '<' has no left operand
# elif _XOPEN_SOURCE < 600
^
c:\mingw\include\_mingw.h:402:23: error: operator '<' has no left operand
# elif _XOPEN_SOURCE < 700
^
Makefile:270: recipe for target 'gw32objs/slproc.o' failed
mingw32-make[1]: *** [gw32objs/slproc.o] Error 1
mingw32-make[1]: Leaving directory 'C:/Users/andrew/Downloads/slang-2.3.0/src'
Makefile:15: recipe for target 'all' failed
mingw32-make: *** [all] Error 2
C:\Users\andrew\Downloads\slang-2.3.0>
#v-
I have the full build log here:
http://www.andrews-corner.org/tmp/SLang_compile_log_16082015
Love to know what is going on there....
Andrew
--
Do you think that's air you're breathing?
Technical Details
Message-ID:
<20150816161946.35@skamandros.andrews-corner.org>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <20150816161946.35@skamandros.andrews-corner.org> Subject: [slrn] Error compiling SLang under mingw32 Date: Sun, 16 Aug 2015 06:25:38 +0000 From: andrew <andrew@skamandros.invalid> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.(126883).mbox.7z!not-for-mail Newsgroups: news.software.readers Organization: slrn mafia Lines: 39 X-Trace: individual.net c3SILS+twSJ+IQSEUSXG+QMQvO8sYAv3XW1SSxMcI0wSy3xNlw Cancel-Lock: sha1:+E7beMFJ99Xjz9bVUqX8axWFAlw= X-NNTP-Proxy: slrnpull 1.0.2 (http://slrn.sourceforge.net) User-Agent: slrn/pre1.0.3-5/co (Slackware 14.1) X-Received-Body-CRC: 3574068874 X-Received-Bytes: 1927