🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #83811

Re: [slrn] slrn-jwk-0.9.7.2 error in compilation

#83811
From: Jurriaan (note: this is a workin...
Date: Sat, 01 Sep 2001 08:02
45 lines
3003 bytes
On Fri, 31 Aug 2001 16:29:29 -0400, Marcel
<Use-Author-Address-Header@[> wrote:
> 
> Got this error in score.c when trying to compile slrn 0.9.7.2 (jwk)
> with trace_score option.  Was ok in v 0.9.7.1
> Any hint?
> 
> cd /tmp2/slrn-0.9.7.2/src/objs; gcc -c -g -O2  -I/usr/X11R6/include -Dunix
> -DSLRN_MACRO_DIR=\"/usr/share/slrn\" /tmp2/slrn-0.9.7.2/src/score.c
> /tmp2/slrn-0.9.7.2/src/score.c: In function lrn_trace_normal_score':
> /tmp2/slrn-0.9.7.2/src/score.c:442: parse error before har'
> /tmp2/slrn-0.9.7.2/src/score.c:444: slt' undeclared (first use in this
> function)
> /tmp2/slrn-0.9.7.2/src/score.c:444: (Each undeclared identifier is reported
> only once
> /tmp2/slrn-0.9.7.2/src/score.c:444: for each function it appears in.)
> make[2]: *** [/tmp2/slrn-0.9.7.2/src/objs/score.o] Error 1
> make[2]: Leaving directory /mnt/scratch/tmp/slrn-0.9.7.2/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory /mnt/scratch/tmp/slrn-0.9.7.2'
> make: *** [build-stamp] Error 2

Since you're the second person to stumble accross this, I assume my
patch must be broken in some not-obvious way. My solution with the first
person to mention this was to delete and then add the following two
lines in score.c at line 442:

   st = Score_Root;
   char *rslt;

I'm assuming some non-ascii characters were in the diff or something
like that, I can't explain it. I couldn't even reproduce it here when
patching a fresh tree.

I've just put up a new patch, freshly diffed. Please let me know if that
solves it?

Good luck,
Jurriaan
-- 
"You were warned, fool. Now I will teach you to profit
 from such courtesies when they are offered."
	Stephen R Donaldson - By Another Name
GNU/Linux 2.4.9-ac5 SMP/ReiserFS 2x1402 bogomips load av: 0.03 0.01 0.01
Technical Details
Message-ID: <slrn9p13vg.arp.no_spam_here@middle.of.nowhere>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!newsfeed.wirehub.nl!transit.news.xs4all.nl!not-for-mail
References: <20010828190526.A9870@shizuma> <20010830050215.A22021@Shizuma> <20010831162929.E23382@Shizuma>

Show Full Headers
Complete Article Headers
Message-ID: <slrn9p13vg.arp.no_spam_here@middle.of.nowhere>
Subject: Re: [slrn] slrn-jwk-0.9.7.2 error in compilation
Date: Sat, 01 Sep 2001 08:02:45 +0000
From: "Jurriaan (note: this is a working address!)" <no_spam_here@rivierenland.xs4all.nl>
References: <20010828190526.A9870@shizuma> <20010830050215.A22021@Shizuma> <20010831162929.E23382@Shizuma>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!newsfeed.wirehub.nl!transit.news.xs4all.nl!not-for-mail
Newsgroups: news.software.readers
Organization: XS4ALL Internet BV
Lines: 44
NNTP-Posting-Host: rivierenland.xs4all.nl
X-Trace: news1.xs4all.nl 999331365 10203 194.109.14.47 (1 Sep 2001 08:02:45 GMT)
X-Complaints-To: abuse@xs4all.nl
NNTP-Posting-Date: 1 Sep 2001 08:02:45 GMT
X-Face: b$-F+98,@$_I=*ODq'<K2(OA)qC&,(GP=z2^`4dwQwy&e;!|R?>")k9FH3?YC+%*kF\=<Rx"Hy2_eyMtnFSiO8
User-Agent: slrn/0.9.7.2-jwk (Linux)