From owner-freebsd-questions Wed Aug 6 13:21:47 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id NAA17306 for questions-outgoing; Wed, 6 Aug 1997 13:21:47 -0700 (PDT) Received: from fission (fission.dt.wdc.com [129.253.40.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id NAA17301 for ; Wed, 6 Aug 1997 13:21:45 -0700 (PDT) Received: from dtmail.dt.wdc.com ([192.40.5.26]) by fission (8.7.1/8.7.1) with ESMTP id NAA09809; Wed, 6 Aug 1997 13:16:40 -0700 (PDT) Received: from daemon.dt.wdc.com (daemon.dt.wdc.com [192.40.7.32]) by dtmail.dt.wdc.com (8.7.1/8.7.1) with ESMTP id NAA15188; Wed, 6 Aug 1997 13:16:38 -0700 (PDT) Received: from localhost (kehlet@localhost) by daemon.dt.wdc.com (8.8.5/8.8.5) with SMTP id NAA16182; Wed, 6 Aug 1997 13:15:29 -0700 (PDT) X-Authentication-Warning: daemon.dt.wdc.com: kehlet owned process doing -bs Date: Wed, 6 Aug 1997 13:15:29 -0700 (PDT) From: Steve Kehlet To: Chad William Monteith cc: freebsd-questions@FreeBSD.ORG Subject: Re: stdio declaration In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk I've had this same problem bite me a number of times. The problem is FreeBSD declares sys_errlist (in ) as: extern const char *const sys_errlist[] instead of just: extern char *sys_errlist[] like most other people. The only solution I've found is to edit the offending files (in your case, HTTCP.c, line 110) and change the declaration to match FreeBSD's. There may be a better way around this but this has worked for me. Steve Kehlet On Wed, 6 Aug 1997, Chad William Monteith wrote: > Date: Wed, 6 Aug 1997 13:50:02 -0600 (MDT) > From: Chad William Monteith > To: freebsd-questions@FreeBSD.ORG > Subject: stdio declaration > > Hello. > In trying to install Lynx (2.7.1) the install gives an error which > the documentation does not have a fix for. Output gives thie following > after 'make freebsd' > ../../Library/Implementation/HTTCP.c:110: conflicting types for > 'sys_errlist' > /usr/include/stdio:245: previous declaration of 'sys_errlist' > *** Error code 1 > > Stop. > > Trying the alternate makes of freebsd-ncurses;-slang; and general give the > same error. Any help? > > Thanks! > > -Chad >