šŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #202027

"slrn" compile error

#202027
From: arnuld
Date: Tue, 17 Jul 2007 17:50
143 lines
7877 bytes
i want a text-based newsreader and my search brought me to "slrn". i am
using Arch GNU/Linux. "./configure --with-slrnpull" runs fine but i get
this error when i run "make". any ideas on what is wrong? here is the full
output:


[arnuld@arch slrn-0.9.8.1 ]% ./configure --with-slrnpull checking for a
BSD-compatible install... /bin/install -c checking whether build
environment is sane... yes checking for gawk... gawk

....[ SNIPPED ]......

checking whether va_lists can be copied by value... yes configure:
WARNING:
To use slrnpull, you need spool support in slrn. I'll enable that for you
automatically ... configure: creating ./config.status
config.status: creating Makefile
config.status: creating doc/Makefile
config.status: creating doc/tm/Makefile config.status: creating
src/Makefile
config.status: creating po/Makefile.in config.status: creating
autoconf/Makefile config.status: creating src/config.h
config.status: executing depfiles commands config.status: executing
default-1 commands config.status: creating po/POTFILES
config.status: creating po/Makefile

slrn will be installed to the following directories: Binaries      :
/usr/local/bin
Documentation : /usr/local/share/doc/slrn Manual pages  : /usr/local/man
Macros        : /usr/local/share/slrn

System-wide configuration is read from /usr/local/etc

Look at doc/INSTALL.unix for a list of configure options. For some less
common compile time options, edit "src/slrnfeat.h". Then, type "make all"
to start compilation.


[arnuld@arch slrn-0.9.8.1 ]% make
Making all in autoconf
make[1]: Entering directory `/home/arnuld/zzz/slrn-0.9.8.1/autoconf'
make[1]: Nothing to be done for `all'. make[1]: Leaving directory
`/home/arnuld/zzz/slrn-0.9.8.1/autoconf' Making all in doc
make[1]: Entering directory `/home/arnuld/zzz/slrn-0.9.8.1/doc' Making all
in tm
make[2]: Entering directory `/home/arnuld/zzz/slrn-0.9.8.1/doc/tm'
make[2]: Nothing to be done for `all'. make[2]: Leaving directory
`/home/arnuld/zzz/slrn-0.9.8.1/doc/tm' make[2]: Entering directory
`/home/arnuld/zzz/slrn-0.9.8.1/doc' make[2]: Nothing to be done for
`all-am'. make[2]: Leaving directory `/home/arnuld/zzz/slrn-0.9.8.1/doc'
make[1]: Leaving directory `/home/arnuld/zzz/slrn-0.9.8.1/doc' Making all
in po
make[1]: Entering directory `/home/arnuld/zzz/slrn-0.9.8.1/po' make[1]:
Nothing to be done for `all'. make[1]: Leaving directory
`/home/arnuld/zzz/slrn-0.9.8.1/po' Making all in src
make[1]: Entering directory `/home/arnuld/zzz/slrn-0.9.8.1/src' make 
all-am
make[2]: Entering directory `/home/arnuld/zzz/slrn-0.9.8.1/src' if gcc
-Dunix -DSLRN_LIB_DIR=\"/usr/local/lib/slrn\"
-DSHAREDIR=\"/usr/local/share/slrn\" -DSYSCONFDIR=\"/usr/local/etc\" -I.
-I. -I. -I. -I../intl        -g -O2 -MT chkslang.o -MD -MP -MF
".deps/chkslang.Tpo" -c -o chkslang.o chkslang.c; \
	then mv -f ".deps/chkslang.Tpo" ".deps/chkslang.Po"; else rm -f
	".deps/chkslang.Tpo"; exit 1; fi
gcc  -g -O2   -o chkslang  chkslang.o -L/usr/lib -lslang     -lm -ldl
./chkslang slrn 10003 10400
if gcc -Dunix -DSLRN_LIB_DIR=\"/usr/local/lib/slrn\"
-DSHAREDIR=\"/usr/local/share/slrn\" -DSYSCONFDIR=\"/usr/local/etc\" -I.
-I. -I. -I. -I../intl        -g -O2 -MT art.o -MD -MP -MF ".deps/art.Tpo"
-c -o art.o art.c; \
	then mv -f ".deps/art.Tpo" ".deps/art.Po"; else rm -f ".deps/art.Tpo";
	exit 1; fi
art.c: In function 'slrn_search_article': art.c:759: error: storage size
of 'st' isn’t known art.c: In function 'browse_url':
art.c:1157: error: 'SLRL_DISPLAY_BUFFER_SIZE' undeclared (first use in
this function) art.c:1157: error: (Each undeclared identifier is reported
only once art.c:1157: error: for each function it appears in.) art.c: In
function 'article_search': art.c:1198: error:

'SLRL_DISPLAY_BUFFER_SIZE' undeclared (first use in this function) art.c:
In function 'read_article': art.c:2304: error:

'SLang_Error' undeclared (first use in this function) art.c: In function
'check_for_current_article’: art.c:2742: error:

ā€˜SLang_Error’ undeclared (first use in this function) art.c: In
function ā€˜slrn_subject_strip_was’: art.c:2772: warning: assignment
makes pointer from integer without a cast art.c: In function

ā€˜subject_skip_re’: art.c:2812: error: dereferencing pointer to
incomplete type art.c: In function ā€˜forward_article’: art.c:3006:
error: ā€˜SLRL_DISPLAY_BUFFER_SIZE’ undeclared (first use in this
function) art.c: In function ā€˜next_header_same_subject’: art.c:3967:
error: storage size of ā€˜st’ isn’t known art.c:3969: error:

ā€˜SLRL_DISPLAY_BUFFER_SIZE’ undeclared (first use in this function)
art.c:3992: warning: comparison between pointer and integer art.c: In
function ā€˜save_article_to_file’: art.c:4218: error:

ā€˜SLRL_DISPLAY_BUFFER_SIZE’ undeclared (first use in this function)
art.c:4355: error: ā€˜SLang_Error’ undeclared (first use in this
function) art.c: In function ā€˜decode_article’: art.c:4509: error:

ā€˜SLang_Error’ undeclared (first use in this function) art.c: In
function ā€˜pipe_article’: art.c:4573: error:

ā€˜SLRL_DISPLAY_BUFFER_SIZE’ undeclared (first use in this function)
art.c: In function ā€˜header_generic_search’: art.c:4944: error:

ā€˜SLRL_DISPLAY_BUFFER_SIZE’ undeclared (first use in this function)
art.c:4945: error: storage size of ā€˜st’ isn’t known art.c:4970:
warning: comparison between pointer and integer art.c:4976: warning:
comparison between pointer and integer art.c: In function
ā€˜score_headers’: art.c:5222: error: ā€˜SLang_Error’ undeclared
(first use in this function) art.c: In function ā€˜get_add_headers’:
art.c:5464: error: ā€˜SLang_Error’ undeclared (first use in this
function) art.c: In function ā€˜get_headers’: art.c:5510: error:

ā€˜SLang_Error’ undeclared (first use in this function) art.c: In
function ā€˜locate_header_by_msgid’: art.c:6073: error:

ā€˜SLRL_DISPLAY_BUFFER_SIZE’ undeclared (first use in this function)
art.c: In function ā€˜art_mouse’:
art.c:7094: warning: passing argument 1 of ā€˜SLsmg_read_raw’ from
incompatible pointer type art.c: In function ā€˜slrn_init_article_mode’:
art.c:7504: error: ā€˜SLang_Error’ undeclared (first use in this
function) art.c: In function ā€˜slrn_select_article_mode’: art.c:7605:
error: ā€˜SLang_Error’ undeclared (first use in this function) art.c: In
function ā€˜draw_tree’:
art.c:8187: error: incompatible type for argument 1 of

ā€˜SLsmg_write_char’ art.c:8200: error: incompatible type for argument 1
of ā€˜SLsmg_write_char’ art.c:8201: error: incompatible type for
argument 1 of ā€˜SLsmg_write_char’ make[2]: *** [art.o] Error 1 make[2]:
Leaving directory `/home/arnuld/zzz/slrn-0.9.8.1/src' make[1]: *** [all]
Error 2
make[1]: Leaving directory `/home/arnuld/zzz/slrn-0.9.8.1/src' make: ***
[all-recursive] Error 1
[arnuld@arch slrn-0.9.8.1 ]%

-- 
-- http://arnuld.blogspot.com
Technical Details
Message-ID: <pan.2007.07.17.17.50.46.816641@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!ndsoftware.com!news.newsland.it!aioe.org!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <pan.2007.07.17.17.50.46.816641@gmail.com>
Subject: "slrn" compile error
Date: Tue, 17 Jul 2007 22:50:48 +0500
From: arnuld <geek.arnuld@gmail.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!ndsoftware.com!news.newsland.it!aioe.org!not-for-mail
Newsgroups: news.software.readers
Organization: Aioe.org NNTP Server
Lines: 143
NNTP-Posting-Host: HX1ttkbFank8tz0t64mfyQ.user.aioe.org
Mime-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Complaints-To: abuse@aioe.org
User-Agent: Pan/0.14.2.91 (As She Crawled Across the Table)