Subject: GDB core dump support for cygwin gives compilation failure!
From: Pierre Muller <[email-masked]>
To: [email-masked], Egor Duda <[email-masked]>
Cc: Chris Faylor <[email-masked]>
Date: Tue, 29 Aug 2000 10:19:42 +0200

I can't compile GDB for cygwin anymore apparently since this 'core dump
support' patch .

muller@LAOCOON ~/gdb/src/gdb
$ make
gcc -c -g -O2    -I. -I. -I./config -DHAVE_CONFIG_H -I./../include/opcode
-I./..
/readline/.. -I../bfd -I./../bfd  -I./../include -I../intl -I./../intl
-Wimplic
it -Wreturn-type -Wcomment -Wtrigraphs -Wformat -Wparentheses
-Wpointer-arith -W
uninitialized  win32-nat.c
win32-nat.c:63: sys/procfs.h: No such file or directory
make: *** [win32-nat.o] Error 1

I don't have a sys/procfs.h header in my includes !!
I installed it using the latest GUI setup program,
isn't that enough to be able to compile the GDB on CVS ??
What is missing in my installation ?

Output of 'cygcheck -s -v' is :

Cygnus Win95/NT Configuration Diagnostics
Current System Time: Tue Aug 29 09:53:32 2000
Win95 Ver 4.0 build 67109975  B
Path:	/usr/bin
	/usr/bin
	/usr/local/bin
	/usr/local/bin
	/usr/bin
	/usr/bin
	/usr/bin
	/USR/LOCAL/BIN
	/cygdrive/c/WINDOWS
	/cygdrive/c/WINDOWS/COMMAND
	/cygdrive/c/BAT
	/cygdrive/c/CVS/BIN
	/cygdrive/d/DJGPP/BIN
SysDir: C:\WINDOWS\SYSTEM
WinDir: C:\WINDOWS
HOME = `/home/muller'
MAKE_MODE = `unix'
PWD = `/home/muller/gdb/src/gdb'
USER = `muller'
!C: = `C:\WINDOWS'
!D: = `D:\cygwin\home\muller'
CMDLINE = `bash --login'
COMSPEC = `C:\COMMAND.COM'
CVSROOT = `:ext:[email-masked]:/cvs/src'
CVS_RSH = `ssh'
HOSTNAME = `LAOCOON'
HOSTTYPE = `i586'
LSCK = `d:\djgpp\lsck'
MACHTYPE = `i586-pc-cygwin'
OLDPWD = `/home/muller'
OSTYPE = `cygwin'
PROMPT = `$p$g'
PS1 = `]0;\w
[32m\u@\h [33m\w[0m
$ '
SHELL = `/bin/sh'
SHLVL = `1'
TEMP = `/cygdrive/c/WINDOWS/TEMP'
TERM = `cygwin'
WINBOOTDIR = `C:\WINDOWS'
WINDIR = `C:\WINDOWS'
_ = `/bin/cygcheck'
TZ = `HPM-1HPM-2,M3.5.0/2,M10.5.0/3'
Use `-r' to scan registry
a:  fd           N/A    N/A                    
c:  hd  FAT32   2003Mb  85% CP    UN           PEARL
d:  hd  FAT32   4869Mb  66% CP    UN           DISK_D
e:  cd  CDFS     565Mb 100% CP                 WIN95B_FRN
d:\cygwin\bin  /usr/bin  user    binmode
d:\cygwin\lib  /usr/lib  user    binmode
d:\djgpp\gnu  /usr/src/gnu  user    textmode
d:\cygwin  /        user    binmode
d:\cvs  /usr/local/cvs  user    textmode
Found: d:\cygwin\bin\bash.exe
Found: d:\DJGPP\BIN\bash.exe
Warning: d:\cygwin\bin\bash.exe hides d:\DJGPP\BIN\bash.exe
Found: \bin\bash.exe
Warning: d:\cygwin\bin\bash.exe hides \bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\DJGPP\BIN\cat.exe
Warning: d:\cygwin\bin\cat.exe hides d:\DJGPP\BIN\cat.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\DJGPP\BIN\cpp.exe
Warning: d:\cygwin\bin\cpp.exe hides d:\DJGPP\BIN\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: c:\WINDOWS\COMMAND\find.exe
Warning: d:\cygwin\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe
Found: d:\DJGPP\BIN\find.exe
Warning: d:\cygwin\bin\find.exe hides d:\DJGPP\BIN\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\DJGPP\BIN\gcc.exe
Warning: d:\cygwin\bin\gcc.exe hides d:\DJGPP\BIN\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: c:\CVS\BIN\gdb.exe
Warning: d:\cygwin\bin\gdb.exe hides c:\CVS\BIN\gdb.exe
Found: d:\DJGPP\BIN\gdb.exe
Warning: d:\cygwin\bin\gdb.exe hides d:\DJGPP\BIN\gdb.exe
Found: d:\cygwin\bin\ld.exe
Found: c:\CVS\BIN\ld.exe
Warning: d:\cygwin\bin\ld.exe hides c:\CVS\BIN\ld.exe
Found: d:\DJGPP\BIN\ld.exe
Warning: d:\cygwin\bin\ld.exe hides d:\DJGPP\BIN\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\DJGPP\BIN\ls.exe
Warning: d:\cygwin\bin\ls.exe hides d:\DJGPP\BIN\ls.exe
Found: d:\cygwin\bin\make.exe
Found: c:\CVS\BIN\make.exe
Warning: d:\cygwin\bin\make.exe hides c:\CVS\BIN\make.exe
Found: d:\DJGPP\BIN\make.exe
Warning: d:\cygwin\bin\make.exe hides d:\DJGPP\BIN\make.exe
Found: d:\cygwin\bin\sh.exe
Found: d:\DJGPP\BIN\sh.exe
Warning: d:\cygwin\bin\sh.exe hides d:\DJGPP\BIN\sh.exe
Found: \bin\sh.exe
Warning: d:\cygwin\bin\sh.exe hides \bin\sh.exe
   83k 2000/06/11 d:\cygwin\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=2000/6/11 5:34
   35k 2000/06/11 d:\cygwin\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=2000/6/11 5:34
  402k 2000/06/11 d:\cygwin\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=2000/6/11 5:30
    5k 2000/06/11 d:\cygwin\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 2000/06/11 d:\cygwin\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=2000/6/11 5:30
  639k 2000/06/11 d:\cygwin\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=2000/6/11 5:34
  605k 2000/06/07 d:\cygwin\bin\cygwin1.beta.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/6/6 6:33
  586k 2000/08/04 d:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=2000/8/4 2:53
    Cygwin DLL version info:
        dll major: 1001
        dll minor: 4
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        api major: 0
        api minor: 26
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        build date: Thu Aug 3 20:53:46 EDT 2000
        CVS tag: cygwin-1-1-4
        shared id: cygwin1S3
  396k 1999/08/25 c:\CVS\BIN\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtcl80.dll" v0.0 ts=1999/8/25 9:06
    5k 1999/08/25 c:\CVS\BIN\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
   10k 1999/08/25 c:\CVS\BIN\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtclreg80.dll" v0.0 ts=1999/8/25 9:06
   83k 1999/08/25 c:\CVS\BIN\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitcl30.dll" v0.0 ts=1999/8/25 9:09
   35k 1999/08/25 c:\CVS\BIN\cygitk30.dll - os=4.0 img=1.0 sys=4.0
                  "cygitk30.dll" v0.0 ts=1999/8/25 9:10
  637k 1999/08/25 c:\CVS\BIN\cygtk80.dll - os=4.0 img=1.0 sys=4.0
                  "cygtk80.dll" v0.0 ts=1999/8/25 9:09
  451k 1999/10/06 c:\CVS\BIN\CYGWIN1.DLL - os=4.0 img=1.0 sys=4.0
                  "cygwin1.dll" v0.0 ts=1999/1/16 6:09
Use -h to see help about each section

Pierre Muller
Institut Charles Sadron
6,rue Boussingault
F 67083 STRASBOURG CEDEX (France)
mailto:[email-masked]
Phone : (33)-3-88-41-40-07  Fax : (33)-3-88-41-40-99

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