cygwin 1.1.2: undefined reference to `setlinebuf'

Chris Faylor cgf@cygnus.com
Thu Jun 8 20:23:00 GMT 2000


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@sourceware.cygnus.com



More information about the Cygwin mailing list