Date: Thu, 7 Aug 1997 00:57:33 +0200 (MET DST) From: Wolfgang Helbig <helbig@MX.BA-Stuttgart.De> To: kehlet@dt.wdc.com (Steve Kehlet) Cc: cwm@Marlar.phys.du.edu, freebsd-questions@FreeBSD.ORG Subject: Re: stdio declaration Message-ID: <199708062257.AAA18085@helbig.informatik.ba-stuttgart.de> In-Reply-To: <Pine.NEB.3.96.970806131205.12355A-100000@daemon.dt.wdc.com> from Steve Kehlet at "Aug 6, 97 01:15:29 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> I've had this same problem bite me a number of times. > > The problem is FreeBSD declares sys_errlist (in <stdio.h>) 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 Or delete this declaration all together or use the port or use the package. At least the current port provides Lynx 2.1.7 and you should have no trouble installing Lynx from it on FreeBSD 2.2.x. Wolfgang > 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 <cwm@Marlar.phys.du.edu> > > 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 > > > >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199708062257.AAA18085>