*BSD News Article 81238


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.netspace.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.Hawaii.Edu!news.uoregon.edu!hunter.premier.net!feed1.news.erols.com!howland.erols.net!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!blinx.wms.co.uk!blinx.lizard.org!darrylb
From: darrylb@blinx.lizard.org (Darryl Bowler)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: compiling tin-1.22
Date: Mon, 21 Oct 1996 10:50:25 GMT
Lines: 22
Message-ID: <845895025.19074.0@blinx.wms.co.uk>
NNTP-Posting-Host: blinx.wms.co.uk
X-NNTP-Posting-Host: blinx.wms.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Has any met this problem when compiling tin-1.22

Compiling tin v1.22 for BSD/BSDI/DGUX/NeXT/OSF1/Pyramid/SunOS/Ultrix...
cc -c -O -DBSD  -DNNTP_INEWS_GATEWAY=\"\"  -DNNTP_INEWS_DOMAIN=\"\"  -DNNTP_DEFAULT_SERVER=\"\"  -DLIBDIR=\"/usr/lib/news\"  -DSPOOLDIR=\"/usr/spool/news\"  -DNOVROOTDIR=\"/usr/spool/news\" screen.c
In file included from tin.h:53,
                 from screen.c:15:
/usr/include/sys/param.h:45: warning: `BSD' redefined
*Initialization*:1: warning: this is the location of the previous definition
screen.c: In function `perror_message':
screen.c:73: conflicting types for `sys_errlist'
/usr/include/stdio.h:244: previous declaration of `sys_errlist'
*** Error code 1

Stop.
*** Error code 1

Stop.

How do I solve this problem?? My knownledge of C is pretty limited, is it
a simpile case of just changing the type for `sys_errlist'??

Regards Darryl.