🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #3986

Re: Compiling GNU Chess on HP/UX 10.10

#3986
From: Tim Mann
Date: Tue, 09 Jul 1996 00:00
30 lines
1527 bytes
In article <31E1606C.64BF@mipos2.intel.com>, Hank Pham <hpham@mipos2.intel.com> writes:
>I have another problem when compiling on the HP/UP platform.  When I run
>make to build
>gnuchess, it gives me this error message:
>
>/bin/ld: Unsatisfied symbols:
>   setlinebuf (code)
>collect2: ld terminated with signal 11 , core dumped
>*** Error code 1

I think this means you are not using the latest version of GNU Chess.
Get gnuchess-4.0.pl77.tar.gz from prep.ai.mit.edu and try again.

I did notice a small bug relating to this area in pl77, but it will
cause a different symptom: setlinebuf will not be used even if your
system *does* have it.  Instead, setbuf(stdout, NULL) is used if you
don't have setvbuf.  The fix is to change the following lines in
configure.in and rerun autoconf.  (I tested this with autoconf 2.7).

FROM:
AC_CHECK_FUNCS(setvbuf)
if test "HAVE_SETVBUF" = no ; then
  AC_CHECK_FUNCS(setlinebuf)
fi

TO:    
AC_CHECK_FUNCS(setvbuf setlinebuf, break)

	--Tim
Technical Details
Message-ID: <4ru5an$i7n@src-news.pa.dec.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <DtMCKF.54F@on.bell.ca> <31E1606C.64BF@mipos2.intel.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,ab536a92f20abfa8
X-Google-Attributes: gid10d71d,public
From: mann@pa.dec.com (Tim Mann)
Subject: Re: Compiling GNU Chess on HP/UX 10.10
Date: 1996/07/09
Message-ID: <4ru5an$i7n@src-news.pa.dec.com>
X-Deja-AN: 167413970
references: <DtMCKF.54F@on.bell.ca> <31E1606C.64BF@mipos2.intel.com>
to: Hank Pham <hpham@mipos2.intel.com>
organization: Digital Equipment Corp., Systems Research Center
reply-to: mann@pa.dec.com
newsgroups: gnu.chess