This is the mail archive of the mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cygwin 1.1.2: undefined reference to `setlinebuf'

*IMPERITIVE* /usr/bin must be *first* in the list for PATH.

Secondly, you need to upgrade to 1.1.2.

*NOTE* None of this may fix your problem, but it is a *must* to do.

--- Jason Fu <> wrote:
> To whom it may concern,
> When I tried to compile the knightcap chess demo
> downloaded from the
> site:
>, 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
> =================================================
> I compiled the demo through NT Emacs 20.6.1 with
> latest libcygipc.a and
> my system is checked by cygcheck.exe -s -v -r

   Earnie Boyd: <>
            __Cygwin: POSIX on Windows__
Cygwin Newbies: <>
           __Minimalist GNU for Windows__
  Mingw32 List: <>
    Mingw Home: <>

Do You Yahoo!?
Yahoo! Photos -- now, 100 FREE prints!

Want to unsubscribe from this list?
Send a message to

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]