From owner-freebsd-ports Thu Dec 14 08:11:40 1995 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA11309 for ports-outgoing; Thu, 14 Dec 1995 08:11:40 -0800 (PST) Received: from clem.systemsix.com (clem.systemsix.com [198.99.86.131]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA11300 for ; Thu, 14 Dec 1995 08:11:32 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by clem.systemsix.com (8.6.8/8.6.6) with SMTP id JAA21211; Thu, 14 Dec 1995 09:09:34 -0700 Message-Id: <199512141609.JAA21211@clem.systemsix.com> X-Authentication-Warning: clem.systemsix.com: Host localhost didn't use HELO protocol X-Mailer: exmh version 1.6.2 7/18/95 From: Steve Passe To: Adam William Hawks cc: freebsd-ports@freebsd.org Subject: Re: xboard broken? In-reply-to: Your message of "Thu, 14 Dec 1995 01:59:12 EST." <199512140659.BAA01013@pent.vnet.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 14 Dec 1995 09:09:32 -0700 Sender: owner-ports@freebsd.org Precedence: bulk Hi, > I just installed the xboard port and it compiled fine and installed without a problem. > But when I tried to run it it said it couldn't find gnuchessx. I tried a symbolic link > to /usr/games/chess but it didn't like that either. Should this port also build the > gnuchess program? I don't know the answer to this, but I found that gnuchess would coredump quickly when built from the prep.ai.mit distribution. GDB showed ridiculous values appearing in the register variables. To get it to run reliably I had to: 1: remove the -O2 flag ( optimization ) from the makefile 2: remove all "register" references by "#define register " in a header file (I forget which one, no longer have the modified source here). when compiled, one file complains about this because the 'int' was implied (missing) from the register declaration. just modify the header, build, go to the ERROR point, and add 'int' after 'register' and recompile. -- Steve Passe | powered by smp@csn.net | FreeBSD