*BSD News Article 81243


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.erols.net!news.mathworks.com!news.PBI.net!ns2.qnis.net!not-for-mail
From: phil@ns.qnis.net (Network Administrator)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: compiling tin-1.22
Date: 21 Oct 1996 10:13:48 -0000
Organization: QuadraNet Internet Services
Lines: 30
Message-ID: <54fics$6qr@ns.qnis.net>
References: <845895025.19074.0@blinx.wms.co.uk>
NNTP-Posting-Host: ns.qnis.net

In article <845895025.19074.0@blinx.wms.co.uk>,
Darryl Bowler <darrylb@blinx.lizard.org> wrote:
>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'

Hi Darryl:
/usr/include/stdio.h defines sys_errlist as:
extern __const char *__const sys_errlist[];

And tin.h or another include file may define sys_errlist as:
char *sys_errlist[];

So -- just go ahead and remove the definition from tin.h, and try recompiling
it.  I hope this helps.

-p
-- 
Phil Jensen				QuadraNet Internet Services
Network Administrator / Manager		http://www.qnis.net
Sysadmins are the Marine Corps of the Internet: we adapt, we overcome,
we kick ass...   we break things and we kill people.