From owner-freebsd-hackers Sat Dec 24 11:19:33 1994 Return-Path: hackers-owner Received: (from root@localhost) by freefall.cdrom.com (8.6.9/8.6.6) id LAA01688 for hackers-outgoing; Sat, 24 Dec 1994 11:19:33 -0800 Received: from csugrad.cs.vt.edu (jaitken@csugrad.cs.vt.edu [128.173.41.74]) by freefall.cdrom.com (8.6.9/8.6.6) with ESMTP id TAA01681 for ; Sat, 24 Dec 1994 19:19:28 GMT Received: (jaitken@localhost) by csugrad.cs.vt.edu (8.6.9/8.6.4) id OAA15707; Sat, 24 Dec 1994 14:19:00 -0500 From: Jeff Aitken Message-Id: <199412241919.OAA15707@csugrad.cs.vt.edu> Subject: Re: Xchess? To: root@io.cts.com (Morgan Davis) Date: Sat, 24 Dec 1994 14:19:00 -0500 (EST) Cc: freebsd-hackers@freebsd.org In-Reply-To: <199412241050.CAA00726@io.cts.com> from "Morgan Davis" at Dec 24, 94 02:50:10 am X-Mailer: ELM [version 2.4 PL22] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Content-Length: 1047 Sender: hackers-owner@freebsd.org Precedence: bulk > cc -O -DDEF_PROGRAM=\"/usr/bin/chess\" -I. -I/usr/X386/include -c > xchess.c > In file included from xchess.h:32, > from xchess.c:35: > std.h:73: conflicting types for `sys_errlist' > /usr/include/stdio.h:244: previous declaration of `sys_errlist' I ran into the same problem trying to compile v1.3 of the TIS firewall toolkit on a 2.0R machine. It appears that: char *sys_errlist[]; is no longer sufficient; either change these occurrences or just remove them and make sure is included, where you'll find (on line 244, no less ;) extern __const char *__const sys_errlist[]; This worked for me in any case; whether or not it's "correct" is up to those of you who like to debate exactly how many spaces follow comments and #defines and all thet other language type of crap ;) ;) There's probably a way to tell gcc to chill out in this case (it's not a *major* difference having a const char as opposed to just a char, SFAIK) but I didn't look it up. "gcc -traditional" perhaps? -- Jeff Aitken jaitken@vt.edu