Thread View: news.software.readers
12 messages
12 total messages
Started by andrew
Sun, 16 Aug 2015 06:25
[slrn] Error compiling SLang under mingw32
Author: 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?
Re: [slrn] Error compiling SLang under mingw32
Author: andrew
Date: Sun, 16 Aug 2015 06:52
Date: Sun, 16 Aug 2015 06:52
36 lines
1688 bytes
1688 bytes
On 2015-08-16, andrew <andrew@skamandros.invalid> wrote: > #v+ > c:\mingw\include\_mingw.h:396:21: error: operator '<' has no left operand > # if _XOPEN_SOURCE < 500 [...] > #v- Two links with some discussion: http://pidgin.im/pipermail/devel/2015-March/023619.html https://www.cygwin.com/ml/cygwin/2013-01/msg00147.html My Windows 10 gcc version is: #v+ Microsoft Windows [Version 10.0.10240] (c) 2015 Microsoft Corporation. All rights reserved. C:\Users\andrew>gcc --version gcc (GCC) 4.8.1 Copyright (C) 2013 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. C:\Users\andrew> #v- -- Do you think that's air you're breathing?
Re: [slrn] Error compiling SLang under mingw32
Author: John E. Davis
Date: Sun, 16 Aug 2015 18:06
Date: Sun, 16 Aug 2015 18:06
16 lines
1412 bytes
1412 bytes
On 16 Aug 2015 06:25:38 GMT, andrew <andrew@skamandros.invalid>
wrote:
k>
> 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
[...]
> I have the full build log here:
Please try version pre2.3.1-30 in the git repository:
git://git.jedsoft.org/git/slang.git
It should solve the problem.
Thanks,
--John
Re: [slrn] Error compiling SLang under mingw32
Author: andrew
Date: Sun, 16 Aug 2015 19:49
Date: Sun, 16 Aug 2015 19:49
15 lines
1248 bytes
1248 bytes
On 2015-08-16, John E. Davis <jed@jedsoft.org> wrote: > Please try version pre2.3.1-30 in the git repository: > > git://git.jedsoft.org/git/slang.git > > It should solve the problem. Thanks John, this resolves the issue and slang has installed fine. Thanks again, Andrew -- Do you think that's air you're breathing?
Re: [slrn] Error compiling SLang under mingw32
Author: andrew
Date: Mon, 17 Aug 2015 09:22
Date: Mon, 17 Aug 2015 09:22
37 lines
2072 bytes
2072 bytes
On 2015-08-16, andrew <andrew@skamandros.invalid> wrote:
> Thanks John, this resolves the issue and slang has installed fine.
And now slrn has compiled fine on Windows 10:
Microsoft Windows [Version 10.0.10240]
(c) 2015 Microsoft Corporation. All rights reserved.
C:\Users\andrew>slrn --version
slrn pre1.0.3-5
* Note: This version is a developer preview.
S-Lang Library Version: pre2.3.1-30
Compiled on: Aug 17 2015 19:07:34
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>
Which is very gratifying as usual :). I will write all of this up on
the weekend. Major change is that the native Windows console has
improved enough to be usable with slrn and Windows itself almost
usable without Classic Shell.
Andrew
--
Do you think that's air you're breathing?
Re: [slrn] Error compiling SLang under mingw32
Author: Mike Yetto
Date: Mon, 17 Aug 2015 22:29
Date: Mon, 17 Aug 2015 22:29
16 lines
1878 bytes
1878 bytes
While walking through the streets of Soho in the rain andrew <andrew@skamandros.invalid> wrote... > On 2015-08-16, andrew <andrew@skamandros.invalid> wrote: >> Thanks John, this resolves the issue and slang has installed fine. > And now slrn has compiled fine on Windows 10: It wouldn't compile with your custom-os-patch, however. Mike "now I can't mentioned scalding tea or Leafnode 2" Yetto -- "Give a man a fish, and you`ll feed him for a day. Teach a man to fish, and he`ll buy a funny hat. Talk to a hungry man about fish, and you`re a consultant." - Scott Adams
Re: [slrn] Error compiling SLang under mingw32
Author: andrew
Date: Tue, 18 Aug 2015 07:21
Date: Tue, 18 Aug 2015 07:21
9 lines
1300 bytes
1300 bytes
On 2015-08-17, Mike Yetto <unet.lighthouse@xoxy.net> wrote: > It wouldn't compile with your custom-os-patch, however. Under Windows? I confess I had not actually tried this... Andrew -- Do you think that's air you're breathing?
Re: [slrn] Error compiling SLang under mingw32
Author: Mike Yetto
Date: Wed, 19 Aug 2015 23:29
Date: Wed, 19 Aug 2015 23:29
16 lines
2032 bytes
2032 bytes
While walking through the streets of Soho in the rain andrew <andrew@skamandros.invalid> wrote... > On 2015-08-17, Mike Yetto <unet.lighthouse@xoxy.net> wrote: >> It wouldn't compile with your custom-os-patch, however. > Under Windows? I confess I had not actually tried this... I tried it with Kubuntu and couldn't get a clean compile. The patch has finally tripped over a log in its path. Mike "lasted through several updates" Yetto -- "From the moment I picked your book up until I put it down I was convulsed with laughter. Some day I intend reading it." - Groucho Marx
Re: [slrn] Error compiling SLang under mingw32
Author: andrew
Date: Thu, 20 Aug 2015 00:00
Date: Thu, 20 Aug 2015 00:00
21 lines
1844 bytes
1844 bytes
On 2015-08-19, Mike Yetto <unet.lighthouse@xoxy.net> wrote: > I tried it with Kubuntu and couldn't get a clean compile. The > patch has finally tripped over a log in its path. Hmmm... that is a little odd as the patch applies reasonably cleanly here: andrew@ilium~/source/slrn_source/test$ patch -p1 < ../custom_os.patch patching file src/post.c patching file src/post.h patching file src/startup.c patching file src/version.c andrew@ilium~/source/slrn_source/test$ and certainly compiles well enough. This is under Slackware but this should make no difference. What is the error? Andrew -- Do you think that's air you're breathing?
Re: [slrn] Error compiling SLang under mingw32
Author: Mike Yetto
Date: Thu, 20 Aug 2015 12:10
Date: Thu, 20 Aug 2015 12:10
27 lines
2514 bytes
2514 bytes
While walking through the streets of Soho in the rain andrew <andrew@skamandros.invalid> wrote... > On 2015-08-19, Mike Yetto <unet.lighthouse@xoxy.net> wrote: >> I tried it with Kubuntu and couldn't get a clean compile. The >> patch has finally tripped over a log in its path. > Hmmm... that is a little odd as the patch applies reasonably cleanly > here: > andrew@ilium~/source/slrn_source/test$ patch -p1 < ../custom_os.patch > patching file src/post.c > patching file src/post.h > patching file src/startup.c > patching file src/version.c > andrew@ilium~/source/slrn_source/test$ > and certainly compiles well enough. This is under Slackware but this > should make no difference. What is the error? Most likely PEBKAC. Mike "something to do when I get home" Yetto -- "There is danger from all men. The only maxim of a free government ought to be to trust no man living with power to endanger the public liberty." - John Adams
Re: [slrn] Error compiling SLang under mingw32
Author: Mike Yetto
Date: Fri, 21 Aug 2015 01:51
Date: Fri, 21 Aug 2015 01:51
34 lines
2895 bytes
2895 bytes
While walking through the streets of Soho in the rain Mike Yetto <unet.lighthouse@xoxy.net> wrote... > While walking through the streets of Soho in the rain > andrew <andrew@skamandros.invalid> wrote... >> On 2015-08-19, Mike Yetto <unet.lighthouse@xoxy.net> wrote: >>> I tried it with Kubuntu and couldn't get a clean compile. The >>> patch has finally tripped over a log in its path. >> Hmmm... that is a little odd as the patch applies reasonably cleanly >> here: >> andrew@ilium~/source/slrn_source/test$ patch -p1 < ../custom_os.patch >> patching file src/post.c >> patching file src/post.h >> patching file src/startup.c >> patching file src/version.c >> andrew@ilium~/source/slrn_source/test$ >> and certainly compiles well enough. This is under Slackware but this >> should make no difference. What is the error? > Most likely PEBKAC. It seems I was right. The problem was PEBKAC. Mike "stunning analytical skills" Yetto -- "Texas is threatening to secede over the election returns. It wouldn't be the first time Texas has seceded. France, Spain, Mexico, the Republic of Texas, and the Confederate States of America all claimed Texas until they discovered the place came with Texans." - Robert L. Park
Re: [slrn] Error compiling SLang under mingw32
Author: andrew
Date: Fri, 21 Aug 2015 23:33
Date: Fri, 21 Aug 2015 23:33
11 lines
1714 bytes
1714 bytes
On 2015-08-21, Mike Yetto <unet.lighthouse@xoxy.net> wrote: > It seems I was right. The problem was PEBKAC. Good to see that my very minor contribution to the slrn mafia continues to be useful :). Mind you the hard work on this patch was done by Thomas Wiegner and Jeroen van Nieuwenhuizen... Andrew -- Do you think that's air you're breathing?
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