Subject: cygwin 1.1.2: undefined reference to `setlinebuf'
From: Jason Fu <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Fri, 9 Jun 2000 10:51:24 +0800 (CST)

To whom it may concern,

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
=================================================

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

Thanks.

Jason Fu

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Fri Jun 09 10:00:11 2000

WinNT Ver 5.0 build 2195 

Path:   /cygdrive/c/Perl/bin/
        /cygdrive/c/WINNT/system32
        /cygdrive/c/WINNT
        /cygdrive/c/WINNT/System32/Wbem
        /cygdrive/c/program
files/devstudio/sharedide/bin/ide
        /cygdrive/c/program
files/devstudio/sharedide/bin
        /cygdrive/c/program files/devstudio/vc/bin
        path
        /usr/bin
        /usr/local/bin
        .

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `/cygdrive/c/usr/local/home/tsfu'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/usr/local/home/tsfu'

!:: = `::\'
ALLUSERSPROFILE = `C:\Documents and Settings\All
Users'
APPDATA = `C:\Documents and Settings\tsfu\Application
Data'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
COMPUTERNAME = `NT151'
COMSPEC = `C:\WINNT\system32\cmd.exe'
HOMEDRIVE = `C:'
HOMEPATH = `\'
HOSTNAME = `NT151'
HOSTTYPE = `i686'
INCLUDE = `c:\program
files\devstudio\vc\include;c:\program
files\devstudio\vc\atl\include;c:\program
files\devstudio\vc\mfc\include;%include%'
LIB = `c:\program files\devstudio\vc\lib;c:\program
files\devstudio\vc\mfc\lib;%lib%'
LOGONSERVER = `\\NT151'
MACHTYPE = `i686-pc-cygwin'
MSDEVDIR = `C:\Program Files\DevStudio\SharedIDE'
NUMBER_OF_PROCESSORS = `1'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
OSTYPE = `cygwin'
PATHEXT =
`.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 5 Stepping
2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0502'
PROGRAMFILES = `C:\Program Files'
SHELL = `/bin/sh'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `C:\DOCUME~1\tsfu\LOCALS~1\Temp'
TERM = `cygwin'
TMP = `C:\DOCUME~1\tsfu\LOCALS~1\Temp'
USERDOMAIN = `NT151'
USERNAME = `tsfu'
USERPROFILE = `C:\Documents and Settings\tsfu'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck.exe'
TZ = `CST-8'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x00000020
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\mounts v2\/
  (default) = `C:\cygwin\'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `C:\cygwin\bin'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `C:\cygwin\lib'
  flags = 0x00000002
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\mounts v2\c:/usr
  (default) = `usr'
  flags = 0x00000000
HKEY_CURRENT_USER\Software\Cygnus
Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\00
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\01
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\02
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\03
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\04
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\05
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\06
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\07
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\08
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\09
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0D
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0E
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\0F
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\10
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\11
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\12
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\13
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\14
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\15
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\16
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\17
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\18
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\19
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1A
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1B
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1C
HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL
setup\b15.0\mounts\1D
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\Programs\Cygnus Solutions
  (default) = (unsupported type)

a:  fd           N/A    N/A                    
c:  hd  NTFS    4104Mb  65% CP CS UN PA FC     
d:  cd           N/A    N/A                    
f:  net NTFS    6112Mb  76% CP CS UN PA FC     
h:  net NTFS   34305Mb  93% CP CS UN PA FC     
i:  net NTFS   34305Mb  93% CP CS UN PA FC     
j:  net NTFS   34305Mb  93% CP CS UN PA FC     
k:  net NTFS   34305Mb  93% CP CS UN PA FC     
l:  net NTFS   34305Mb  93% CP CS UN PA FC     
m:  net NTFS   34305Mb  93% CP CS UN PA FC     
n:  net NTFS    4044Mb  92% CP CS UN PA FC     
o:  net NTFS   22497Mb  62% CP CS UN PA FC     
p:  net NTFS   22497Mb  62% CP CS UN PA FC     
r:  net NTFS    5000Mb  83% CP CS UN PA FC     
t:  net NTFS    5000Mb  83% CP CS UN PA FC     

C:\cygwin\bin  /usr/bin  user    binmode
C:\cygwin\lib  /usr/lib  user    binmode
C:\cygwin  /        user    binmode

Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cpp.exe
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Found: C:\cygwin\bin\gdb.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\sh.exe

  115k 1999/09/14 C:\cygwin\bin\cygitcl30.dll - os=4.0
img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=1999/9/14
10:46
   63k 1999/09/14 C:\cygwin\bin\cygitk30.dll - os=4.0
img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=1999/9/14
10:47
  474k 1999/09/14 C:\cygwin\bin\cygtcl80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1999/9/14
10:31
   19k 1999/09/14 C:\cygwin\bin\cygtclpip80.dll -
os=4.0 img=1.0 sys=4.0
   24k 1999/09/14 C:\cygwin\bin\cygtclreg80.dll -
os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1999/9/14
10:31
  768k 1999/09/14 C:\cygwin\bin\cygtk80.dll - os=4.0
img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1999/9/14
10:36
  601k 2000/05/10 C:\cygwin\bin\cygwin1.dll - os=4.0
img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/4/19 7:11
Use -h to see help about each section

_________________________________________________________
Do You Yahoo!?
登記免費的 @yahoo.com 中文電子郵件 @ http://chinese.mail.yahoo.com
Get your free @yahoo.com address at http://chinese.mail.yahoo.com

--
Want to unsubscribe from this list?
Send a message to [email-masked]