Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Thu, 8 Jun 2000 23:22:58 -0400 To: cygwin AT sourceware DOT cygnus DOT com Subject: Re: cygwin 1.1.2: undefined reference to `setlinebuf' Message-ID: <20000608232258.A18854@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com References: <20000609025124 DOT 3922 DOT qmail AT web1004 DOT mail DOT yahoo DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <20000609025124.3922.qmail@web1004.mail.yahoo.com>; from jason_tsfu@yahoo.com on Fri, Jun 09, 2000 at 10:51:24AM +0800 On Fri, Jun 09, 2000 at 10:51:24AM +0800, Jason Fu wrote: >When I tried to compile the knightcap chess demo downloaded from the >site: ftp://samba.anu.edu.au/pub/KnightCap/, I came across the >following: > >================================================= >cd c:/usr/local/home/tsfu/wintel_gl/KnightCap/Export/ >make -k >mv KnightCap KnightCap.old >mv: KnightCap: No such file or directory >make: [KnightCap] Error 1 (ignored) >gcc -o KnightCap knightcap.o trackball.o move.o util.o generate.o >eval.o movement.o ordering.o hash.o board.o log.o prog.o timer.o ics.o >display.o testsuite.o brain.o td.o tactics.o epd.o epdglue.o >-L/usr/local/lib -I/usr/local/include -lm -lcygipc >ics.o(.text+0x7ed):ics.c: undefined reference to `setlinebuf' collect2: >ld returned 1 exit status >make: *** [KnightCap] Error 1 > >Compilation exited abnormally with code 2 at Fri Jun 09 09:47:28 >================================================= It's pretty simple. Cygwin does not have a setlinebuf() function. Sorry. We don't guarantee that every function available for every UNIX platform is available in Cygwin. cgf -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com