*BSD News Article 66423


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!qns3.qns.com!imci4!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!uni-erlangen.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Sys_errlist conflict with Top3-4 compile
Date: 17 Apr 1996 22:19:49 GMT
Organization: Private FreeBSD site, Dresden
Lines: 23
Message-ID: <4l3qq5$6dq@uriah.heep.sax.de>
References: <4l0k4d$mb9@saluki-news.wham.siu.edu>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6

jimd@dutton2.it.siu.edu (Jim Dutton) writes:

>Top's utils.c:326 has:
>
>	extern char *sys_errlist[];
>
>/usr/include/stdio.h:244 has:
>
>	extern __const char *__const sys_errlist[];
>
>Anyone have any suggestions ?  I have tried making changes to the utils.c
>declaration, only to encounter other errors.

. Read the handbook (section about porting software to FreeBSD).

. Remove line 326 in your utils.c.  It's useless, and it's wrong.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)