delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/11/07/10:15:24

X-Spam-Check-By: sourceware.org
Reply-To: <narayanav AT jataayusoft DOT com>
From: "Narayana V.V.L" <narayanav AT jataayusoft DOT com>
To: <cygwin AT cygwin DOT com>
Subject: 1.5.21: Problem building C application in Cygwin(with checkout file attached)
Date: Tue, 7 Nov 2006 20:17:31 +0530
Message-ID: <EBEGLEKHPDMHDFCGCNLOEEHGCDAA.narayanav@jataayusoft.com>
MIME-Version: 1.0
X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0)
In-Reply-To: <EBEGLEKHPDMHDFCGCNLOAEHGCDAA.narayanav@jataayusoft.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

------=_NextPart_000_0006_01C702A9.C11054B0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit

Hi,

I have installed Cygwin on my system (WinXP). I have an written a sample
application in Visual Studio 2005. When I try to build(compile) this
application in cygwin using VC8 compiler & make file it fails.
But the same application builds with VC8 when built in windows command
prompt.
Any help in setting up of the Visual Studio settings in Cygwin would be
appreciated.

thank you

Narayana

------=_NextPart_000_0006_01C702A9.C11054B0
Content-Type: application/octet-stream;
	name="cygcheck.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
	filename="cygcheck.out"


Cygwin Configuration Diagnostics
Current System Time: Tue Nov 07 14:38:41 2006

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:	C:\cygwin\usr\local\bin
	C:\cygwin\bin
	C:\cygwin\bin
	c:\Perl\bin
	c:\WINDOWS\system32
	c:\WINDOWS
	c:\WINDOWS\System32\Wbem
	c:\Program Files\Microsoft SQL Server\90\Tools\binn\
	c:\Perl\bin
	C
	d:\Program Files\Microsoft Visual Studio 8\VC\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1003(NPCIL)    GID: 513(None)
0(root)             513(None)           544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1003(NPCIL)    GID: 513(None)
0(root)             513(None)           544(Administrators) 545(Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER =3D 'NPCIL'
PWD =3D '/cygdrive/d/Certicom_original/sb/sb3.2-shrouded_source'
HOME =3D '/home/NPCIL'
MAKE_MODE =3D 'unix'

HOMEPATH =3D '\Documents and Settings\NPCIL'
APPDATA =3D 'C:\Documents and Settings\NPCIL\Application Data'
HOSTNAME =3D 'jataayu-narayana'
TERM =3D 'cygwin'
PROCESSOR_IDENTIFIER =3D 'x86 Family 15 Model 4 Stepping 1, GenuineIntel'
WINDIR =3D 'C:\WINDOWS'
VS80COMNTOOLS =3D 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools=
\'
OLDPWD =3D '/'
USERDOMAIN =3D 'JATAAYU-NARAYAN'
OS =3D 'Windows_NT'
GAIMLANG =3D 'hi'
ALLUSERSPROFILE =3D 'C:\Documents and Settings\All Users'
TEMP =3D '/cygdrive/c/DOCUME~1/NPCIL/LOCALS~1/Temp'
COMMONPROGRAMFILES =3D 'C:\Program Files\Common Files'
USERNAME =3D 'NPCIL'
PROCESSOR_LEVEL =3D '15'
FP_NO_HOST_CHECK =3D 'NO'
SYSTEMDRIVE =3D 'C:'
USERPROFILE =3D 'C:\Documents and Settings\NPCIL'
PS1 =3D '\[\033]0;\w\007
\033[32m\]\u@\h \[\033[33m\w\033[0m\]
$ '
LOGONSERVER =3D '\\JATAAYU-NARAYAN'
PROCESSOR_ARCHITECTURE =3D 'x86'
!C: =3D 'C:\cygwin\bin'
SHLVL =3D '1'
PATHEXT =3D '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE =3D 'C:'
PROMPT =3D '$P$G'
COMSPEC =3D 'C:\WINDOWS\system32\cmd.exe'
TMP =3D '/cygdrive/c/DOCUME~1/NPCIL/LOCALS~1/Temp'
SYSTEMROOT =3D 'C:\WINDOWS'
CVS_RSH =3D '/bin/ssh'
PROCESSOR_REVISION =3D '0401'
PROGRAMFILES =3D 'C:\Program Files'
NUMBER_OF_PROCESSORS =3D '2'
SESSIONNAME =3D 'Console'
COMPUTERNAME =3D 'JATAAYU-NARAYAN'
_ =3D '/usr/bin/cygcheck'
POSIXLY_CORRECT =3D '1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) =3D '/cygdrive'
  cygdrive flags =3D 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) =3D 'C:\cygwin'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) =3D 'C:\cygwin/bin'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) =3D 'C:\cygwin/lib'
  flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS     39997Mb  41% CP CS UN PA FC     Local Disk
d:  hd  NTFS     36310Mb  63% CP CS UN PA FC=20=20=20=20=20
e:  cd             N/A    N/A=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20

C:\cygwin      /          system  binmode
C:\cygwin/bin  /usr/bin   system  binmode
C:\cygwin/lib  /usr/lib   system  binmode
.              /cygdrive  system  binmode,cygdrive

Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Found: C:\cygwin\bin\cpp.exe
Not Found: crontab
Found: C:\cygwin\bin\find.exe
Found: C:\cygwin\bin\gcc.exe
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Found: C:\cygwin\bin\kill.exe
Found: C:\cygwin\bin\ld.exe
Found: C:\cygwin\bin\ls.exe
Found: C:\cygwin\bin\make.exe
Found: C:\cygwin\bin\mv.exe
Not Found: patch
Found: C:\cygwin\bin\perl.exe
Found: c:\Perl\bin\perl.exe
Warning: C:\cygwin\bin\perl.exe hides c:\Perl\bin\perl.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Not Found: ssh
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
Found: C:\cygwin\bin\test.exe
Not Found: vi
Not Found: vim

   56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygbz2-1.dll" v0.0 ts=3D2005/7/9 10:39
    7k 2006/10/22 C:\cygwin\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygcharset-1.dll" v0.0 ts=3D2006/10/23 5:13
    7k 2003/10/19 C:\cygwin\bin\cygcrypt-0.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygcrypt-0.dll" v0.0 ts=3D2003/10/19 13:27
  895k 2004/04/28 C:\cygwin\bin\cygdb-4.2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygdb-4.2.dll" v0.0 ts=3D2004/4/27 21:01
  965k 2005/05/14 C:\cygwin\bin\cygdb-4.3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygdb-4.3.dll" v0.0 ts=3D2005/5/14 18:07
 1156k 2004/04/28 C:\cygwin\bin\cygdb_cxx-4.2.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygdb_cxx-4.2.dll" v0.0 ts=3D2004/4/27 21:05
 1240k 2005/05/14 C:\cygwin\bin\cygdb_cxx-4.3.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygdb_cxx-4.3.dll" v0.0 ts=3D2005/5/14 18:11
  174k 2004/10/14 C:\cygwin\bin\cygexpat-0.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygexpat-0.dll" v0.0 ts=3D2004/10/14 14:04
   40k 2006/03/24 C:\cygwin\bin\cygform-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform-8.dll" v0.0 ts=3D2006/3/24 12:46
   45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform5.dll" v0.0 ts=3D2001/4/25 10:58
   35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform6.dll" v0.0 ts=3D2002/1/9 11:33
   48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygform7.dll" v0.0 ts=3D2003/8/9 14:55
   28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm-3.dll" v0.0 ts=3D2003/7/20 13:28
   30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm-4.dll" v0.0 ts=3D2003/8/11 7:42
   19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cyggdbm.dll" v0.0 ts=3D2002/2/20 8:35
   15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=3D4.0 img=3D1.0 s=
ys=3D4.0
                  "cyggdbm_compat-3.dll" v0.0 ts=3D2003/7/20 13:30
   15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=3D4.0 img=3D1.0 s=
ys=3D4.0
                  "cyggdbm_compat-4.dll" v0.0 ts=3D2003/8/11 7:43
   17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory4.dll" v0.0 ts=3D2001/1/7 10:04
   29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory5.dll" v0.0 ts=3D2003/8/11 4:46
   24k 2006/03/25 C:\cygwin\bin\cyghistory6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cyghistory6.dll" v0.0 ts=3D2006/3/25 19:35
  976k 2006/10/22 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygiconv-2.dll" v0.0 ts=3D2006/10/23 5:14
   22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-1.dll" v0.0 ts=3D2001/12/13 14:58
   37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-2.dll" v0.0 ts=3D2003/8/11 3:20
   31k 2005/11/20 C:\cygwin\bin\cygintl-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-3.dll" v0.0 ts=3D2005/11/20 7:34
   31k 2006/10/23 C:\cygwin\bin\cygintl-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl-8.dll" v0.0 ts=3D2006/10/23 5:42
   21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygintl.dll" v0.0 ts=3D2001/6/20 22:39
   21k 2006/03/24 C:\cygwin\bin\cygmenu-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu-8.dll" v0.0 ts=3D2006/3/24 12:46
   26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu5.dll" v0.0 ts=3D2001/4/25 10:57
   20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu6.dll" v0.0 ts=3D2002/1/9 11:33
   29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygmenu7.dll" v0.0 ts=3D2003/8/9 14:55
   67k 2006/03/24 C:\cygwin\bin\cygncurses++-8.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++-8.dll" v0.0 ts=3D2006/3/24 12:47
  156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++5.dll" v0.0 ts=3D2001/4/25 10:59
  175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses++6.dll" v0.0 ts=3D2002/1/9 11:33
  227k 2006/03/24 C:\cygwin\bin\cygncurses-8.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygncurses-8.dll" v0.0 ts=3D2006/3/24 10:21
  226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses5.dll" v0.0 ts=3D2001/4/25 10:47
  202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses6.dll" v0.0 ts=3D2002/1/9 11:33
  224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
                  "cygncurses7.dll" v0.0 ts=3D2003/8/9 14:54
   12k 2006/03/24 C:\cygwin\bin\cygpanel-8.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygpanel-8.dll" v0.0 ts=3D2006/3/24 12:46
   15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel5.dll" v0.0 ts=3D2001/4/25 10:57
   12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel6.dll" v0.0 ts=3D2002/1/9 11:33
   19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpanel7.dll" v0.0 ts=3D2003/8/9 14:54
  109k 2006/02/10 C:\cygwin\bin\cygpcre-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpcre-0.dll" v0.0 ts=3D2006/2/10 8:07
  299k 2006/02/10 C:\cygwin\bin\cygpcrecpp-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygpcrecpp-0.dll" v0.0 ts=3D2006/2/10 8:08
    7k 2006/02/10 C:\cygwin\bin\cygpcreposix-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygpcreposix-0.dll" v0.0 ts=3D2006/2/10 8:07
 1249k 2005/12/30 C:\cygwin\bin\cygperl5_8.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
                  "cygperl5_8.dll" v0.0 ts=3D2005/12/30 7:18
   22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygpopt-0.dll" v0.0 ts=3D2002/6/9 11:15
  108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline4.dll" v0.0 ts=3D2001/1/7 10:04
  148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline5.dll" v0.0 ts=3D2003/8/11 4:46
  152k 2006/03/25 C:\cygwin\bin\cygreadline6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
                  "cygreadline6.dll" v0.0 ts=3D2006/3/25 19:35
   65k 2006/10/16 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygz.dll" v0.0 ts=3D2006/10/16 6:40
 1831k 2006/07/30 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
                  "cygwin1.dll" v0.0 ts=3D2006/7/30 23:51
    Cygwin DLL version info:
        DLL version: 1.5.21
        DLL epoch: 19
        DLL bad signal mask: 19005
        DLL old termios: 5
        DLL malloc env: 28
        API major: 0
        API minor: 156
        Shared data: 4
        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:=20
        Build date: Sun Jul 30 14:21:47 EDT 2006
        Shared id: cygwin1S4


Can't find the cygrunsrv utility, skipping services check.


Cygwin Package Information
Last downloaded files to: D:\Installables\cygwin_setup
Last downloaded files from: ftp://ftp.iitm.ac.in/cygwin

Package                 Version
_update-info-dir        00450-1
alternatives            1.3.29a-1
ash                     20040127-3
base-files              3.7-1
base-passwd             2.2-1
bash                    3.1-9
binutils                20060817-1
bzip2                   1.0.3-1
cmake                   2.4.3-1
coreutils               6.4-1
crypt                   1.1-1
cygutils                1.3.0-1
cygwin                  1.5.21-2
cygwin-doc              1.4-4
diffutils               2.8.7-1
editrights              1.01-1
expat                   1.95.8-1
fileutils               4.1-3
findutils               4.3.1-2
gawk                    3.1.5-4
gcc-core                3.4.4-1
gcc-mingw-core          20050522-1
gdbm                    1.8.3-7
grep                    2.5.1a-2
groff                   1.18.1-2
gzip                    1.3.5-2
less                    381-1
libbz2_1                1.0.3-1
libcharset1             1.11-1
libdb4.2                4.2.52-1
libdb4.3                4.3.28-1
libgdbm                 1.8.0-5
libgdbm-devel           1.8.3-7
libgdbm3                1.8.3-3
libgdbm4                1.8.3-7
libiconv                1.11-1
libiconv2               1.11-1
libintl                 0.10.38-3
libintl1                0.10.40-1
libintl2                0.12.1-3
libintl3                0.14.5-1
libintl8                0.15-1
libncurses-devel        5.5-2
libncurses5             5.2-1
libncurses6             5.2-8
libncurses7             5.3-4
libncurses8             5.5-2
libpcre0                6.6-1
libpopt0                1.6.4-4
libreadline4            4.1-2
libreadline5            4.3-5
libreadline6            5.1-5
login                   1.9-7
make                    3.81-1
man                     1.5p-1
mingw-runtime           3.10-1
mktemp                  1.5-3
ncurses                 5.5-2
pcre                    6.6-1
perl                    5.8.7-5
perl-ExtUtils-Depends   0.205-1
perl-ExtUtils-PkgConfig 1.07-1
pkg-config              0.20-1
pkgconfig               0.17.2-3
readline                5.1-5
run                     1.1.10-1
sed                     4.1.5-2
sh-utils                2.0.15-5
tar                     1.16-1
tcltk                   20060202-1
termcap                 20050421-1
terminfo                5.5_20060323-1
texinfo                 4.8-3
textutils               2.0.21-2
w32api                  3.7-1
which                   1.7-1
zlib                    1.2.3-2
Use -h to see help about each section


------=_NextPart_000_0006_01C702A9.C11054B0
Content-Type: text/plain; charset=us-ascii

--
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/
------=_NextPart_000_0006_01C702A9.C11054B0--


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019