Re: Deterministic builds
On 2016-05-04 13:38, Ken Brown wrote: > Is it possible to build an executable on Cygwin so that subsequent > builds (with no change in source) produce identical results? Currently, > the timestamp embedded in executables prevents this. (I don't know if > that's the only obstacle.) '-fno-guess-branch-probability' removes one potential obstacle: https://lists.debian.org/debian-devel/2005/02/msg01154.html I don't know if there are other obstacles than these. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: subversion 1.9.3-1 segfault
On 2016-02-19 16:28, David Rothenberger wrote: > Greg Chicares wrote: [...] >> /lmi/mirror/lmi[1]$svn update >> Updating '.': >> zsh: segmentation fault (core dumped) svn update [...non-helpful stackdump...] >> I'll try running 'svn' under 'gdb'. Is there anything else I can do to help? > > That's the only other thing I can think of. If you can catch the > segfault and get a backtrace, I may be able to track it down. Thanks. The problem is no longer occurring. Let me state what I know for the record in case it helps someone else someday. This seems to be a heisenbug. When I ran it under gdb, repeatedly, it refused to segfault. Outside gdb, with subversion-debuginfo installed, I was unable to get a useful stackdump. The problem has occurred only when gnu.org's svn server is slow: on one isolated occasion a week or two ago, and throughout today. And today there seems to have been a DDOS attack on gnu.org: https://savannah.gnu.org/support/?108973 While the problem lasted, sometimes I got one or both of these messages: svn: E170013: Unable to connect to a repository svn: E175012: Connection timed out and sometimes svn segfaulted with no message. I tried the same operations on my debian-7 ("wheezy") system with its older svn-1.6.17, where I got timeouts but no segfault. My real problem was the gnu.org server. I can only conjecture that attempting to work with a server under extreme load causes svn-1.9.3-1 to follow some exceptional code path that attempts to report a diagnostic and in doing so sometimes crashes. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: subversion 1.9.3-1 segfault
On 2016-02-13 18:41, David Rothenberger wrote: > On 2/9/2016 9:39 AM, Greg Chicares wrote: >> 'svn' segfaulted on a routine command: >> >> /lmi/mirror/lmi[0]$svn status --show-updates >> >> svn: E170013: Unable to connect to a repository at URL >> 'http://svn.savannah.nongnu.org/svn/lmi/lmi/trunk' >> svn: E000104: Error running context: Connection reset by peer >> svn update >> Updating '.': >> zsh: segmentation fault (core dumped) >> >> The command worked as expected when I reran it (after 'svn cleanup'): > [snip] >> >> It's working now, and I can't reproduce the problem, but I thought >> I should report it anyway. I've attached cygcheck -s -v -r output >> and copied 'svn.exe.stackdump' below. >> >> Exception: STATUS_ACCESS_VIOLATION at eip= >> eax=200C61B8 ebx=200A8DE8 ecx=0022C39C edx= esi= edi=0011 >> ebp=200C01A0 esp=0022C35C program=C:\cygwin-lmi\bin\svn.exe, pid 1736, >> thread main >> cs=001B ds=0023 es=0023 fs=003B gs= ss=0023 >> Stack trace: >> Frame Function Args >> 200C01A0 (, , 6C1D5580, 200A0E90) >> 200A8DE8 (0002, 200A8DE8, 2009EDC0, 200AAEC8) >> 2009F5D8 (6C701180, 6C701160, , 2009F978) >> 2009EDC0 2009F628 (, 20052794, 200AAF00, ) >> 20052790 200C81B8 (2004D788, 200430F4, , 20052C08) >> 200430F0 2009EDC0 (2003EF00, 20038D6C, 20054CB0, ) >> 20038D68 20052790 (, , 20038E88, ) > > I wasn't able to get any useful information out of the stack trace. > Running addr2line does not show any functions. I'm not sure if this is > because you don't have the subversion-debuginfo package installed. I > would suggest you install this in case it makes a difference and the > failure happens again. I've installed 'subversion-debuginfo' and rebooted. After working okay for a few days, 'svn' is now segfaulting again. A coworker who did a brand-new Cygwin installation on a new machine yesterday reports 'svn' failing for her too, also with a stackdump. Here's my failing command: /lmi/mirror/lmi[1]$svn update Updating '.': zsh: segmentation fault (core dumped) svn update (The last line means that 'zsh' caught the segfault, not that zsh crashed.) Today's stackdump looks much the same to me as last week's: Exception: STATUS_ACCESS_VIOLATION at eip= eax=200C6268 ebx=200A8E98 ecx=0022C39C edx= esi= edi=0011 ebp=200C0250 esp=0022C35C program=C:\cygwin-lmi\bin\svn.exe, pid 1164, thread main cs=001B ds=0023 es=0023 fs=003B gs= ss=0023 Stack trace: Frame Function Args 200C0250 (, , 6C1D5580, 200A0F40) 200A8E98 (0002, 200A8E98, 2009EE70, 200AAF78) 2009F688 (6C701180, 6C701160, , 2009FA28) 2009EE70 2009F6D8 (, 20052794, 200AAFB0, ) 20052790 200C8268 (2004D788, 200430F4, , 20052C08) 200430F0 2009EE70 (2003EF00, 20038D6C, 20054CB0, ) 20038D68 20052790 (, , 20038E88, ) End of stack trace ...and I don't see any useful information from 'addr2line': $addr2line -e /usr/bin/svn 0x200c0250 0x2009ee70 0x2009f6d8 ??:0 ??:0 ??:0 Attached is fresh 'cygcheck' output. I'll try running 'svn' under 'gdb'. Is there anything else I can do to help? Cygwin Configuration Diagnostics Current System Time: Fri Feb 19 15:07:13 2016 Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 Path: C:\opt\lmi\local\bin C:\opt\lmi\local\lib C:\cygwin-lmi\usr\local\bin C:\cygwin-lmi\bin C:\cygwin-lmi\bin C:\cygwin-lmi\usr\sbin C:\cygwin-lmi\sbin C:\cygwin-lmi\usr\local\bin C:\cygwin-lmi\bin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Program Files\Support Tools C:\BC5\BIN Output from C:\cygwin-lmi\bin\id.exe UID: 197611(earl) GID: 197121(None) 197121(None)544(Administrators) 545(Users) 4(INTERACTIVE) 11(Authenticated Users) 4095(CurrentSession) 66048(LOCAL) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = '/home/earl' PWD = '/home/earl' USER = 'earl' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' APPDATA = 'C:\Documents and Settings\earl\Application Data' CLIENTNAME = 'Console' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' COMPUTERNAME = 'ILUVATAR' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Documents and Settings\earl' LOGONSERVER = '\\ILUVATAR' NUMBER_OF_PROCESSORS = '8' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = 'x86' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 42 Stepping 1, GenuineIntel' PROCESSOR_LEVEL = '6' PROCESSOR_REVISI
Re: subversion 1.9.3-1 segfault
On 02/09/2016 08:55 PM, Andrey Repin wrote: > Greetings, Greg Chicares! > >> 'svn' segfaulted on a routine command: > >> zsh: segmentation fault (core dumped) > > So, was it svn or zsh that crashed? It was svn that crashed. I was running it in zsh, which trapped the segfault and printed this: zsh: segmentation fault (core dumped) Usually, zsh prints the failed command at the end of that message, as in this session: $bash -c 'inf() { inf; }; inf' zsh: segmentation fault (core dumped) bash -c 'inf() { inf; }; inf' but in this case it did not, and the omission does make the message potentially confusing. But the stackdump contains: program=C:\cygwin-lmi\bin\svn.exe, pid 1736, thread main so it's surely svn that crashed. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
subversion 1.9.3-1 segfault
'svn' segfaulted on a routine command: /lmi/mirror/lmi[0]$svn status --show-updates svn: E170013: Unable to connect to a repository at URL 'http://svn.savannah.nongnu.org/svn/lmi/lmi/trunk' svn: E000104: Error running context: Connection reset by peer svn update Updating '.': zsh: segmentation fault (core dumped) The command worked as expected when I reran it (after 'svn cleanup'): /lmi/mirror/lmi[0]$svn update svn: E155004: Run 'svn cleanup' to remove locks (type 'svn help cleanup' for details) svn: E155004: Working copy '/lmi/mirror/lmi' locked. svn: E155004: '/lmi/mirror/lmi' is already locked. /lmi/mirror/lmi[1]$svn cleanup /lmi/mirror/lmi[0]$svn update Updating '.': At revision 6500. It's working now, and I can't reproduce the problem, but I thought I should report it anyway. I've attached cygcheck -s -v -r output and copied 'svn.exe.stackdump' below. Exception: STATUS_ACCESS_VIOLATION at eip= eax=200C61B8 ebx=200A8DE8 ecx=0022C39C edx= esi= edi=0011 ebp=200C01A0 esp=0022C35C program=C:\cygwin-lmi\bin\svn.exe, pid 1736, thread main cs=001B ds=0023 es=0023 fs=003B gs= ss=0023 Stack trace: Frame Function Args 200C01A0 (, , 6C1D5580, 200A0E90) 200A8DE8 (0002, 200A8DE8, 2009EDC0, 200AAEC8) 2009F5D8 (6C701180, 6C701160, , 2009F978) 2009EDC0 2009F628 (, 20052794, 200AAF00, ) 20052790 200C81B8 (2004D788, 200430F4, , 20052C08) 200430F0 2009EDC0 (2003EF00, 20038D6C, 20054CB0, ) 20038D68 20052790 (, , 20038E88, ) End of stack trace Cygwin Configuration Diagnostics Current System Time: Tue Feb 09 17:14:18 2016 Windows XP Professional Ver 5.1 Build 2600 Service Pack 3 Path: C:\opt\lmi\local\bin C:\opt\lmi\local\lib C:\cygwin-lmi\usr\local\bin C:\cygwin-lmi\bin C:\cygwin-lmi\bin C:\cygwin-lmi\usr\sbin C:\cygwin-lmi\sbin C:\cygwin-lmi\usr\local\bin C:\cygwin-lmi\bin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Program Files\Support Tools C:\BC5\BIN Output from C:\cygwin-lmi\bin\id.exe UID: 197611(earl) GID: 197121(None) 197121(None)544(Administrators) 545(Users) 4(INTERACTIVE) 11(Authenticated Users) 4095(CurrentSession) 66048(LOCAL) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = '/home/earl' PWD = '/home/earl' USER = 'earl' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' APPDATA = 'C:\Documents and Settings\earl\Application Data' CLIENTNAME = 'Console' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' COMPUTERNAME = 'ILUVATAR' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' FP_NO_HOST_CHECK = 'NO' HOMEDRIVE = 'C:' HOMEPATH = '\Documents and Settings\earl' LOGONSERVER = '\\ILUVATAR' NUMBER_OF_PROCESSORS = '8' OS = 'Windows_NT' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PROCESSOR_ARCHITECTURE = 'x86' PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 42 Stepping 1, GenuineIntel' PROCESSOR_LEVEL = '6' PROCESSOR_REVISION = '2a01' PROGRAMFILES = 'C:\Program Files' SESSIONNAME = 'Console' SYSTEMDRIVE = 'C:' SYSTEMROOT = 'C:\WINDOWS' USERDOMAIN = 'ILUVATAR' USERNAME = 'earl' USERPROFILE = 'C:\Documents and Settings\earl' WINDIR = 'C:\WINDOWS' TERM = 'xterm' LOGNAME = 'earl' SHLVL = '1' OLDPWD = '/usr/bin' LANG = 'en_US.UTF-8' TZ = 'UCT' SHELL = '/bin/zsh' PROFILEREAD = 'true' ORIGINAL_PATH = '/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program Files/Support Tools:/cygdrive/c/BC5/BIN' INFOPATH = '/usr/local/info:/usr/share/info:/usr/info' TMP = '/tmp' TEMP = '/tmp' HOSTNAME = 'iluvatar' PS1 = '%m%# ' coefficiency = '--jobs=6 --output-sync=recurse' LC_COLLATE = 'C.UTF-8' _ = '/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygwin (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations (default) = '\??\C:\cygwin-lmi' HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup (default) = 'C:/cygwin-lmi' obcaseinsensitive set to 1 Cygwin installations found in the registry: System: Key: 18c9af28b2eb9e16 Path: C:\cygwin-lmi c: hd NTFS 12276Mb 86% CP CS UN PA FC d: cd N/AN/A C:\opt\lmi\MinGW-4_9_1 /MinGW_ userbinary C:\cache_for_lmi/cache_for_lmi userbinary C:\lmi /lmiuserbinary C:\opt\lmi /opt/lmiuserbinary C:\cygwin-lmi / system binary,auto C:\cygwin-lmi\bin /usr/binsystem binary,auto C:\cygwin-lmi\lib /usr/libsystem binary,auto cygdrive prefix /cygdrive
Re: cygwin make fails when calling mkdir in Windows 7
On 2013-01-04 16:34Z, cpow wrote: [...] Warren Young wrote What happens if you just re-start the make operation? Does it persist in failing to get past that point, or does re-starting it sometimes get you past the problem? If I restart the make operation without doing mkdir myself it fails in exactly the same spot. Restarting it without doing mkdir myself never gets past the problem. Judging from the error message in your original post: make[1]: *** No rule to make target `path`, needed by `rule`. Stop. it doesn't sound like 'mkdir' is failing--rather, it sounds like 'make' can't figure out what command is needed to create 'path'. Can you post the rule that's intended to do that? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: grep and the -f switch
On 2012-11-26 19:08Z, Roy Jensen wrote: I've created a text file (in Windows) with the text patterns I wish to search for. Using the -f switch, grep only searches for the last pattern in the file. If there is a blank line at the end, grep finds nothing. grep -a -A 4 -f pattern.txt my.file output.txt In case the file of patterns contains a carriage return, try: d2u pattern.txt then repeat the 'grep' command. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: running .bat file in cygwin
On 2012-07-11 16:26Z, emon wrote: Can anyone suggest me how I can run this .bat file at cygwin or refer me to a site. Since you've decided to start using Cygwin, the best advice is probably to write it as a shell script instead. There are many tutorials on the web. But if you really want to use a batch file...make sure it's executable, then just run it--for example: /tmp[0]$cat eraseme.bat \EOF echo Hello from batch file EOF /tmp[0]$chmod +x eraseme.bat /tmp[0]$./eraseme.bat C:\cygwin-1_7\tmpecho Hello from batch file Hello from batch file -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: program restarts itself automatically when run from Cygwin shell
On 2012-06-06 22:19Z, jjo wrote: Oftentimes, when I start my command line launched console application from Cygwin it runs through to the end and then it restarts itself from the beginning without any intervention on my part. Perhaps it's because of 'proc_retry', described here: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html and a program that doesn't return an explicit value 65535: http://cygwin.com/ml/cygwin-xfree/2007-05/msg00071.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: i686-pc-mingw32-gcc 4.5.2 and static linking libstdc++-6?
On 2012-06-01 17:29Z, Dennis Isenhour wrote: i686-pc-mingw32-gcc: unrecognized option '-static-libstdc++' What if you use i686-pc-mingw32-g++ instead of i686-pc-mingw32-gcc? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Username and Computer Name
On 2012-05-14 21:19Z, m...@kalani.com wrote: I am installing cygwin on a new computer and I was told that the green username@computername ' is supposed to be hidden, and that I somehow installed Cygwin improperly. That's a normal part of the default bash prompt. (Perhaps your employer would prefer that you remove it?) Could someone please explain how to hide or setup cygwin properly to not show this? Run 'man bash' and look for PS1. Remove the '\u@\h' part. To make the change permanent, set your own PS1 in '~/.bash_profile'. This isn't cygwin specific, so you can google for more details. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.11: Ctrl-C does not work in bash shell (Win7)
On 2012-04-03 18:17Z, Spackmann, Richard M. wrote: [...Ctrl-C handling...] If so, when is the next cygwin bug release due out? I am running Windows 7 and just upgraded to 1.7.11 1.7.12 was released today, and the announcement: http://cygwin.com/ml/cygwin/2012-04/msg00082.html mentions a change in Ctrl-C handling. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: parallel installations of cygwin
On 2012-03-16 11:09Z, DEWI - N. Zacharias wrote: [...] For me this sound like it is no problem to install the 1.7 version along with the 1.5 if I use a different directory as root. I've installed both in parallel, in 2012, following these instructions: http://cygwin.com/ml/cygwin/2009-05/msg00166.html | | To install a 1.7 release in parallel to a 1.5 release, all you have | to do is to choose another root directory (for instance: C:\cygwin-1.7) | in setup-1.7's Choose Installation Directory dialog. | | * NOTE: Due to the way setup-1.7 works, you have to change the directory | * right the first time you visit this dialog! If you pressed the Next | * button and then Back again, it's already too late and setup-1.7 will | * create a broken 1.7 install. If you pressed Next by mistake, exit | * setup-1.7 and start it again. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: How to revert to older Cygwin1 dll?
[Reformatted--see: http://cygwin.com/acronyms/#PCYMTWLL ] On 2012-02-29 12:52Z, Leo wrote: As mentioned in another thread bash with the new cygwin1.dll version 1.7.11-1 does not work properly when invoke by NT emacs. It did work before, so I would like to revert to an older version of the cygwin1.dll. How can I do this? And is there a way to revert the other packages so that they are compatible with the older cygwin1 all? That's generally not supported. You could try the Cygwin Time Machine (google for it). Alternatively, if Cygwin 1.5 meets your needs: http://www.cygwin.com/win-9x.html (you can install it alongside 1.7), or try MSYS. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup 2.761 regression: '--quiet-mode' conflicts with '--packages'
On 2011-12-22 18:08Z, Jon TURNEY wrote: On 12/21/2011 12:15 PM, Greg Chicares wrote: It appears that some recent change to setup.exe has unintentionally made '--quiet-mode' incompatible with '--packages' for command-line installs. [...] I've uploaded a snapshot of setup including this fix at [1], perhaps you could try it out and see if that resolves your problem [1] http://cygwin.com/setup/snapshots/setup-2.762.exe That snapshot fixes the problem and works just great for me. Thanks. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
setup 2.761 regression: '--quiet-mode' conflicts with '--packages'
It appears that some recent change to setup.exe has unintentionally made '--quiet-mode' incompatible with '--packages' for command-line installs. A similar problem was reported here: http://sourceware.org/ml/cygwin/2011-12/msg00244.html Using current setup.exe version 2.761, this no longer works (although it still works with setup.exe version 2.738 from a few months ago): setup-2.761.exe --quiet-mode --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 --packages cvs That command takes only about one second, and the local subdirectory for downloads contains only setup.ini . According to setup.log.full (which is only about 4K), setup.bz2 is downloaded; then it says: Added manual package cvs Changing gid back to original Visited: 0 nodes out of 1948 while creating dependency order. Dependency order of packages: Changing gid to Administrators Ending cygwin install If '--quiet-mode' isn't given, then everything works (and cvs is installed from '--packages'): setup-2.761.exe --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 --packages cvs ...so that's a workaround, but '--quiet-mode' is much nicer for scripted installation. If '--packages' isn't given, then the base system is installed correctly: setup-2.761.exe --quiet-mode --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 ...but, even after the base system has been installed, rerunning the original command: setup-2.761.exe --quiet-mode --site ftp://mirror.mcs.anl.gov/pub/cygwin/ --root C:/cygwin-1_7 --packages cvs doesn't install cvs. The resulting setup.log.full says Visited: 50 nodes out of 1948 while creating dependency order. but the Dependency order of packages list doesn't contain cvs. I've saved setup.log.full from each of the four attempts above in case further information from them is wanted. Cygwin Configuration Diagnostics Current System Time: Wed Dec 21 18:02:59 2011 Windows XP Home Edition Ver 5.1 Build 2600 Service Pack 3 Path: C:\cygwin-1_7\usr\local\bin C:\cygwin-1_7\bin C:\WINDOWS\system32 C:\WINDOWS C:\WINDOWS\System32\Wbem C:\Program Files\ATI Technologies\ATI Control Panel C:\PROGRA~1\COMMON~1\SONICS~1 Output from C:\cygwin-1_7\bin\id.exe UID: 1007(Snowy)GID: 513(None) 513(None) 0(root) 544(Administrators) 545(Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS USER = 'Snowy' PWD = '/home/Snowy' HOME = '/home/Snowy' HOMEPATH = '\Documents and Settings\Snowy' MANPATH = '/usr/local/man:/usr/share/man:/usr/man:' APPDATA = 'C:\Documents and Settings\Snowy\Application Data' HOSTNAME = 'Snowy' TERM = 'cygwin' PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 3 Stepping 4, GenuineIntel' WINDIR = 'C:\WINDOWS' OLDPWD = '/usr/bin' USERDOMAIN = 'SNOWY' OS = 'Windows_NT' ALLUSERSPROFILE = 'C:\Documents and Settings\All Users' TEMP = '/tmp' COMMONPROGRAMFILES = 'C:\Program Files\Common Files' USERNAME = 'Snowy' PROCESSOR_LEVEL = '15' FP_NO_HOST_CHECK = 'NO' SYSTEMDRIVE = 'C:' LANG = 'C.UTF-8' USERPROFILE = 'C:\Documents and Settings\Snowy' CLIENTNAME = 'Console' PS1 = '\[\e]0;\w\a\]\n\[\e[32m\]\u@\h \[\e[33m\]\w\[\e[0m\]\n\$ ' LOGONSERVER = '\\SNOWY' PROCESSOR_ARCHITECTURE = 'x86' !C: = 'C:\cygwin-1_7\bin' SHLVL = '1' PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' HOMEDRIVE = 'C:' PROMPT = '$P$G' COMSPEC = 'C:\WINDOWS\system32\cmd.exe' TMP = '/tmp' SYSTEMROOT = 'C:\WINDOWS' PROCESSOR_REVISION = '0304' INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:' PROGRAMFILES = 'C:\Program Files' NUMBER_OF_PROCESSORS = '2' SESSIONNAME = 'Console' COMPUTERNAME = 'SNOWY' _ = '/usr/bin/cygcheck' 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_CURRENT_USER\Software\Cygwin HKEY_CURRENT_USER\Software\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygwin\setup HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\Programs\Cygwin (default) = (unsupported type) HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2 (default) = '/cygdrive' cygdrive flags = 0x0022 HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/ (default) = 'C:/cygwin-1_5' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = 'C:/cygwin-1_5/bin' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = 'C:/cygwin-1_5/lib' flags = 0x000a HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Installations (default) = '\??\C:\cygwin-1_7' HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\Program Options HKEY_LOCAL_MACHINE\SOFTWARE\Cygwin\setup (default) = 'C:/cygwin-1_7'
Re: Starting Z-shell via telnet connection to XP box
On 2011-12-09 15:31Z, Mike Brown wrote: I found no section in the user guide regarding converting from 1.5 to 1.7. The last thing I want to do is make my current install non-functional. You can leave your 1.5 version undisturbed and install 1.7 in parallel. Read the instructions in this message carefully: http://cygwin.com/ml/cygwin/2009-05/msg00166.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: How to get std::strtoull (unsigned long long)?
On 2011-11-29 10:22Z, Csaba Raduly wrote: On Tue, Nov 29, 2011 at 11:04 AM, Markus Selve wrote: $ g++ -Wall -o tt tt.cpp tt.cpp: In function 'int main(int, char**)': tt.cpp:7:9: error: 'strtoull' is not a member of 'std' The default C++ dialect is based on the 1998 standard, which lacks strtoull() because that function first appeared in C99. Alas, cstdlib is missing the necessary using directive: [...] using ::strtod; using ::strtol; using ::strtoul; Adding a using-declaration for ::strtoull would be a reasonable extension, as long as '-std=c++98' is not specified. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: linker error libcygwin
On 2011-11-10 20:39Z, Kraus Philipp wrote: I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system Shouldn't that be '-lboost_system'? Run 'info ld' and search for '--dll-search-prefix': 'cyg-' is a typical default prefix that the '-l' option should recognize without your specifying it. /usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_WinMain@16' collect2: ld returned 1 exit status Does this thread http://cygwin.com/ml/cygwin/2011-10/threads.html#00440 contain the answer? If this is a console application, does it have an implementation of main()? Or if it's a windows GUI application, is WinMain() implemented in some object file passed to the linker? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: linker error libcygwin
On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect2: ld returned 1 exit status Does this thread http://cygwin.com/ml/cygwin/2011-10/threads.html#00440 contain the answer? no, sorry. If this is a console application, does it have an implementation of main()? yes the signature of the main is in this example: int main(int argc, char* argv[]) Please show the full linker command, and indicate the name of the object file that contains main(). -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: stdio.h: broken standard compliance.
On 2011-10-10 18:42Z, Kaz Kylheku wrote: Corinna Vinschen writes: $ gcc -Wall -ansi -D_POSIX_C_SOURCE=2 posix-ansi.c ^ fileno and pclose are *not* ANSI functions. Therefore, if you define -ansi, you get the below errors. The newlib headers have explicit #ifndef __STRICT_ANSI__ guards around the non-ANSI definitions. [...] I do not believe that your interpretation of the applicable standards is entirely correct. The -ansi flag tells the GNU *compiler* to disable its built-in extensions. So for instance the block evaluation syntax ({ expr1; ... ; exprn }) won't be available. It does more than that: http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/C-Dialect-Options.html | The macro __STRICT_ANSI__ is predefined when the -ansi option is used. | Some header files may notice this macro and refrain from declaring | certain functions or defining certain macros that the ISO standard | doesn't call for; this is to avoid interfering with any programs that | might use these names for other things. This is a strictly conforming program as defined by ISO standard C: #include stdio.h int fileno(int x) {return 3 * x;} int main(){return fileno(2);} With '-ansi', the posix declaration of fileno() is suppressed; if it weren't, then that program would fail to compile. See: http://gcc.gnu.org/ml/gcc-help/2004-09/msg00280.html An argument could be made for giving _POSIX_C_SOURCE precedence over __STRICT_ANSI__ if both are defined; but as long as that's not the behavior, you might want to undef __STRICT_ANSI__ as appropriate. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: libc project ports
On 2011-09-20 10:51Z, toto titi wrote: I sent a few years ago a question to the libc project ports mailing list (http://cygwin.com/ml/libc-ports/) without knowing this email would be stored and made available to everyone on the internet. My name and main email address clearly appears in it and it really bothers me. I seriously would like this email (and the 2 answers which also contain my personal references) to be removed from public access and removed from your database. I searched your website without finding any particular help for doing this. Could you help me please ? Answered here: http://www.cygwin.com/ml/#archive-archive The message you sent less than an hour ago is already archived on at least two external sites: http://www.mail-archive.com/cygwin [at] cygwin.com/msg118142.html http://comments.gmane.org/gmane.os.cygwin/128611 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Dealing with Symlinks
On 2011-09-18 13:28Z, tedthetool wrote: I am trying to compile openssl. It's already available as a Cygwin package, BTW. When I run make and make test, I get trivial compile errors. See, error: expected identifier or '(' before '!' token error: stray '\377' in program error: stray '\376' in program \377\376 sounds like a UTF-16 byte order marker. Are you using the same sources as the Cygwin package? See: http://cygwin.com/cgi-bin2/package-cat.cgi?file=openssl%2Fopenssl-0.9.8r-2-src My friends tells me that this is because cygwin doesn't deal with the symlinks present in C header files. How do I remedy this? Did the compiler display a diagnostic indicating that it couldn't find some header? If not, then the cause might be something else. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.9(0.237/5/3): not seeing some Windows files
On 2011-09-14 21:35Z, Robert Perlberg wrote: Microsoft Windows XP Professional x64 Edition Version 2003 Service Pack 2 [and some files in C:\WINDOWS\system32 aren't seen by 'ls'] Perhaps some files are hidden as described here: http://cygwin.com/ml/cygwin/2006-01/msg00444.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: automated cygwin install
On 2011-09-09 13:52Z, Andrew Schulman wrote: [...] setup.exe ^ --no-shortcuts ^ --quiet-mode ^ --disable-buggy-antivirus ^ --packages ^ aria2,^ atool,^ I wanted to make a similar .BAT file write a custom /etc/fstab as well, so I needed it to wait for 'setup' to finish first. This worked for me: START Installing Cygwin /WAIT setup ^ ...other setup parameters... echo some_custom_record fstab -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Typical Cygwin fork problem
On 2011-09-06 01:53Z, jan.kolar wrote: Why the newest version rebase/rebase-3.0-2 utilities for rebasing DLLs [...] is listed in the middle of this page? Actually, the one at the bottom is the newest: 2009 April rebase-3.0-2 2009 July rebase-3.0.1-1 Anything following a '-' at the end is likely to be an auxiliary serial number, e.g., to distinguish successive uploads of the same release. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Win7 home premium download: problem or just ignorance. both?
On 2011-07-09 16:45Z, oren goren wrote: on my emachine e525 W7 home premium I downloaded/installed per the gatech http mirror. accepting all install defaults I ended up with two desktop icons. (A) the cygwin logo named cygwin. I clicked on it and got (1) 2-3 sample/suggest command lines, (2) my user id, (3) the prompt. I didn't know which if any suggested command to take so exited. It's a *nix shell--specifically, 'bash'. It's not like a GUI program that presents a menu from which you pick available actions. Try the 'ls' command (letter ell, letter ess, Enter). That should list the files in the current working directory. And 'man ls' tells you other ways to use that command. (B) a folder icon labelled with the gatech url (%3a, %2f for :, /). The folder contained folder 'release' and file setup. 'release contained folder containing tars for unix commands. That directory caches everything that was downloaded. It just makes it easier to maintain and update your installation. You don't have to do anything with it yourself--just leave it alone. Although the name 'setup' I have not discovered the way - if any - to use it. The 'setup' program just installs Cygwin. Now that you have it installed, what were you anticipating you'd use it for? The FAQ and Documentation links below may help. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Bug with paths containing double slashes after double dot after a mount point
On 2011-06-17 21:23Z, Vadim Zeitlin wrote: Illia Bobyr Illia.Bobyr at ronin-capital.com writes: On 6/17/2011 1:59 PM, Vadim Zeitlin wrote: Hello, I think I've discovered a bug with handling specific forms of mixed form paths in Cygwin 1.7. Here is the briefest possible demonstration: $ ls C:/cygwin/lib/X11/../libc.a C:/cygwin/lib/X11/../libc.a $ ls C:/cygwin/lib/X11/..//libc.a ls: cannot access C:/cygwin/lib/X11/..//libc.a: No such file or directory [...] P.S. I don't include detailed cygcheck output as I don't think it's of any interest because the bug isn't system-dependent but please let me know if it would be useful to send it nevertheless, e.g. if you can't reproduce this behaviour. Does not happen on my box: Thanks for testing! $ uname -a CYGWIN_NT-5.1 WITD-ORL-IBOBY1 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin I see the following differences: - You have 1.7.9 while I have 1.7.8 and 1.7.7. - You have XP while I have 64 bit Windows 7. As I don't see any mention of such bug being fixed in 1.7.9 change log I suppose the really important difference is between the OS versions and/or 32 vs 64 bits. I'll try to install Cygwin into XP and 32 bit Windows 7 to check this too if nobody else posts the test results for these platforms until tomorrow. Another data point--no such problem with XP-SP3 and Cygwin-1.7.7: $ls C:/cygwin-1_7/lib/X11/../libc.a C:/cygwin-1_7/lib/X11/../libc.a $ls C:/cygwin-1_7/lib/X11/..//libc.a C:/cygwin-1_7/lib/X11/..//libc.a $uname -a CYGWIN_NT-5.1 earl 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: failure to install on xp
On 2011-04-16 02:34Z, Dov Kruger wrote: We have two fairly identical windows XP boxes. On mine, cygwin is working beautifully, with X. My coworker tried, but she didn't have admin rights and X wouldn't install right. Then she got the coveted admin rights, so we tried to re-install. It failed. So we thought we would install clean, deleting c:\cygwin and starting over. The installation fails in the middle with the following error: Because the first attempt failed, I'd do this: http://www.cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all Microsoft visual c++ runtime library Runtime Error! Program: C:\cygwin\bin\bash.exe ? This application has requested the Runtime to terminate it in an unusual way 11:09:10 AM That's weird: 'cygcheck /bin/bash' should confirm that bash.exe does not depend on the msvc runtime. Yet there have been a few similar reports: http://www.google.com/search?q=site%3Acygwin.com+Microsoft+visual+c%2B%2B+runtime+library; Based on them, I'd suggest that you - remove cygwin completely as above, but in step four also remove the download directory; - set a minimal %PATH% before starting setup.exe to reinstall; - run cygcheck -s -v -r as suggested here: http://cygwin.com/problems.html being especially wary of multiple cygwin dlls...and post the output here as an attachment if there are any further problems I have Microsoft Visual Studio 2003.net and 2005 installed. She does not. How can I view a log so we can determine what DLL is failing? One of the messages found by googling as above suggests Dependency Walker. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Windows tools can access /usr/share but not /usr/lib
On 2011-04-08 11:04Z, Marc Girod wrote: [...] While testing it on cygwin, I tried and failed to import it itself, from the perl install directory, which is under /usr/lib. The tool spawns an IBM utility built for Windows (in this case): cleartool. It is this cleartool which cannot access C:\cygwin\usr\lib I notice that the Windows cmd shell has the exact same problem, which disappears if using instead: C:\cygwin\lib /lib/ and /usr/lib/ refer to the same directory: http://cygwin.com/faq/faq-nochunks.html#faq.using.directory-structure C:\cygwin\usr\lib is unlikely to exist. When you want a windows path, consider 'cygpath': http://cygwin.com/faq/faq-nochunks.html#faq.using.converting-paths -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Bad owner or permissions on .../config
On 2011-04-07 20:28Z, Afflictedd2 wrote: $ ssh localhost Bad owner or permissions on /cygdrive/c/Users/Ted/.ssh/config I have checked that I have permissions on the files in the config directory and have also tried giving 777 permissions but I keep getting the same error. Try 644 or 600. It might consider 777 too liberal. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Root Privileges related
On 2011-03-28 18:19Z, world peace wrote: Ques: I am trying to install some programs (meant for linux platform) on cygwin. The instructions prompt me to do make, make install, configure etc. The only problem is I don't know how to become root http://cygwin.com/faq/faq-nochunks.html#faq.using.su -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin 1.7 string pattern matching problem with case sensitivity
On 2011-03-17 12:44Z, jean-benoit.ouel...@hidden.ca wrote: I just upgraded Cygwin from 1.5.21-2 to 1.7.8-1 and I'm getting problems with case sensitivity. Let's assume that 'file.csv' contains these 2 lines: Hello, 123 hello, 456 The following commands will output both lines instead of the desired first line only: awk -F, '$1 ~ /^[A-Z]/ {print $0}' file.csv grep ^[A-Z]/ file.csv Either override the locale http://www.cygwin.com/cygwin-ug-net/setup-locale.html or, preferably, use character classes, e.g.: $grep '^[[:upper:]]' file.csv Hello, 123 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Bash/wget gets confused by trailing carriage return
On 2011-03-16 06:42Z, siegfr...@deleted.com wrote: #!/usr/bin/bash /usr/bin/wget ftp://mirrors.kernel.org/debian-cd/6.0.0/i386/iso-dvd/debian-6.0.0-i386-DVD-2.iso [...] == SIZE debian-6.0.0-i386-DVD-2.iso\r ... done. == PASV ... done. == RETR debian-6.0.0-i386-DVD-2.iso\r ... No such file `debian-6.0.0-i386-DVD-2.iso\r'. Have you ruled out the possibility that your script contains '\r'? This od -t a my_script.sh |grep cr would detect its presence, and 'd2u' would remove it. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Compiled program does nothing when executing it under Cygwin
On 2011-03-11 14:56Z, Mengsk wrote: [...previously-compiled program stopped working after partial Cygwin upgrade...] Cannot find entry point _feinitialise in dynamic link library cygwin1.dll Try rebuilding your program from scratch. It sounds like the cygwin1.dll you now have (after the upgrade) is a different version than the program expects. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: [g++] Problems linking boost.system and boost.regex
On 2011-02-15 11:57Z, lampak wrote: Hi. I'm trying to compile on windows one linux app of mine which uses a few boost libraries. I've got g++ and boost (1.43.0-1) installed through setup.exe. I use g++ through Eclipse IDE. I've managed to get the program compiled but I'm getting linking errors. Last I heard, boost lost its Cygwin maintainer; and old libraries aren't likely to work with a newer compiler. This page http://cygwin.com/packages/boost-devel/boost-devel-1.43.0-1 confirms that: boost-devel: Obsolete package (installed binaries and support files) so try building boost yourself. (And BTW, what's the difference between libraries ending with .dll.a and .a alone? '.dll.a' is a convention for naming import libraries. And what does -mt stand for?) AFAICR that library-name suffix meant multithreaded. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Newbie confused about chmod
On 2011-02-15 16:52Z, hardya wrote: [...] Andrew Hardy@ANDREWHARDY ~/mywsn/LSU-SensorSimulator/samples $ chmod -v 777 Simulation mode of `Simulation' changed to 0777 (rwxrwxrwx) Andrew Hardy@ANDREWHARDY ~/mywsn/LSU-SensorSimulator/samples $ ls -l Simulation -rw-r--r-- 1 Andrew Hardy Administrators 238835 Oct 28 2005 Simulation Could that be due to a space in your username? http://cygwin.com/faq-nochunks.html#faq.setup.name-with-space -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.7: bash --login does not read my ~/.profile
On 2011-02-12 16:27Z, Paul Cantalupo wrote: Recently I installed Cygwin on an XP computer at home. But when I execute Cygwin.bat (contents below), the bash shell does not read my ~/.profile (contents below). 'info bash' says: it looks for `~/.bash_profile', `~/.bash_login', and `~/.profile', in that order, and reads and executes commands from the first one that exists and is readable. so perhaps you have one of those other files in your home directory? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Can setup.exe install from a list of packages?
On 2011-02-11 15:49Z, Gerry Reno wrote: If I'm going to wipe off a Cygwin installation and perform an entire new Cygwin installation is it possible to feed setup.exe a list of packages to install from the previous installation? If so, what are the steps? http://www.cygwin.com/faq/faq.setup.html#faq.setup.uninstall-all http://www.cygwin.com/faq/faq.setup.html#faq.setup.cli -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Accessing folders elsewhere than C:\cygwin
On 2011-02-09 14:42Z, Fergus wrote: I have Cygwin mounted conventionally under Q:\cygwin. I would like to access files under Q:\else. But (for example) ls ../../.. only ever attains \cygwin (and lower). I can use ls /cygdrive/q/else/ (and lower) but this means knowing the drive name (in this case Q:) I don't much want to change mount points which are currently conventionally defined. Is there a way I can get to Q:\else without knowing the drive name Q:? ls `cygpath -m /`/../else -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: After installing 1.7.7 command ls is null --now with cygcheck.out
On 2011-01-31 15:15Z, Jørgen Steensgaard wrote: I have just installed 1.7.7 after several unsuccessful attempts. Several auxiliary libraries were not included in the installation after setup finished. OK -- so I had to locate and rerun setup repeatedly. cygcheck output indicates version 1.7.5, not 1.7.7: 2547k 2010/04/12 C:\cygwin\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 cygwin1.dll v0.0 ts=2010/4/12 19:07 Cygwin DLL version info: DLL version: 1.7.5 Are you using the current 'setup.exe'? Have you ruled out BLODA? http://cygwin.com/faq/faq.using.html#faq.using.bloda -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Brand new setup ends up not where intended (?but at default)
On 2011-01-10 10:58Z, Fergus wrote: Intention: to install legacy version 1.5 on drive I: (ie not default) [...some directories are created on I:, but...] and what has actually happened is that the installation has been placed under C:\cygwin\. I installed it on XP (where it's unsupported) with similar symptoms. I specified C:/cygwin-1_5 as root; but a C:/Cygwin directory was created too, and most of the files wound up there. Two iterations of - remove unwanted default C:/Cygwin - run setup-legacy again gave a working installation in C:/cygwin-1_5 , and no C:/Cygwin . I did NOT clean the registry. Things were properly uninstalled (ie I had umount'ed everything) but without doubt the registry will have had trailing vestigial references to Cygwin and Cygnus Solutions, though essentially empty. Could this be the problem? Probably not: I've seen these symptoms right after reinstalling the OS. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.7: make returns error 127
On 2010-12-22 07:42Z, Isaac Ong wrote: /bin/sh: zip: command not found make: *** [../bin/build/chrome/xulschoolhello.jar] Error 127 The (alphabetical) cygcheck output says... xz4.999.9beta-11 zlib 1.2.5-1 so 'zip' is missing. Install it with 'setup.exe'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Program repeatedly restarts when its console is closed
On 2010-12-06 23:07Z, Arthur Norman wrote: [...] It is not clear to me whether this is an issue of the mingw bits not handling things and exiting badly or of the cygwin execv behaving improperly. Eg it I write a very short program that goes basically execv(./bad0,...) and compile that using cygwin but then run that executable from a normal DOS shell I get the hydra-like behaviour where when I cut of a console a fresh one instantly re-grows Try: set CYGWIN=proc_retry:1 as suggested here: http://sourceware.org/ml/cygwin/2008-03/msg00595.html Reference: http://www.cygwin.com/cygwin-ug-net/using-cygwinenv.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problem with Bash regex test case sensitivity
On 2010-12-03 22:30Z, Lee Rothstein wrote: [script:] if [[ $1 =~ [A-Z] ]] ; then echo Contains Capital Letters: $1 else echo Doesn\'t Contain Capital Letters: $1 fi [...] # WTF, O $ t_regex dfgh Contains Capital Letters: dfgh Inspect this option: shopt -p | grep nocasematch Perhaps you have it set in your startup files? Example of different 'nocasematch' settings with the same command: $ shopt -u nocasematch $ if [[ a =~ [A-Z] ]] ; then echo UPPER; else echo lower; fi lower $ shopt -s nocasematch $ if [[ a =~ [A-Z] ]] ; then echo UPPER; else echo lower; fi UPPER -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: [ANNOUNCEMENT] Updated: subversion-1.6.15-1
On 2010-12-01 17:15Z, NightStrike wrote: On Wed, Dec 1, 2010 at 11:32 AM, David Rothenberger x...@acm.org wrote: [...] http://svnbook.red-bean.com/en/nightly/index.html for the WIP version of the book covering 1.6. The link for the WIP 1.6 book is a 404. - http://svnbook.red-bean.com/en/nightly/index.html + http://svnbook.red-bean.com/nightly/en/index.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: WG: Windows Environment Variables
On 2010-11-24 22:46Z, Andrew DeFaria wrote: http://sourceware.org/ml/cygwin/2010-05/msg00496.html [...] But there's nothing attached! ;-) There's a link to Cyrille's script on that page--it's: http://sourceware.org/ml/cygwin/2010-05/txt3.txt Perhaps your browser blocks the link? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: WG: Windows Environment Variables
On 2010-11-23 13:25Z, rudolf.be...@xxx.de wrote: When login via ssh to a Cygwin Server I only get System Variables, like TEMP or TMP. I'm missing variables that are defined in the registries. Like %Programfiles% or %COMMONPROGRAMFILES% Security rationale: http://cygwin.com/ml/cygwin/2010-05/msg00311.html Suggested workaround: http://cygwin.com/ml/cygwin/2010-05/msg00012.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup.exe thinks it has no internet
On 2010-11-20 09:51Z, John Covici wrote: Hi. I am trying to install Cygwin on a vmware fusion virtual machine and unlike any other program on the vm the setup.exe thinks it has no internet, so it won't download the mirrors list nor if I type in one by hand will it get any information. http://www.cygwin.com/cygwin-ug-net/setup-net.html#setup-connection Since direct connection doesn't work, have you tried the other methods? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: trojans in cygwin
On 2010-11-03 14:26Z, Markus Hoenicka wrote: Monika Pietrzyk ... was heard to say: C:\Documents and Settings\toshiba\Desktop\CYGWIN 1.7.5-1\ftp%3a%2f%2fftp.uni- kl.de%2fpub%2fwindows%2fcygwin%2f\release\csih\csih-0.9.1-1.tar.bz2/usr\share \doc\Cygwin\csih.README detected: Trojan.ATRAPS!IK I'm by no means a trojan or virus guru, but if your anti-malware software detects trojans in plain-text README files, I'd be concerned about that software, not about cygwin. Maybe you should consult a second opinion (i.e. a different type of malware detection software) before drawing any conclusions. False positive. Here are nineteen scanners that find no problem in that file: http://virusscan.jotti.org/en/scanresult/669d2427f855083dfaf7f97572ae475dbcd21875 I'd suggest that the OP send that link, along with the file(s), to: http://support.emsisoft.com/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Simple Cygwin Application Linking Problem
[please see http://cygwin.com/acronyms/#PCYMTWLL ] On 2010-10-07 13:52Z, Michael Jäger wrote: INCCYGSTDABS = C:/cygwin/usr/include It's generally preferable to use posix paths with cygwin tools. This one would be simply /usr/include for example. LIBCYGSTDABS = C:/cygwin/usr/include/d/3.4.4/std/c The compiler knows where to find its own libraries. It's better to let it manage this itself. Then, when you upgrade to another version of gcc, you won't have to edit the makefile. test.exe: target.o ld $(LCOMP) target.o 'ld' is the linker, but it's better not to invoke it directly. Use 'gcc' to link C programs, and 'g++' for C++. They'll call the linker for you, automatically specifying the startup code and runtime library that are lacking here: target.o:test.c(.text+0x12): undefined reference to ‘__main’ target.o:test.c(.text+0x1e): undefined reference to ‘printf’ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: How to get cygwin path
On 2010-10-02 21:09Z, Afflictedd2 wrote: Is there a utility in cygwin that can transform a path in windows o a path in cygwin.. for example my path. C:\Users\User1\Documents to /cygdrive/c/Users/User1/Documents http://www.cygwin.com/cygwin-ug-net/using-utils.html#cygpath -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: awk gsub problem
On 2010-09-19 20:33Z, Lee wrote: [...awk character ranges are locale-sensitive...] Was the reply from the upstream maintainer answered on a mailing list? ( if so, which one?) I'd like to understand the problem they're solving.. I get the idea of [[:lower:]] working regardless of collating order of the current char set, but how [a-z] gets translated to something like [aAbBcCdD...zZ] boggles my mind. It seems like they had to have gone out of their way to translate [a-z] into a case-insensitive RE. Discussed here: http://www.gnu.org/manual/gawk/html_node/Character-Lists.html#Character-Lists And here's the same 'aAbBcC' question for 'ls' on solaris: http://groups.google.com/group/comp.unix.solaris/browse_thread/thread/8526e1b6eb18fb31/ It's not specific to gawk. --traditional Traditional Unix awk regular expressions are matched. The GNU operators are not special, interval expressions are not available, and neither are the POSIX character classes ([[:alnum:]] and so on). That option doesn't override the locale; to do that, see: http://www.gnu.org/manual/gawk/html_node/Locales.html#Locales -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Making a tailored Cygwin, something between Base and Full
On 2010-09-16 11:59Z, Fergus wrote: The best solution to the problem of making a tailored Cygwin installation Base + select handful of packages but stopping short of Full (typically, well short of Full) seems to be Igor Pechtchanski's offered at http://cygwin.com/ml/cygwin/2005-01/msg00528.html I've used that technique in the past, with this customized file: http://download.savannah.gnu.org/releases/lmi/setup.ini But I haven't tried it since 1.7 was released, because now I find it much easier to specify selected packages on the command line: http://www.cygwin.com/ml/cygwin/2009-06/msg00470.html I have been able to achieve this many times in the past by incorporating a single additional paragraph into setup.ini, located near the top immediately between the lines setup-timestamp: xx and @ ELFIO Then I guess you're modifying Cygwin's setup files instead of providing an additional .ini' file on a separate server? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Compiling C++ code using libpq-fe.h (PostgreSQL library) in Cygwin
On 2010-09-15 21:50Z, Julia Jacobson wrote: When trying to compile C++ code using PostgreSQL's libpq-fe.h by the command g++ -I/usr/include -L/lib -lpq my_program.cpp, I get error messages like undefined reference to '_PQconnectdb'. Assuming that '-lpq' provides the unresolved symbol, move it after the file that requires it: g++ -I/usr/include my_program.cpp -L/lib -lpq See the details under '-l' in 'man ld'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.x:ld linker error with *.o files
On 2010-09-12 22:19Z, matthew caswell wrote: $ nasm -f aout mckern_start.asm -o mcks.o ^^^ Try -f win32 or -f gnuwin32 http://sourceware.org/ml/cygwin/2010-07/msg00259.html $ gcc -c mckern.c -o mckern.o But when I run the linker with my link.ld file: $ ld -T link.ld -o mckern.bin mcks.o mckern.o mcks.o: file not recognized: File format not recognized -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: BLODA diagnostics
On 2010-08-27 21:22Z, Baldur Gislason wrote: I am attempting to diagnose why fork() fails during the cygwin installation. It looks like some kind of BLODA may be causing this, per documentation, but obviously, the list of known troublemakers in the documentation does not cover all troublemakers and I'd like to trace what is going on. Does it succeed in safe mode with networking? If so, then by a process of elimination you may be able to find what's causing the problem. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Interesting discovery in the C library that Cygwin uses
On 2010-07-08 23:34Z, Gregg Levine wrote: I made this discovery whilst building the urjtag program from its SVN trunk: make[3]: Entering directory `/usr/local/urjtag/urjtag/trunk/urjtag/src/tap' CC tap.lo CC register.lo CC state.lo CC chain.lo CC detect.lo detect.c: In function `find_record': detect.c:89: warning: array subscript has type `char' http://urjtag.svn.sourceforge.net/viewvc/urjtag/trunk/urjtag/src/tap/detect.c?annotate=1799 char *p; ... while (*p isspace (*p)) The problem is that 'char' can be signed, and a signed quantity can be negative. But values passed to ctype.h functions like isspace() have to be in the (nonnegative) range of an unsigned char (or be equal to EOF); otherwise, the behavior is undefined. Consider using unsigned char *p; instead of char *p; in the example above. Here's some discussion: https://www.securecoding.cert.org/confluence/display/seccode/STR37-C.+Arguments+to+character+handling+functions+must+be+representable+as+an+unsigned+char http://old.nabble.com/warnings-from-use-of-ctype.h-methods-td27865685.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5: running in a non cygwin command prompt
[Please: http://www.cygwin.com/acronyms/#PCYMTWLL Thanks.] On 2010-07-08 01:30Z, Shalomov, Inessa A (US SSA) wrote: I am trying to get the system() call working in my driver which I am running in a DOS terminal. For the sake of not porting out all of cygwin libraries and executables, I am trying to narrow down to a set of dll's and exe's required for my driver and only include those in my path. If you want as few Cygwin dependencies as possible... 3) If the system() call doesn't work when used in a non-cygwin environment, is there a windows native system() equivalent call I can use? ...and a native program with no Cygwin dependencies would be ideal... retval = system(HelloWorld.exe); ...and all you really need to do is invoke a program, then I suggest MinGW gcc (or Cygwin's old gcc-3 with '-mno-cygwin'). It provides a non-Cygwin implementation of the standard C system() function. There won't be any runtime dependencies except for dlls provided by the OS: $cygcheck ./run_hello.exe .\run_hello.exe C:\WINDOWS\System32\KERNEL32.dll C:\WINDOWS\System32\ntdll.dll C:\WINDOWS\System32\msvcrt.dll For fancier needs, consider the msw CreateProcess() system call. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Building DLLs on C++ version code failed, but okay on C version code.
On 2010-07-04 10:24Z, ke...@ca wrote: $gcc -c hello.c $gcc -shared -o hello.dll hello.o I successufully built it as DLL, hello.dll. Here, the C runtime library is automatically linked. Then, I rewrote it in c++. [...] Then, I used the commands above to built DLL, but it failed. Why did it fail? Use 'g++' instead of 'gcc' for C++: g++ -c hello.cpp g++ -shared -o hello.dll hello.o Then the C++ standard library is automatically linked. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: libtool and shared libraries
On 2010-07-01 16:18Z, Refr Bruhl wrote: Error in make log libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin shared libraries Have you tried the following advice from Eric? http://cygwin.com/ml/cygwin/2010-06/msg00747.html | | Look into the documentation of the -no-undefined flag of libtool, and | make sure you are using it. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: libtool and shared libraries
[Reformatted--please read this: http://cygwin.com/acronyms/#PCYMTWLL Thanks.] On 2010-07-02 00:13Z, dhen...@gmail.com wrote: After writing and sending the below note, I found the message recommending the use of the -no-undefined option. I will use it and see if it helps. If that is the problem's solution though, wouldn't it would be nice not to have to manually set it for programs involving shared libraries? Couldn't this option be made into a default, which by doing so would make a lot of source code packages buildable as is, I should think. The Autobook http://sourceware.org/autobook/autobook/autobook_88.html says: Historically, the default behaviour of Libtool was as if `-no-undefined' was always passed on the command line and goes on to explain why that default was changed. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Error making wxWigets 2.8.10 in Cygwin 1.7.5
On 2010-06-28 03:40Z, Gavin wrote: [...] {{ change winsock.h to match select.h; actual line is different, with PASCAL and struct in it. The difference is intentional: http://www.cygwin.com/ml/cygwin/2010-01/msg00570.html If someone can verify my change and make the patch, anyone else trying wxWidgets 2.8.11 with cygwin 1.7.5 can miss this gottcha. Maybe there is a flag to change this error into a warning, but that's beyond me. It's a confirmed build error in the wxWidgets tracker: http://trac.wxwidgets.org/ticket/11626 Don't use winsock.h with Cygwin 1.7 so that's the place to propose patches. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.x: svn does nothing and returns
On 2010-06-22 14:57Z, Steven Woody wrote: After I upgraded my cygwin to the latest version. Cygwin DLL version info: DLL version: 1.7.1 Build date: Mon Dec 7 11:48:55 CET 2009 I think the latest is 1.7.5 . the 'svn' program always returns nothing for me for any svn commands including the very simple 'svn --version' command. It just simply return to the next command prompt without any output or an error. What's wrong with it? Path: D:\woody\svn\scripts C:\Python26 C:\Program Files\Subversion\bin That comes before Cygwin's directories--are you using a native svn? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Incomplete downloads reported across several mirrors
On 2010-06-22 23:44Z, Gregg Levine wrote: I've been trying to update this 1.7.5 release of Cygwin since 11AM EDT, based on the multiple announcements of updated packages. That was nine hours ago. Propagation time could be twelve hours if everything is working as described here: http://cygwin.com/mirrors.html | New mirrors should rsync directly from cygwin.com at least twice a day. Eventually after several repeated tries there, I waited until a few minutes ago here, and decided to try again. This time it happened again with the addition of the mirror based at the Open Software repository at the Oregon State University. Try inspecting individual mirrors (see the link above). I've had good luck with heanet, so I downloaded this file (announced here today): ftp://ftp.heanet.ie/pub/cygwin/release/webcheck/webcheck-1.10.3-1-src.tar.bz2 and it matches the md5sum given--so try that mirror. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: command not found-For All Commands
On 2010-05-30 22:36Z, physicist25 wrote: -sh-3.2# cygcheck -s -v -r cygcheck.out -sh: cygcheck: command not found -sh-3.2# cygcheck/ -s -v -r cygcheck.out cygcheck: dump_sysinfo: GetVolumeInformation() for drive D: failed: 112 -sh-3.2# Run it in a windows command prompt instead of in bash: cd \cygwin\bin cygcheck -s -v -r cygcheck.out There should be hundreds of lines of output in 'cygcheck.out'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: command not found-For All Commands
On 2010-05-30 23:24Z, physicist25 wrote: I received exactly the same response! The context was that running cygcheck -s -v -r cygcheck.out displayed an error on the screen. But see whether a file named 'cygcheck.out' was created. It should contain the output that cygcheck was able to produce. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5 run cygwin.bat and returned with c:\cygwin\bin folder
On 2010-05-15 00:13Z, Ping Wu wrote: The questions: Are there any way I can a do a complete clean remove Follow the FAQ link below and search for remove--soon you'll find: http://cygwin.com/faq/faq-nochunks.html#faq.setup.uninstall-all How do I uninstall all of Cygwin? It gives step-by-step instructions to remove Cygwin completely. and reinstall to overcome the above problem. Or other suggestions? Follow the Problem reports link below--you'll see: Run cygcheck -s -v -r cygcheck.out and include that file as an attachment If you still have problems after uninstalling completely and reinstalling, then that 'cygcheck.out' file will help others diagnose what went wrong. Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Anyone interrested in a package manager?
On 2010-05-14 11:23Z, Alexander T wrote: [...] I'm going crazy needing to use the installer every time I forgot to install a program, and also dealing with version upgrades and conflicting versions. The installer.exe is also clunky when it comes to selecting in batch etc. It would also be great to make your own repos and update cygwin locally from the repo, like the setup.exe 'local install' does, but then command-line based. Have you investigated setup.exe's command-line options, which can be displayed by 'setup --help'? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: subversion-1.6.11-1 failure
[Reformatted--please see: http://cygwin.com/acronyms/#PCYMTWLL Thanks.] On 2010-04-24 06:17Z, Brad Bell wrote: [...] P.S. I would have liked to make this message a reply to http://cygwin.com/ml/cygwin/2010-04/msg00892.html but I do not have an e-mail copy of that message and hence do not know how to do that. Is there a way ? On the page you cited, click the Other format: [Raw text] link. At the top, you'll see: From cygwin-return-162155-listarch-cygwin= ... so send an empty email to cygwin-get.162...@plug_in_the_right_domain.com and reply to the message you receive; threading will be preserved. (This is explained in the WELCOME message you receive when you first subscribe.) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: GCC is not found and compiler cannot create executables errors
On 2010-04-08 14:13Z, Warren Young wrote: Write this out to a file called hello.c: [...] Then say make hello in that directory. ^^ Did you mean gcc hello.c? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: GNU make builtin rules produce linker error due to command line arguments order
On 2010-04-06 23:24Z, Robrecht Dewaele wrote: # Using builtin make rules and LDFLAGS seems to yield an incorrect order of arguments for cc. $ LDFLAGS=-lpopt make options http://www.gnu.org/software/make/manual/html_node/Catalogue-of-Rules.html#Catalogue-of-Rules | The precise command used is `$(CC) $(LDFLAGS) n.o $(LOADLIBES) $(LDLIBS)'. so use LDLIBS=-lpopt make options instead. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: request add my mirror to mirror list
On 2010-03-24 10:05Z, Hilman Fathurrahman wrote: This is all well and good. But this is the wrong address to discuss these matters. On this page: http://cygwin.com/mirrors.html you will find instructions on how to go about doing exactly as you have requested. i know this is wrong address :D i can't find administrator's email address That page says: | Contact sourcemaster at this site [...] sourcemaster is also the | place to send requests to be added to this list. You contacted 'cyg...@...'; try 'sourcemas...@...' instead. (We don't quote full email addresses here because that attracts spam.) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: __STRICT_ANSI__ with -std=c99
On 2010-03-22 13:03Z, Oleksandr Gavenko wrote: $ gcc -std=c99 -c -o grid.o grid.c [...] grid.c:236: warning: implicit declaration of function 'strupr'. I'd expect that warning, because C99 defines no strupr() function. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: can't find online mainling list
On 2010-03-22 04:09Z, Paul McFerrin wrote: Is this http://cygwin.com/ml/cygwin/ what you seek? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: wconsole on cygwin
On 2010-02-15 15:51Z, ghada zaibi wrote: gcc -DHAVE_CONFIG_H -I. -I.. -I..-Wall -g -O2 -I/usr/local/include/SDL -I/us r/include/mingw -mno-cygwin -Dmain=SDL_main -MT main.o -MD -MP -MF .deps/main.Tp o -c -o main.o main.c '-mno-cygwin' essentially means you're building for MinGW, but... fifo.h:25:21: termios.h: No such file or directory ...MinGW doesn't provide POSIX headers, and... main.c:384: error: `SIGQUIT' undeclared (first use in this function) ...MinGW doesn't support POSIX signals, so I suppose you should try building without '-mno-cygwin'. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: About SystemC installation in Cygwin
On 2010-02-10 08:21Z, Mohammad Qayum wrote: I am trying to follow a tutorial to install SystemC (www.systemc.org) in Cygwin. I am following a simple tutorial to install Cygwin (http://www.ht-lab.com/howto/sccygwin/sccygwin.html) Their instructions for installing Cygwin are valid: Hop over to cygwin's website and follow the installation procedure. I used the following procedure to install it: [...] 7. Execute ../configure --prefix=destination directory this command worked But I am not able to ''make it. An error massage says make: *** No targets specified and no make file found. Perhaps 'configure' didn't succeed: normally it would create 'Makefile', but 'make' says there is no makefile. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Tee broken under process substitution?
On 2010-02-08 22:34Z, Ryan Johnson wrote: cygwin$ echo hi | tee (cat) hi tee: /dev/fd/63: Bad file descriptor I don't know a workaround, but FWIW this looks similar: http://cygwin.com/ml/cygwin/2010-01/threads.html#00942 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Looking for a 1.5 build setup program - Help Please
On 2010-02-07 12:59Z, Hussein Patwa wrote: Could someone here be kind enough to either direct me to or send me (off-list) a setup program for one of the cygwin 1.5 builds? Some packages I wish to use (Rockbox development) don't seem to be compatible with the 1.7 release. http://cygwin.com/win-9x.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Problems linking--undefined reference to...
On 2010-01-30 01:49Z, Peter Mills wrote: g++ -I/home/Petey/include -Wno-deprecated -O2 -o model2 model2.cc traj_int_obj.o tcoord_defs.o -L/home/Petey/lib -ldataset-O2 -lpetey -lsparse-O2 -lgsl -lgslcblas model2.cc: In function `int main(int, char**)': [...] traj_int_obj.o:traj_int_obj.cc:(.text+0x12): undefined reference to `_mcount' '_mcount' is used by gprof. If an object file was built with '-pg', then you need to use '-pg' for linking, too. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: can't umount my /pc filesystem
On 2010-01-17 06:49Z, Paul McFerrin wrote: I have an unwanted filesystem (NFS) mounted as /pc that I need to get it unmounted ASAP. Here is the mount output: [...] \\linda\c /pc some_fs binary 0 0 If that's in /etc/fstab, then it's 'nouser' by default, and not overridable: http://www.cygwin.com/cygwin-ug-net/using.html#mount-table Whenever I try to umount it, I get the error message: .$ umount /pc umount: /pc: Operation not permitted http://www.cygwin.com/cygwin-ug-net/using-utils.html#umount Note that you can only remove user mount points. It HAS BEEN removed (sometimes) from the mount command but I can still do a 'cd' to /pc and see my wife's root drive. How can I make this hard-ass /pc filesystem completely be umounted. Remove it from /etc/fstab and from any file in /etc/fstab.d/* . The /pc never goes away and it always comes up mounted after a reboot. Perhaps you have a 'mount' command in some script you run at startup? Consider turning off sharing for '\\linda\c' on the remote machine. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: newbie bash variable problem
On 2010-01-17 23:44Z, brian wrote: $JAVA_HOME is the env variable which I can echo from the script as /cygdrive/c/jdk1.6.0_16 but the script sets JAVA=$JAVA_HOME/bin/java/ My guess is that the script contains carriage returns. To look for them, use 'od'. To remove them, use 'd2u' or 'dos2unix' if you've got them, else 'tr'. I want to see if this is set right so I set an echo this in the script echo JAVA but this just gives JAVA and this echo $JAVA /bin/java/c/jdk1.6.0_16 which some how over writes part of the variable. This: /cygdrive/c/jdk1.6.0_16cr /bin/java displays thus: /bin/java/c/jdk1.6.0_16cr $echo /cygdrive/c/jdk1.6.0_16\r/bin/java /bin/java/c/jdk1.6.0_16 $echo /cygdrive/c/jdk1.6.0_16\r/bin/java |od -t a 000 / c y g d r i v e / c / j d k 1 020 . 6 . 0 _ 1 6 cr / b i n / j a v 040 a nl -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Build problems using wxWidgets-2.8.10 / gcc-4.3.4 / cygwin-1.7.1 : multiple definitions of function select()
On 2010-01-14 10:15Z, Schwerzmann Stephan wrote: /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../../include/w32api/winsock.h:4 79: error: declaration of C function 'int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, const timeval*)' conflicts with /usr/include/sys/select.h:31: error: previous declaration 'int select(int, _types_fd_set*, _types_fd_set*, _types_fd_set*, timeval*)' As to whether select() takes a const or non-const timeval* argument: http://msdn.microsoft.com/en-us/library/ms740141%28VS.85%29.aspx msdn says it's const, so that's what include/w32api must do http://www.opengroup.org/onlinepubs/007908799/xsh/select.html posix says it isn't const, so that's what /usr/include must do So you can't combine them. See also: http://cygwin.com/ml/cygwin/2008-08/msg00133.html | You're getting a bunch of errors because incluing winsock2.h causes lots | of namespace clashes. And how could it not? It provides a different | and incompatible set of definitions for the sockets API which is not | compatible with the standard POSIX definitions in the Cygwin headers. | Again: the problem is that you should not attempt to use the Winsock API | from a Cygwin application. ./src/msw/utils.cpp:407: warning: 'int cygwin_conv_to_full_win32_path(const char*, char*)' is deprecated http://www.cygwin.com/ml/cygwin-cvs/2008-q1/msg00111.html | (cygwin_conv_to_win32_path): Just call cygwin_conv_path with size set | to MAX_PATH. | (cygwin_conv_to_full_win32_path): Ditto. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: mount -a has no effect on the cygdrive prefix
On 2010-01-11 16:16Z, Karl M wrote: I just reviewed chapter 3 of the user guide and found no mention of posix=0 as the default for /cygdrive. http://www.cygwin.com/cygwin-ug-net/using-specialnames.html | To ease the pain, the /cygdrive path is case-insensitive by default | and you have to use the posix=1 setting explicitly in /etc/fstab | or /etc/fstab.d/$USER to switch it to case-sensitivity -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: changing cygwin's console window title
On 2010-01-07 21:52Z, Collin Monahan wrote: On 01/07/2010 04:38 PM, Larry Hall (Cygwin) wrote: Does title in the CYGWIN environment variable no longer work? It still works in 1.7.1 . I'm not familiar with that setting. I tried export title=1 If you do: export CYGWIN=$CYGWIN title ; uname -a |less then the window's title changes to uname. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: [Fwd: Blue screen when running installation *.sh]
On 2010-01-05 13:03Z, t...@xx.demon.co.uk wrote: I have previously used Cygwin 1.5 successfully, but thought I should report a possible issue with the newer 1.7.1 version. My XP workstation blue screens reliably when doing the final steps of the Cygwin 1.7.1 installation somewhere in the /etc/postinstall/*.sh scripts. The blue screen indicates the problem is with ibmfilter.sys and upon rebooting, Microsoft suggests that the fault lies with the Lenovo Rescue and Recovery application and that page leads to an update. However, whilst the ibmfilter.sys driver may be somewhat fragile there is a chance that Cygwin is triggering the fault by doing something odd. Your cygcheck output contains: | Warning: There are multiple cygwin1.dlls on your path | | Potential app conflicts: | | ZoneAlarm Personal Firewall | Detected: HKLM Registry Key. so you probably ought to resolve those issues first. Google shows that 'ibmfilter.sys' causes BSODs with many applications. As a workaround, you might try rebooting into safe mode (to prevent that driver from loading), then running the postinstall scripts in that environment. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Missing /bin/sh
On 2010-01-05 16:48Z, Klas Ekeland wrote: I had expected that sh or a symlink to a suitable shell came bundled with cygwin? It ought to be there. It would help to see the cygcheck output described here: Problem reports: http://cygwin.com/problems.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: GCC, -rdynamic option is unrecognized by GCC.
On 2010-01-01 15:26Z, Claude Sylvain wrote: - How come Cygwin GCC do not still support -rdynamic option? http://gcc.gnu.org/onlinedocs/gcc/Link-Options.html | Pass the flag -export-dynamic to the ELF linker, | on targets that support it. Cygwin uses PE, not ELF. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: MyC Compiled can't compile {}
On 2009-12-28 15:26Z, Paul McFerrin wrote: Well, after all of this discussion, my C compiler IS BROKEN. I.E.: To try your test program with a different compiler, paste it here: http://www.comeaucomputing.com/tryitout echo main{} test.c If you want a minimal C program that's valid everywhere, use: $echo int main() {return 0;} test.c making sure the file ends in a newline character. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
'setup-1.7.exe -s' anomaly
If I run setup-1.7.exe -s ftp://ftp.heanet.ie and hit Enter on every screen, I get a messagebox that says: Unable to get setup-2.ini from ftp://ftp.heanet.ie Oddly, 'ftp.heanet.ie' is listed twice in Available Download Sites. The first 'ftp.heanet.ie' is highlighted, and doesn't work. If I highlight the second 'ftp.heanet.ie' instead, then it works fine. Same outcome with: setup-1.7.exe -s ftp://ftp.heanet.ie setup-1.7.exe -s ftp://ftp.heanet.ie; setup-1.7.exe --site ftp://ftp.heanet.ie; setup-1.7.exe --site=ftp://ftp.heanet.ie; and also with other mirrors, e.g.: setup-1.7.exe -s http://www.mirrorservice.org This occurs on a brand-new machine with XP SP3 freshly installed, with no prior installation of any version of Cygwin. I'm running setup-1.7 version 2.661 (current) in an XP Command Prompt. My ultimate goal is a '--quiet-mode' installation, but this simplified test case seems to be the main obstacle. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 'setup-1.7.exe -s' anomaly
On 2009-12-18 21:28Z, Jim Reisert AD1C wrote: I didn't know about the command-line options. To see them all: setup-1.7.exe --help Is there some way to automate the process so that when I double-click on my Setup shortcut, it will go right to the Select Packages screen? AIUI, the GUI is either entirely on, or entirely off, controlled by: -q --quiet-modeUnattended setup mode But you may be interested in -P --packages Specify packages to install which lets you select a list of packages from the command line. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Hippo icon for cygwin...
On 2009-12-06 18:33Z, Charles Wilson wrote: [...vista-sized icons cause crashes on old XP machines...] Well then, what happens if the icon in question is inside a DLL? We have a winner. Can you try creating a shortcut, and setting its icon to the hippo in each of these two DLLs? The _vista one has the hippo with all resolutions including 256x256 png, and the _xp one has the hippo with everything but that. On both machines--XP SP1 and XP SP2--these shortcuts seem well behaved. Their icons are hippos in windows explorer. They remained hippos when I copied both shortcuts to each machine's desktop. No crash was observed with the dll as the source of the icons. Just for yucks, I tried dropping both resource dlls on the 1997 borland C++ 5.02 IDE, which is designed to extract resources from executable binaries. The 'xp' dll loaded fine: I could see all the icons, and even manipulate the hippo. The 'vista' dll failed to load, giving a messagebox: Resource compiler error: Invalid icon format I also tried dragging and dropping the 'vista' dll on my 2004 copy of 'irfanview'; it correctly displayed the classic 32x32x24bpp Cygwin icon. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Hippo icon for cygwin...
On 2009-12-05 09:06Z, Charles Wilson wrote: for your enjoyment. It's based on public domain art; this version released under a creative commons license (CC-BY-SA 3.0) which is GPL compatible. Might this file: 1a652c4c8c31b80c85d6cbc2b4093060 *hippo.ico be somehow malformed? My computer BSODs every time I try to view it in 'irfanview'. This has happened three times in a row. I tried opening the icon file in gimp-2.2.4, which crashed with: winicon.exe caused an Access Violation at location 00402795 in module winicon.exe Reading from location 0008. (no BSOD). Yet the icon displays successfully in 'windows explorer'. An .ico file actually can cause an application to crash: http://securitytracker.com/alerts/2007/Jun/1018202.html That tracker says ms planned to patch the problem, but right now I'm using XP SP1, so I wouldn't have that patch. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Hippo icon for cygwin...
On 2009-12-05 14:27Z, Charles Wilson wrote: Greg Chicares wrote: Might this file: 1a652c4c8c31b80c85d6cbc2b4093060 *hippo.ico be somehow malformed? My computer BSODs every time I try to view it in 'irfanview'. This has happened three times in a row. BSOD? Well, *any* BSOD is by definition a bug inside ring 0 (e.g. the core Windows kernel, or a graphics driver. So, it isn't *.ico's fault. Yes, apparently it's an XP SP1 kernel defect: in 'win32.sys', PAGE_FAULT_IN_NONPAGED_AREA, STOP 0x0050. I also tried the original .ico on an XP SP2 machine, which produced a different BSOD. That machine was set to reboot itself upon BSOD, so I didn't have time to record the message; but the program name began with 'ati', so it was almost certainly a graphics driver. But those are defects in ring-zero programs, so it's their job to avoid crashing no matter what .ico file is handed to them. The resulting vulnerability is their fault--not the .ico's fault. BTW, both these machines have no known hardware problems, and recent full runs of memtest86 indicate that their RAM is fine. Still, it'd be good to avoid... I tried opening the icon file in gimp-2.2.4, which crashed with: winicon.exe caused an Access Violation at location 00402795 in module winicon.exe Reading from location 0008. (no BSOD). Yet the icon displays successfully in 'windows explorer'. That's a pretty old version of gimp... It's a native msw build that was released 2005-03-03: quite old, I agree. Still, I'm probably not the only person running Cygwin on a 2005-vintage system, so it's good to isolate the problem... An .ico file actually can cause an application to crash: http://securitytracker.com/alerts/2007/Jun/1018202.html That tracker says ms planned to patch the problem, but right now I'm using XP SP1, so I wouldn't have that patch. Hmmm. Well, the .ico contains the *vista*-approved sizes: Okay, yet many large-corporation IT departments are sticking with XP for the foreseeable future, even for brand-new machines. And apparently the vista-sized icons aren't gracefully ignored by XP (SP1 at least), no matter what ms may say. BTW, the graphics drivers on the SP2 machine were current when I checked them for updates about two weeks ago. Supposedly, the 256x256 png-compressed size should be ignored on platforms that do not support it -- but maybe that's causing your problem. Try the attached version, which omits the 256x256 resolution. This new .ico works fine in every graphics program I can find, even on the XP SP1 machine--specifically including the two programs that failed with the original icon. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: gcc -ffast-math defect with tan(x)
On 2009-11-17 14:32Z, Dave Korn wrote: [...] WTF? The fptan has returned two QNaNs for no apparent reason? When stack overflow occurs during FPTAN and overflow is masked, both ST(0) and ST(1) contain quiet NaNs. [intel 80387 manual] R7: Special 0xc000 Real Indefinite (QNaN) =R6: Special 0xc000 Real Indefinite (QNaN) R5: Empty 0xd8021027c0001027bff8 R4: Empty 0xd8d0611dae800022bf20 R3: Empty 0x0c656120a860 R2: Empty 0x001e00770042 R1: Empty 0xc52c0022c530001a75de R0: Empty 0x170800ce00cc507c Status Word: 0x3241 IE SF C1 [...] Hmm. I think the C1 indicates it believes there has been a stack underflow, When both IE and SF bits of status word are set, indicating a stack exception, this bit distinguishes between stack overflow (C1=1) and underflow (C1=0). [ibid.] and maybe that happens because the r6 slot is valid rather than empty the second time round; maybe _f_tan needs to be 'popping' (or in some way marking invalid) that unused +1.0 constant rather than just skipping the stack pointer over it. I'll see if that makes a difference; I'm not an x87 specialist, I only know just enough to get by. I see that the fincstp documentation does warn that this operation is not equivalent to popping the stack, so I may be on the right track. Maybe this sheds some light: For FPTAN, FSIN, FCOS, and FSINCOS, the reduction bit is set if the operand at the top of the stack is too large. In this case the original operand remains at the top of the stack. [ibid.] -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Gcc 3.2.3 package
On 2009-10-06 12:16Z, Walther Lalk wrote: I am trying to get NS 2.26 compiled (There are some specific code changes that I need to run for a university assignment and they are for NS 2.26). NS 2.26 requires Gcc 3.2.3 to compile, however I can't seem to find a cygwin package for it. I have tried compiling Gcc3.2.3 with 3.4.4 but, no luck. Does anybody know where I can find old cygwin packages? http://cygwin.com/faq/faq-nochunks.html#faq.setup.old-versions But gcc-3.2.3 is really old--2003 or so--and you'll probably have to travel back in time: google cygwin time machine. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Error c preprocessor lib/cpp fails sanity check
On 2009-09-17 12:08Z, hj.beck...@kreis-steinfurt.de wrote: I'm trying to compile 2 applications (klavaro/procbench, both from sf.net). Both ./confiugre steps end with the above error message. Searching the web tells me, that some libs are missing. Probably it's a broken gcc installation rather than any missing library, so it'd be helpful to post - the output of 'cygcheck -svr', and - your 'config.log' as text *attachments*, as explained here: Problem reports: http://cygwin.com/problems.html -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: C++ script doesn't work using g++
On 2009-09-11 18:49Z, Gery Herbozo Jimenez wrote: int main() { clrscr(); coutHallo; getch(); } This message: http://www.cygwin.com/ml/cygwin/1999-09/msg00326.html mentions the danger of mixing getch() with C++ streams, and explains why Cygwin doesn't provide conio.h. Consider using ncurses instead. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: setup.exe hijacked?
On 2009-09-10 08:04Z, Michael PARKER wrote: I've just tried downloading setup.exe from www.cygwin.com, only to find that it crashes when run on my WinXP x64 desktop. I downloaded it from there just now, and it has the same md5sum as a copy I had downloaded three months ago: 4f3f250cb9704fda2c241347cb689a8f Running a diff on the strings output of the new file vs. a known good version of setup.exe, I see (amongst garbage) the following: http://lcontent.ebuddy.com/web_banners/invocation.html?z=575 HTTP/1.1 200 OK Vary: Accept-Encoding Content-Type: text/html [...] Could it be that what you actually saved was not setup.exe but rather some 'ebuddy' message? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Issue during compiling:
On 2009-09-09 17:49Z, Benjamin Hill wrote: I'm getting an internal compiler error when compiling ALE 9.0.3 [...] ui/../d2/align.h:1450: internal compiler error: in invert_truthvalue, at fold-co nst.c:2719 Please submit a full bug report, I searched for the issue, no luck at: http://sourceware.org/cgi-bin/search.cgi?q=internal+compiler+error+AND+invert_truthvaluecmd=Search!form=extendedm=boolps=10fmt=longwm=wrdsp=1sy=1wf=2221type=GroupBySite=noul=%2Fml%2Fcygwin%2F%25 Searching this way: http://www.google.com/#q=internal+compiler+error%3A+in+invert_truthvalue; leads to: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=23624 according to which it's a defect that has been fixed. You're using gcc-3.4.4, so try upgrading. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple