Mail Archives: cygwin/2003/10/13/22:31:11
Thanks.
I did re-install gcc, with the same result. The log file doesn't
provide any clue either.
Here's the program 'tmp.c'
#include <stdio.h>
int main(int argc, char *argv[])
{
printf("Hello World\n");
}
Here's a run from 'cygcheck':
Cygwin Win95/NT Configuration Diagnostics
Current System Time: Mon Oct 13 19:21:41 2003
Windows NT Ver 4.0 Build 1381 Service Pack 6
Path: D:\cygwin\usr\local\bin
D:\cygwin\bin
D:\cygwin\bin
D:\cygwin\usr\X11R6\bin
c:\Perl\bin\
c:\pine
c:\Perl\bin
c:\mksnt
c:\WINNT\system32
c:\WINNT
c:\EMACS2~1.1\bin
c:\WINNT\system32
c:\WINNT
c:\EMACS2~1.1\bin
d:\ORANT\BIN
d:\Payup\Tools\OpenSSL\openssl-0.9.6\out32dll
c:\Program Files\Rational\common
c:\utty
c:\Cvs
c:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
c:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
c:\Program Files\Microsoft Visual Studio\Common\Tools
c:\Program Files\Microsoft Visual Studio\VC98\bin
c:\CabSDK\bin
c:\inetsdk\bin
d:\Payup\Tools\OpenSSL\openssl-0.9.6\out32dll
Output from D:\cygwin\bin\id.exe (nontsec)
UID: 1000(garg) GID: 513(None)
513(None)
Output from D:\cygwin\bin\id.exe (ntsec)
UID: 1000(garg) GID: 513(None)
513(None) 544(Administrators)
547(Power Users) 545(Users)
SysDir: C:\WINNT\System32
WinDir: C:\WINNT
GCC_EXEC_PREFIX = `c:\cygwin\lib\gcc-lib\ '
HOME = `c:\Garg'
MAKE_MODE = `unix'
PWD = `/cygdrive/c/Garg/CSProjects/ZSCS/swish-e'
USER = `garg'
COMPUTERNAME = `ZEEWIN'
COMSPEC = `C:\WINNT\system32\cmd.exe'
CVS_RSH = `ssh'
HOMEDRIVE = `C:'
HOMEPATH = `\Garg'
HOSTNAME = `zeewin'
INCLUDE = `C:\Program Files\Microsoft Visual Studio\VC98\atl\include;C:\Program
Files\Microsoft Visual Studio\VC98\mfc\include;C:\Program Files\Microsoft Visual
Studio\VC98\include'
INFOPATH =
`/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/sta
ble/info:'
LIB = `C:\Program Files\Microsoft Visual Studio\VC98\mfc\lib;C:\Program
Files\Microsoft Visual
Studio\VC98\lib;C:\perl\lib\core;d:\Payup\Tools\OpenSSL\openssl-0.9.6\out32dll'
LOGONSERVER = `\\ZEEWIN'
MANPATH =
`/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man'
MSDEVDIR = `C:\Program Files\Microsoft Visual Studio\Common\MSDev98'
NUMBER_OF_PROCESSORS = `1'
OLDPWD = `/cygdrive/c/Garg'
OS2LIBPATH = `C:\WINNT\system32\os2\dll;'
OS = `Windows_NT'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE = `x86'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 7 Stepping 2, GenuineIntel'
PROCESSOR_LEVEL = `6'
PROCESSOR_REVISION = `0702'
PROMPT = `$P$G'
PS1 = `\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
ROOTDIR = `C:/'
SHELL = `C:/mksnt/sh.exe'
SHLVL = `1'
SYSTEMDRIVE = `C:'
SYSTEMROOT = `C:\WINNT'
TEMP = `c:\TEMP'
TERM = `cygwin'
TMP = `c:\TEMP'
TMPDIR = `c:\TEMP'
USERDOMAIN = `ZEEWIN'
USERNAME = `garg'
USERPROFILE = `C:\WINNT\Profiles\garg'
WINDIR = `C:\WINNT'
_ = `/usr/bin/cygcheck'
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 = 0x00000022
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start
Menu\&Programs\Cygnus Solutions
(default) = (unsupported type)
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) = `/cygdrive'
cygdrive flags = 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) = `D:\cygwin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) = `D:\cygwin/bin'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) = `D:\cygwin/lib'
flags = 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
a: fd N/A N/A
c: hd NTFS 4016Mb 98% CP CS UN PA FC
d: hd NTFS 4016Mb 71% CP CS UN PA FC Garg's Disk 2
e: fd N/A N/A
f: cd N/A N/A
. /cygdrive user binmode,cygdrive
D:\cygwin / system binmode
D:\cygwin/bin /usr/bin system binmode
D:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: D:\cygwin\bin\awk.exe
Found: c:\mksnt\awk.exe
Warning: D:\cygwin\bin\awk.exe hides c:\mksnt\awk.exe
Found: D:\cygwin\bin\bash.exe
Found: D:\cygwin\bin\cat.exe
Found: c:\mksnt\cat.exe
Warning: D:\cygwin\bin\cat.exe hides c:\mksnt\cat.exe
Found: D:\cygwin\bin\cp.exe
Found: c:\mksnt\cp.exe
Warning: D:\cygwin\bin\cp.exe hides c:\mksnt\cp.exe
Found: D:\cygwin\bin\cpp.exe
Found: D:\cygwin\bin\find.exe
Found: c:\mksnt\find.exe
Warning: D:\cygwin\bin\find.exe hides c:\mksnt\find.exe
Found: D:\cygwin\bin\gcc.exe
Found: D:\cygwin\bin\gdb.exe
Found: D:\cygwin\bin\grep.exe
Found: c:\mksnt\grep.exe
Warning: D:\cygwin\bin\grep.exe hides c:\mksnt\grep.exe
Found: D:\cygwin\bin\ld.exe
Found: D:\cygwin\bin\ls.exe
Found: c:\mksnt\ls.exe
Warning: D:\cygwin\bin\ls.exe hides c:\mksnt\ls.exe
Found: D:\cygwin\bin\make.exe
Found: c:\mksnt\make.exe
Warning: D:\cygwin\bin\make.exe hides c:\mksnt\make.exe
Found: D:\cygwin\bin\mv.exe
Found: c:\mksnt\mv.exe
Warning: D:\cygwin\bin\mv.exe hides c:\mksnt\mv.exe
Found: D:\cygwin\bin\rm.exe
Found: c:\mksnt\rm.exe
Warning: D:\cygwin\bin\rm.exe hides c:\mksnt\rm.exe
Found: D:\cygwin\bin\sed.exe
Found: c:\mksnt\sed.exe
Warning: D:\cygwin\bin\sed.exe hides c:\mksnt\sed.exe
Found: D:\cygwin\bin\sh.exe
Found: c:\mksnt\sh.exe
Warning: D:\cygwin\bin\sh.exe hides c:\mksnt\sh.exe
Found: D:\cygwin\bin\tar.exe
Found: c:\mksnt\tar.exe
Warning: D:\cygwin\bin\tar.exe hides c:\mksnt\tar.exe
61k 2003/08/09 D:\cygwin\bin\cygbz2-1.dll - os=4.0 img=1.0 sys=4.0
"cygbz2-1.dll" v0.0 ts=2003/8/8 23:35
842k 2003/09/30 D:\cygwin\bin\cygcrypto-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygcrypto-0.9.7.dll" v0.0 ts=2003/9/30 9:49
28k 2003/08/11 D:\cygwin\bin\cygcygipc-2.dll - os=4.0 img=1.0 sys=4.0
"cygcygipc-2.dll" v0.0 ts=2003/8/10 17:54
380k 2002/07/24 D:\cygwin\bin\cygdb-3.1.dll - os=4.0 img=1.0 sys=4.0
"cygdb-3.1.dll" v0.0 ts=2002/7/24 9:24
487k 2002/07/24 D:\cygwin\bin\cygdb_cxx-3.1.dll - os=4.0 img=1.0 sys=4.0
"cygdb_cxx-3.1.dll" v0.0 ts=2002/7/24 9:25
132k 2003/07/12 D:\cygwin\bin\cygexpat-0.dll - os=4.0 img=1.0 sys=4.0
"cygexpat-0.dll" v0.0 ts=2003/7/12 4:33
45k 2001/04/25 D:\cygwin\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0
"cygform5.dll" v0.0 ts=2001/4/24 22:28
35k 2002/01/09 D:\cygwin\bin\cygform6.dll - os=4.0 img=1.0 sys=4.0
"cygform6.dll" v0.0 ts=2002/1/8 22:03
48k 2003/08/09 D:\cygwin\bin\cygform7.dll - os=4.0 img=1.0 sys=4.0
"cygform7.dll" v0.0 ts=2003/8/9 2:25
28k 2003/07/20 D:\cygwin\bin\cyggdbm-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-3.dll" v0.0 ts=2003/7/20 0:58
30k 2003/08/11 D:\cygwin\bin\cyggdbm-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm-4.dll" v0.0 ts=2003/8/10 19:12
19k 2003/03/22 D:\cygwin\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm.dll" v0.0 ts=2002/2/19 19:05
15k 2003/07/20 D:\cygwin\bin\cyggdbm_compat-3.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-3.dll" v0.0 ts=2003/7/20 1:00
15k 2003/08/11 D:\cygwin\bin\cyggdbm_compat-4.dll - os=4.0 img=1.0 sys=4.0
"cyggdbm_compat-4.dll" v0.0 ts=2003/8/10 19:13
69k 2003/08/10 D:\cygwin\bin\cyggettextlib-0-12-1.dll - os=4.0 img=1.0 sys=4.0
"cyggettextlib-0-12-1.dll" v0.0 ts=2003/8/10 15:10
12k 2003/08/10 D:\cygwin\bin\cyggettextpo-0.dll - os=4.0 img=1.0 sys=4.0
"cyggettextpo-0.dll" v0.0 ts=2003/8/10 15:11
134k 2003/08/10 D:\cygwin\bin\cyggettextsrc-0-12-1.dll - os=4.0 img=1.0 sys=4.0
"cyggettextsrc-0-12-1.dll" v0.0 ts=2003/8/10 15:10
17k 2001/06/28 D:\cygwin\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0
"cyghistory4.dll" v0.0 ts=2001/1/6 20:34
29k 2003/08/10 D:\cygwin\bin\cyghistory5.dll - os=4.0 img=1.0 sys=4.0
"cyghistory5.dll" v0.0 ts=2003/8/10 16:16
958k 2003/08/10 D:\cygwin\bin\cygiconv-2.dll - os=4.0 img=1.0 sys=4.0
"cygiconv-2.dll" v0.0 ts=2003/8/10 13:57
22k 2001/12/13 D:\cygwin\bin\cygintl-1.dll - os=4.0 img=1.0 sys=4.0
"cygintl-1.dll" v0.0 ts=2001/12/13 1:28
37k 2003/08/10 D:\cygwin\bin\cygintl-2.dll - os=4.0 img=1.0 sys=4.0
"cygintl-2.dll" v0.0 ts=2003/8/10 14:50
26k 2001/04/25 D:\cygwin\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0
"cygmenu5.dll" v0.0 ts=2001/4/24 22:27
20k 2002/01/09 D:\cygwin\bin\cygmenu6.dll - os=4.0 img=1.0 sys=4.0
"cygmenu6.dll" v0.0 ts=2002/1/8 22:03
29k 2003/08/09 D:\cygwin\bin\cygmenu7.dll - os=4.0 img=1.0 sys=4.0
"cygmenu7.dll" v0.0 ts=2003/8/9 2:25
156k 2001/04/25 D:\cygwin\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++5.dll" v0.0 ts=2001/4/24 22:29
175k 2002/01/09 D:\cygwin\bin\cygncurses++6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses++6.dll" v0.0 ts=2002/1/8 22:03
226k 2001/04/25 D:\cygwin\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0
"cygncurses5.dll" v0.0 ts=2001/4/24 22:17
202k 2002/01/09 D:\cygwin\bin\cygncurses6.dll - os=4.0 img=1.0 sys=4.0
"cygncurses6.dll" v0.0 ts=2002/1/8 22:03
224k 2003/08/09 D:\cygwin\bin\cygncurses7.dll - os=4.0 img=1.0 sys=4.0
"cygncurses7.dll" v0.0 ts=2003/8/9 2:24
15k 2001/04/25 D:\cygwin\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0
"cygpanel5.dll" v0.0 ts=2001/4/24 22:27
12k 2002/01/09 D:\cygwin\bin\cygpanel6.dll - os=4.0 img=1.0 sys=4.0
"cygpanel6.dll" v0.0 ts=2002/1/8 22:03
19k 2003/08/09 D:\cygwin\bin\cygpanel7.dll - os=4.0 img=1.0 sys=4.0
"cygpanel7.dll" v0.0 ts=2003/8/9 2:24
67k 2003/09/10 D:\cygwin\bin\cygpcre-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcre-0.dll" v0.0 ts=2003/9/10 7:25
63k 2003/04/11 D:\cygwin\bin\cygpcre.dll - os=4.0 img=1.0 sys=4.0
"cygpcre.dll" v0.0 ts=2003/4/11 1:31
15k 2003/09/10 D:\cygwin\bin\cygpcreposix-0.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix-0.dll" v0.0 ts=2003/9/10 7:25
61k 2003/04/11 D:\cygwin\bin\cygpcreposix.dll - os=4.0 img=1.0 sys=4.0
"cygpcreposix.dll" v0.0 ts=2003/4/11 1:31
22k 2002/06/09 D:\cygwin\bin\cygpopt-0.dll - os=4.0 img=1.0 sys=4.0
"cygpopt-0.dll" v0.0 ts=2002/6/8 22:45
108k 2001/06/28 D:\cygwin\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0
"cygreadline4.dll" v0.0 ts=2001/1/6 20:34
148k 2003/08/10 D:\cygwin\bin\cygreadline5.dll - os=4.0 img=1.0 sys=4.0
"cygreadline5.dll" v0.0 ts=2003/8/10 16:16
171k 2003/09/30 D:\cygwin\bin\cygssl-0.9.7.dll - os=4.0 img=1.0 sys=4.0
"cygssl-0.9.7.dll" v0.0 ts=2003/9/30 9:49
60k 2003/08/09 D:\cygwin\bin\cygz.dll - os=4.0 img=1.0 sys=4.0
"cygz.dll" v0.0 ts=2003/8/8 23:28
949k 2003/09/20 D:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2003/9/20 13:31
Cygwin DLL version info:
DLL version: 1.5.5
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 94
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: Sat Sep 20 16:31:15 EDT 2003
CVS tag: cr-0x9b
Shared id: cygwin1S3
Cygwin Package Information
Last downloaded files to: D:\downloads
Last downloaded files from: ftp://ftp.nas.nasa.gov/mirrors/cygwin.com/pub/cygwin
Package Version
_update-info-dir 00221-1
ash 20031007-1
base-files 2.6-1
base-passwd 1.1-1
bash 2.05b-15
binutils 20030901-1
bzip2 1.0.2-5
clear 1.0-1
cygipc 2.01-2
cygwin 1.5.5-1
diff 0.0
diffutils 2.8.4-1
editrights 1.01-1
expat 1.95.6-2
fileutils 4.1-2
findutils 4.1.7-4
flex 2.5.4a-3
gawk 3.1.3-3
gcc 3.3.1-2
gcc-mingw 20030911-3
gdb 20030919-1
gdbm 1.8.3-7
grep 2.5-1
groff 1.18.1-2
gzip 1.3.5-1
less 381-1
libbz2_1 1.0.2-5
libdb3.1 3.1.17-2
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libgettextpo0 0.12.1-3
libiconv2 1.9.1-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libpcre 4.1-1
libpcre0 4.4-2
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
login 1.9-7
make 3.80-1
man 1.5j-2
mingw-runtime 3.2-1
mktemp 1.5-3
ncurses 5.3-4
openssl 0.9.7c-1
patch 2.5.8-8
postgresql 7.3.4-2
python 2.3.2-1
readline 4.3-5
sed 4.0.7-3
sh-utils 2.0.15-4
tar 1.13.25-3
tcltk 20030901-1
termcap 20021106-2
terminfo 5.3_20030726-1
texinfo 4.2-4
textutils 2.0.21-1
time 1.7-1
w32api 2.4-1
which 1.5-2
zlib 1.1.4-4
Use -h to see help about each section
> -----Original Message-----
> From: Larry Hall [mailto:cygwin-lh AT cygwin DOT com]
> Sent: Monday, October 13, 2003 7:12 PM
> To: gargp AT acm DOT org; cygwin AT cygwin DOT com
> Subject: Re: Trouble compiling with gcc 3.3.1-2
>
>
> At 10:34 PM 10/13/2003, Pankaj K Garg you wrote:
> >I'm having the following trouble compiling
> >even the simplest programs with gcc:
> >
> >$ gcc tmp.c
> >/usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/libgcc.a(w32-shared-ptr
> .o)(.text+0x189):
> >undefined reference to `_pthread_atfork'
> >collect2: ld returned 1 exit status
> >
> >The gcc version we are using is:
> >$ gcc -v
> >Reading specs from /usr/lib/gcc-lib/i686-pc-cygwin/3.3.1/specs
> >Configured with: /netrel/src/gcc-3.3.1-2/configure
> --enable-languages=c,c++,f77,
> >java --enable-libgcj --enable-threads=posix
> --with-system-zlib --enable-nls --wi
> >thout-included-gettext --enable-interpreter
> --enable-sjlj-exceptions --disable-v
> >ersion-specific-runtime-libs --enable-shared
> --build=i686-pc-linux --host=i686-p
> >c-cygwin --target=i686-pc-cygwin --prefix=/usr
> --exec-prefix=/usr --sysconfdir=/
> >etc --libdir=/usr/lib --includedir=/nonexistent/include
> --libexecdir=/usr/sbin
> >Thread model: posix
> >gcc version 3.3.1 (cygming special)
> >
> >Will appreciate any suggestions.
>
>
> OK, sometimes persistence pays off (the rest of the time it
> just p*sses
> people off ;-) )
>
> If the installation of gcc and friends didn't work the first time, I
> suggest you reinstall. But before you do that, I'd first recommend
> you review /var/log/setup.log* to see if there's any hint there as to
> why the installation didn't work the first time. If this and/or the
> reinstallation doesn't help, read
<http://cygwin.com/problems.html> and
provide the information requested before sending any follow-up message
to the list. In particular, you should provide the "simple program".
--
Larry Hall http://www.rfk.com
RFK Partners, Inc. (508) 893-9779 - RFK Office
838 Washington Street (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -