Subject: Re: Problem running gcc
From: Christopher Faylor <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Wed, 3 Jan 2001 15:51:52 -0500

On Wed, Jan 03, 2001 at 02:46:20PM -0600, Tim Bolshakov wrote:
>Hi!
>I download latest cygwin installation today and try to compile very simple
>example like the
>"creating relocatable dll". Suprisingly gcc does not work.
>Here is error report from the gcc:
>------------------------------------------------
>$ gcc -c fixup.c
>D:\GNU\lib\gcc-lib\i686-pc-cygwin\2.95.2-6\cpp.exe: *** conflicting versions
>of cygwin1.dll detected.  Use only the most recent version.
>
>      0 [unknown (0x150)] ? 0 lpfu: void pinfo::record_death (int):374
>having problems getting lock
>-----------------------------------------------
>Here is cygcheck.out file:
>-----------------------------------------------

What is surprising about this, exactly?  The error message indicates that
you have conflicting versions of cygwin and the 'cygcheck' output shows
that you have an old version in c:\winnt\system.

Delete the old version.

cgf

>Cygnus Win95/NT Configuration Diagnostics
>Current System Time: Wed Jan  3 14:14:40 2001
>
>WinNT Ver 4.0 build 1381 Service Pack 5
>
>Path: /usr/local/bin
> /usr/bin
> /bin
> /cygdrive/d/Perl/bin
> /c/WINNT/system32
> /c/WINNT
> /cygdrive/d/jdk1.2/bin
> .
>
>SysDir: C:\WINNT\System32
>WinDir: C:\WINNT
>
>PWD = `/home/tbolsh/cryotst'
>USER = `tbolsh'
>MAKE_MODE = `unix'
>HOME = `/home/tbolsh'
>
>NUMBER_OF_PROCESSORS = `1'
>PROMPT = `$P$G'
>LOGONSERVER = `\\BEAMS-BDC'
>OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
>COMSPEC = `C:\WINNT\system32\cmd.exe'
>!C: = `C:\WINNT\Profiles\tbolsh\Desktop'
>SYSTEMDRIVE = `C:'
>HOSTNAME = `IRENE'
>PROCESSOR_REVISION = `0703'
>!D: = `D:\GNU\bin'
>PATHEXT = `.COM;.EXE;.BAT;.CMD'
>COMPUTERNAME = `IRENE'
>JAVA_COMPCMD = `STA'
>CLASSPATH =
>`.;j:\;j:\gov\fnal\controls\tools\errors\hb14r.jar;d:\jdk1.2\lib\tools.jar;d
>:\jdk1.2\jre\lib\rt.jar;d:\jdk1.2\jre\lib\jaws.jar;d:\jdk1.2\jre\lib\i18n.ja
>r;\\Beamssrv1\apps\Windows\eXceed
>6.1\hcljrcsv.jar;\\Beamssrv1\apps\Windows\eXceed 6.1\;'
>WINDIR = `C:\WINNT'
>USERPROFILE = `C:\WINNT\Profiles\tbolsh'
>PS1 = `\[\033]0;\w\007
>\033[32m\]\u@\h \[\033[33m\w\033[0m\]
>$ '
>HOMESHARE = `\\beamssrv1\tbolsh'
>MSINPUT = `C:\Program Files\Microsoft Hardware'
>MACHTYPE = `i686-pc-cygwin'
>PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 3, GenuineIntel'
>OS = `Windows_NT'
>OLDPWD = `/src/gzip'
>PROCESSOR_ARCHITECTURE = `x86'
>TEMP = `/c/TEMP'
>PROCESSOR_LEVEL = `6'
>SYSTEMROOT = `C:\WINNT'
>HOMEDRIVE = `Z:'
>SHLVL = `1'
>GROUP = `controls.bd'
>HOMEPATH = `\'
>USERDOMAIN = `BEAMS'
>USERNAME = `tbolsh'
>SHELL = `/bin/sh'
>HOSTTYPE = `i686'
>OSTYPE = `cygwin'
>TERM = `cygwin'
>_ = `/usr/bin/cygcheck'
>TZ = `CST6CDT5,M4.1.0/2,M10.5.0/2'
>
>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) = `D:\GNU'
>  flags = 0x00000000
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/c
>  (default) = `c:'
>  flags = 0x00000000
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
>  (default) = `D:/GNU/bin'
>  flags = 0x00000000
>HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
>  (default) = `D:/GNU/lib'
>  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
>
>a:  fd           N/A    N/A
>c:  hd  NTFS    2047Mb  87% CP CS UN PA FC     System and Boot
>d:  hd  NTFS   11021Mb  28% CP CS UN PA FC     Applications
>e:  cd           N/A    N/A
>f:  net          N/A    N/A
>j:  net NTFS   60741Mb  91% CP CS UN PA FC     groups
>y:  net NTFS   60741Mb  91% CP CS UN PA FC     groups
>z:  net NTFS   208377Mb  57% CP CS UN PA FC     users
>
>D:\GNU\bin  /usr/bin  user    textmode
>D:\GNU\lib  /usr/lib  user    textmode
>D:\GNU  /        user    textmode
>c:    /c       user    textmode
>
>Found: D:\GNU\bin\bash.exe
>Found: D:\GNU\bin\cat.exe
>Found: D:\GNU\bin\cpp.exe
>Found: D:\GNU\bin\find.exe
>Found: D:\GNU\bin\gcc.exe
>Found: D:\GNU\bin\gdb.exe
>Found: D:\GNU\bin\ld.exe
>Found: D:\GNU\bin\ls.exe
>Found: D:\GNU\bin\make.exe
>Found: D:\GNU\bin\sh.exe
>
>  587k 2000/03/01 C:\WINNT\SYSTEM\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                  "cygwin1.dll" v0.0 ts=2000/2/29 23:15
>    Cygwin DLL version info:
>        dll major: 1001
>        dll minor: 0
>        dll epoch: 19
>        dll bad signal mask: 19005
>        dll old termios: 00005
>        api major: 0
>        api minor: 17
>        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: Wed Mar 1 00:15:19 EST 2000
>        snapshot date: 2000-02-29-23:55-EST
>        shared id: cygwin1S3-2000-03-01 00:15:19
>
>   56k 2000/12/03 D:\GNU\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0
>                  "cygbz21.0.dll" v0.0 ts=2000/11/20 17:53
>   45k 2000/12/07 D:\GNU\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
>                  "cygform5.dll" v0.0 ts=2000/12/7 0:41
>   18k 2000/10/23 D:\GNU\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
>                  "cyggdbm.dll" v0.0 ts=2000/10/22 21:26
>   17k 2000/11/30 D:\GNU\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
>                  "cyghistory4.dll" v0.0 ts=2000/11/29 20:28
>   14k 2000/10/23 D:\GNU\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0
>                  "cygintl.dll" v0.0 ts=2000/10/23 14:02
>   81k 2000/12/05 D:\GNU\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0
>                  "cygitcl30.dll" v0.0 ts=2000/11/25 19:43
>   35k 2000/12/05 D:\GNU\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0
>                  "cygitk30.dll" v0.0 ts=2000/11/25 19:43
>   45k 2000/10/22 D:\GNU\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0
>                  "cygjbig1.dll" v0.0 ts=2000/10/22 18:06
>  119k 2000/10/23 D:\GNU\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0
>                  "cygjpeg6b.dll" v0.0 ts=2000/10/22 19:58
>   26k 2000/12/07 D:\GNU\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
>                  "cygmenu5.dll" v0.0 ts=2000/12/7 0:40
>  159k 2000/12/07 D:\GNU\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
>                  "cygncurses++5.dll" v0.0 ts=2000/12/7 0:42
>  225k 2000/12/07 D:\GNU\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
>                  "cygncurses5.dll" v0.0 ts=2000/12/7 0:39
>   15k 2000/12/07 D:\GNU\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
>                  "cygpanel5.dll" v0.0 ts=2000/12/7 0:40
>  162k 2000/10/23 D:\GNU\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0
>                  "cygpng2.dll" v0.0 ts=2000/10/22 19:40
>  108k 2000/11/30 D:\GNU\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
>                  "cygreadline4.dll" v0.0 ts=2000/11/29 20:28
>  390k 2000/12/05 D:\GNU\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0
>                  "cygtcl80.dll" v0.0 ts=2000/11/25 19:39
>    5k 2000/12/05 D:\GNU\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0
>   10k 2000/12/05 D:\GNU\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0
>                  "cygtclreg80.dll" v0.0 ts=2000/11/25 19:39
>  243k 2000/10/23 D:\GNU\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0
>                  "cygtiff3.dll" v0.0 ts=2000/10/22 20:14
>  623k 2000/12/05 D:\GNU\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0
>                  "cygtk80.dll" v0.0 ts=2000/11/25 19:43
>   41k 2000/11/20 D:\GNU\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0
>                  "cygXpm-noX4.dll" v0.0 ts=2000/11/19 20:41
>   45k 2000/11/20 D:\GNU\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0
>                  "cygXpm-X4.dll" v0.0 ts=2000/11/19 20:45
>   49k 2000/10/23 D:\GNU\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
>                  "cygz.dll" v0.0 ts=2000/10/22 19:22
>  611k 2000/12/25 D:\GNU\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
>                  "cygwin1.dll" v0.0 ts=2000/12/25 11:39
>    Cygwin DLL version info:
>        dll major: 1001
>        dll minor: 7
>        dll epoch: 19
>        dll bad signal mask: 19005
>        dll old termios: 5
>        dll malloc env: 28
>        api major: 0
>        api minor: 31
>        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
>        cygdrive flags: cygdrive flags
>        cygdrive prefix: cygdrive prefix
>        cygdrive default prefix:
>        build date: Mon Dec 25 12:39:48 EST 2000
>        shared id: cygwin1S3
>
>Use -h to see help about each section
>----------------------------------------------------------------------------
>-----------------------------
>Glad to hear some news from you. I suppose that my problem have to be
>relativly easy to solve.
>
>Sincerelly,
>
>Tim Bolshakov
>
>
>
>--
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple

-- 
[email-masked]                        Red Hat, Inc.
http://sources.redhat.com/            http://www.redhat.com/

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple