Re: 1.5.25: Intermittent hangs or network issues

2009-05-08 Thread Jim Marshall

Larry Hall (Cygwin) wrote:

Jim Marshall wrote:

Jim Marshall wrote:

Dave Korn wrote:

Jim Marshall wrote:

I do not have any firewall software running, 



Potential app conflicts:

ZoneAlarm Personal Firewall
Detected: HKLM Registry Key, Named file.



  Do you possibly suffer from the Cisco VPN client software that 
comes with a

built-in version of the core ZA firewall component?

cheers,
  DaveK


Hi Dave et al,
 I removed the cisco VPN, but I am still seeing the hangs. Also I 
guess I spoke too soon about other apps not hanging as I have noticed 
xemacs and xterm hanging when starting (the GUI doesn't open but 
ctrl-c works to quit them from the terminal I started them from) - it 
is also happens far less often then ssh and cvs.


I've attached a new cygcheck, I know it still says that the zone 
alarm entry is still present but I don't know of any app that is 
using it and I don't see any processes running, so I am a bit of a 
loss as to why that is there.


Thanks again


Maybe a short output file from strace would help point a finger.  And
maybe not. ;-)



Finally got around to doing the strace...

$ strace ssh myt...@mythtv
**
Program name: C:\cygwin\bin\ssh.exe (pid 6028, ppid 1)
App version:  1005.25, api: 0.156
DLL version:  1005.25, api: 0.156
DLL build:2008-06-12 19:34
OS version:   Windows NT-5.1
Heap size:402653184
Date/Time:2009-05-08 13:17:17
**
stuff removed
 2179  275368 [main] ssh 6028 wsock_init: res 0
   42  275410 [main] ssh 6028 wsock_init: wVersion 514
   32  275442 [main] ssh 6028 wsock_init: wHighVersion 514
   31  275473 [main] ssh 6028 wsock_init: szDescription WinSock 2.0
   30  275503 [main] ssh 6028 wsock_init: szSystemStatus Running
   30  275533 [main] ssh 6028 wsock_init: iMaxSockets 0
   30  275563 [main] ssh 6028 wsock_init: iMaxUdpDg 0
   30  275593 [main] ssh 6028 wsock_init: lpVendorInfo 0
 6733  282326 [main] ssh 6028 __set_errno: void 
__set_winsock_errno(const char*, int):234 val 1
  382  282708 [main] ssh 6028 __set_winsock_errno: __dup_ent:334 - 
winsock error 11004 - errno 1
   36  282744 [main] ssh 6028 cygwin_getservbyname: 0x0 = getservbyname 
(ssh, tcp)
   49  282793 [main] ssh 6028 sig_send: sendsig 0x6E8, pid 6028, signal 
-34, its_me 1

   32  282825 [main] ssh 6028 sig_send: wakeup 0x6B0
   31  282856 [main] ssh 6028 sig_send: Waiting for pack.wakeup 0x6B0
  799  283655 [sig] ssh 6028 wait_sig: signalling pack.wakeup 0x6B0
  723  284378 [main] ssh 6028 sig_send: returning 0x0 from sending 
signal -34
  560  284938 [main] ssh 6028 __dup_ent: duping hostent mythtv, 
0x18BA6CA0

   90  285028 [main] ssh 6028 __dup_ent: duped hostent mythtv, 0x6ACCC8
   38  285066 [main] ssh 6028 cygwin_gethostbyname: h_name mythtv
 1032  286098 [main] ssh 6028 cygwin_socket: socket (2, 1, 0)
 5937  292035 [main] ssh 6028 fdsock: reset socket inheritance
  126  292161 [main] ssh 6028 build_fh_pc: fh 0x61169E50
  104  292265 [main] ssh 6028 fhandler_base::set_flags: flags 0x10002, 
supplied_bin 0x0
  124  292389 [main] ssh 6028 fhandler_base::set_flags: O_TEXT/O_BINARY 
set in flags 0x1
  385  292774 [main] ssh 6028 fhandler_base::set_flags: filemode set to 
binary

  290  293064 [main] ssh 6028 fdsock: fd 3, name '', soc 0x6B4
  514  293578 [main] ssh 6028 cygwin_socket: 3 = socket (2, 1, 0)
 1223  294801 [main] ssh 6028 sig_send: sendsig 0x6E8, pid 6028, signal 
-34, its_me 1

   60  294861 [main] ssh 6028 sig_send: wakeup 0x69C
   34  294895 [main] ssh 6028 sig_send: Waiting for pack.wakeup 0x69C
  305  295200 [sig] ssh 6028 wait_sig: signalling pack.wakeup 0x69C
   51  295251 [main] ssh 6028 sig_send: returning 0x0 from sending 
signal -34
   72  295323 [main] ssh 6028 fhandler_socket::ioctl: socket is now 
nonblocking
   39  295362 [main] ssh 6028 fhandler_socket::ioctl: 0 = ioctl_socket 
(8004667E, 23B80C)
  979  296341 [main] ssh 6028 __set_errno: void 
__set_winsock_errno(const char*, int):234 val 119
   50  296391 [main] ssh 6028 __set_winsock_errno: connect:788 - 
winsock error 10036 - errno 119
   44  296435 [main] ssh 6028 cygwin_select: 4, 0x0, 0x23B7C0, 
0x23B7A0, 0x0

   88  296523 [main] ssh 6028 dtable::select_write:  fd 3
   43  296566 [main] ssh 6028 dtable::select_except:  fd 3
   51  296617 [main] ssh 6028 cygwin_select: to NULL, ms 
   43  296660 [main] ssh 6028 cygwin_select: sel.always_ready 0
   74  296734 [main] ssh 6028 start_thread_socket: Handle 0x6B4
   38  296772 [main] ssh 6028 start_thread_socket: Added to writefds
   40  296812 [main] ssh 6028 start_thread_socket: Added to exceptfds
 2983  299795 [main] ssh 6028 start_thread_socket: opened new socket 0x688
   52  299847 [main] ssh 6028 start_thread_socket: exitsock 0x688
   41  299888 [main] ssh 6028 start_thread_socket: stuff_start 0x23B724
  308  300196 [select_socket] ssh 6028 cygthread::stub: thread 
'select_socket', id 0x17B4, stack_ptr 0x190ACDC0

   49  300245

Re: 1.5.25: Intermittent hangs or network issues

2009-04-29 Thread Jim Marshall

Jim Marshall wrote:

Dave Korn wrote:

Jim Marshall wrote:

I do not have any firewall software running, 



Potential app conflicts:

ZoneAlarm Personal Firewall
Detected: HKLM Registry Key, Named file.



  Do you possibly suffer from the Cisco VPN client software that comes 
with a

built-in version of the core ZA firewall component?

cheers,
  DaveK


Hi Dave et al,
 I removed the cisco VPN, but I am still seeing the hangs. Also I guess 
I spoke too soon about other apps not hanging as I have noticed xemacs 
and xterm hanging when starting (the GUI doesn't open but ctrl-c works 
to quit them from the terminal I started them from) - it is also happens 
far less often then ssh and cvs.


I've attached a new cygcheck, I know it still says that the zone alarm 
entry is still present but I don't know of any app that is using it and 
I don't see any processes running, so I am a bit of a loss as to why 
that is there.


Thanks again



oops, let me attach the file...


Cygwin Configuration Diagnostics
Current System Time: Wed Apr 29 15:11:11 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   c:\PROGRA~1\MICROS~4\VC98\BIN
c:\Java\JDK1.5.0\bin
C:\cygwin\home\jmars\ant\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\PROGRA~1\MICROS~4\Common\msdev98\BIN
c:\PROGRA~1\MICROS~4\VC98\BIN
c:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT
c:\PROGRA~1\MICROS~4\Common\TOOLS
.
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\home\jmars\ant\bin
c:\Program Files\PC Connectivity Solution\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI.ACE\
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\wincvs\cvsnt
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\X11R6\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(jmars)GID: 513(None)
513(None)   544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(jmars)GID: 513(None)
513(None)   544(Administrators) 545(Users)

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

USER = 'jmars'
PWD = '/home/jmars'
HOME = '/home/jmars'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\jmars'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\jmars\Application Data'
HOSTNAME = 'wbem-sol-lap1'
XKEYSYMDB = '/usr/X11R6/lib/X11/XKeysymDB'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 14 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
CVSROOT = ':pserver:wb-jm...@re-lab:2402/wsitree'
WINDOWID = '8388643'
OLDPWD = '/home/jmars/wsitree/wsi/testsuite/bin'
USERDOMAIN = 'WBEM-SOL-LAP1'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
ANT_HOME = 'C:/cygwin/home/jmars/ant'
XAPPLRESDIR = '/usr/X11R6/lib/X11/app-defaults'
XTERM_SHELL = '/bin/bash'
XCMSDB = '/usr/X11R6/lib/X11/Xcms.txt'
!:: = '::\'
TEMP = '/cygdrive/c/DOCUME~1/jmars/LOCALS~1/Temp'
MSVCDIR = 'C:/PROGRA~1/MICROS~4/VC98'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
XNLSPATH = '/usr/X11R6/lib/X11/locale'
LIB = 
'C:/ms_sdk/lib;C:/PROGRA~1/MICROS~4/VC98/LIB;C:/PROGRA~1/MICROS~4/VC98/MFC/LIB;'
TERMCAP = 'xterm-r6|xterm|xterm X11R6 
version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:'
USERNAME = 'jmars'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
__COMPAT_LAYER = 'EnableNXShowUI '
JAVA_HOME = 'C:/Java/jdk1.5.0'
CYGWIN_ROOT = '\cygwin'
USERPROFILE = 'C:\Documents and Settings\jmars'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\WBEM-SOL-LAP1'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin'
XTERM_LOCALE = 'C'
XTERM_VERSION = 'Cygwin 6.8.99.903(242)'
SHLVL = '1'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
LOGNAME = 'jmars'
TMP = '/cygdrive/c/DOCUME~1/jmars/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\orions-sword\hp LaserJet 1300 PCL 6'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0e08'
MSDEVDIR = 'C:/PROGRA~1/MICROS~4/Common/msdev98'
RUN = '\cygwin\bin\run -p /usr/X11R6/bin'
INFOPATH = '/usr/local/info:/usr/share/info:/usr

1.5.25: Intermittent hangs or network issues

2009-04-28 Thread Jim Marshall
I was using a previous version of cygwin (sorry don't know the version, 
but I think it was last updated summer 2008?) without any issues. About 
a month ago I ran cygwin setup to update my version to the latest. I did 
have some issues with X, but I was able to remedy them by searching the 
list and google.


Ever since that install I get random network connectivity issues (or 
hangs) using SSH and cvs. Basically I issue a ssh command and sometimes 
it will just sit there forever and I need to manually kill it (kill -9), 
ctrl-c will not work. It seems to only happen to apps that access the 
network (ssh  cvs. xemacs, ls are not affected). I do not think it is a 
network issue as when ssh 'hangs' I can use putty without issue (and 
when cvs 'hangs' I can use wincvs with no problem). Typically what 
happens is I start cygwin and I can use ssh or cvs the first time. After 
that it seems to be a 30% chance of working. Sometimes doing it over and 
over it will eventually work.


I do not have any firewall software running, and I am using the free 
version of AVG anti-virus.


Any thoughts on what might be happening or what I can do to debug this 
further?


Thank you
Jim

Cygwin Configuration Diagnostics
Current System Time: Tue Apr 28 11:07:31 2009

Windows XP Professional Ver 5.1 Build 2600 Service Pack 3

Path:   c:\PROGRA~1\MICROS~4\VC98\BIN
c:\Java\JDK1.5.0\bin
C:\cygwin\home\jmars\ant\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\bin
c:\PROGRA~1\MICROS~4\VC98\BIN
c:\Java\JDK1.5.0\bin
C:\cygwin\home\jmars\ant\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\PROGRA~1\MICROS~4\Common\msdev98\BIN
c:\PROGRA~1\MICROS~4\VC98\BIN
c:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT
c:\PROGRA~1\MICROS~4\Common\TOOLS
c:\Program Files\PC Connectivity Solution\
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI.ACE\
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\wincvs\cvsnt

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(jmars)GID: 513(None)
513(None)   544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(jmars)GID: 513(None)
513(None)   544(Administrators) 545(Users)

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

USER = 'jmars'
PWD = '/home/jmars'
HOME = '/home/jmars'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\jmars'
MANPATH = 
'/usr/local/man:/usr/share/man:/usr/man:/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/ssl/man'
APPDATA = 'C:\Documents and Settings\jmars\Application Data'
HOSTNAME = 'wbem-sol-lap1'
TERM = 'xterm'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 14 Stepping 8, GenuineIntel'
WINDIR = 'C:\WINDOWS'
VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
WINDOWID = '2097187'
OLDPWD = '/home/jmars/wsitree/wsi'
USERDOMAIN = 'WBEM-SOL-LAP1'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
XTERM_SHELL = '/usr/bin/bash'
!:: = '::\'
TEMP = '/cygdrive/c/DOCUME~1/jmars/LOCALS~1/Temp'
MSVCDIR = 'C:/PROGRA~1/MICROS~4/VC98'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
LIB = 
'C:/PROGRA~1/MICROS~4/VC98/LIB;C:/PROGRA~1/MICROS~4/VC98/MFC/LIB;;C:/PROGRA~1/MICROS~4/lib'
TERMCAP = 'xterm-r6|xterm|xterm X11R6 
version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:'
USERNAME = 'jmars'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
__COMPAT_LAYER = 'EnableNXShowUI '
JAVA_HOME = 'c:/java/JDK1.5.0'
USERPROFILE = 'C:\Documents and Settings\jmars'
CLIENTNAME = 'Console'
PS1 = '\[\e]0;\w\a\]\n\[\e[32m\...@\h \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\WBEM-SOL-LAP1'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\bin'
XTERM_LOCALE = 'C'
XTERM_VERSION = 'Cygwin 6.8.99.903(242)'
SHLVL = '3'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
PROMPT = '$P$G'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
LOGNAME = 'jmars'
TMP = '/cygdrive/c/DOCUME~1/jmars/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = '\\orions-sword\hp LaserJet 1300 PCL 6'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0e08'
MSDEVDIR = 'C:/PROGRA~1/MICROS~4/Common/msdev98'
INFOPATH = 

Re: 1.5.25: Intermittent hangs or network issues

2009-04-28 Thread Jim Marshall

Dave Korn wrote:

Jim Marshall wrote:

I do not have any firewall software running, 



Potential app conflicts:

ZoneAlarm Personal Firewall
Detected: HKLM Registry Key, Named file.



  Do you possibly suffer from the Cisco VPN client software that comes with a
built-in version of the core ZA firewall component?

cheers,
  DaveK


I do have the Cisco VPN installed. I will try removing it.

Thanks!


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Issue with GDB under Cygwin and XP

2008-02-13 Thread Jim Marshall

Ray Hurst wrote:

Marco Atzeri wrote:

--- Ray Hurst [EMAIL PROTECTED] ha scritto:


Works fine on my Windows XP Pro machine using the

same GDB and gcc

version 3.4.4. What gcc version do you have?

The stack trace would indicate that the crash is

occurring before it

gets to your main function, since that code

doesn't have debug symbols

you get addresses.



Jim,
It's definitely crashing before getting to main and
I don't know why.
The tools versions are: gcc 4.2.3, binutils 2.17.50,
and gdb 6.5.50.

Ray


Hi Ray
I will bet on Gcc 4.2.3.

there are some reasons why on cygwin gcc 3.4.4
is still the default version.

Regards
Marco




  ___ L'email della prossima 
generazione? Puoi averla con la nuova Yahoo! Mail: 
http://it.docs.yahoo.com/nowyoucan.html



Actually I was incorrect. The dump I gave you was for gcc 3.4.4.

I got it to run under gcc 4.2.3 using Insight.

I modified the program as follows:
/*

 


 Name: HelloWorld.c
 Author  : Ray Hurst
 Version :
 Copyright   : Your copyright notice
 Description : Hello World in C, Ansi-style

 


 */

#include stdio.h
#include stdlib.h

int main(void) {
int a,b,c;
a = 10;
b = 20;
c = 30;
puts(!!!Hello World!!!); /* prints !!!Hello World!!! */
printf(\na = %d,  b = %d,  c = %d\n, a,b,c);
return EXIT_SUCCESS;
}

When I step through the program I cannot get the Local Variables window 
to update the variables when I step over the lines setting the variable.


I look at the stack area in memory they definitely are updating.
Ray



Local variables window? Is that in insight? I've not used insight so 
can't really help you there.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: xemacs

2008-02-12 Thread Jim Marshall

Taras D wrote:

Hi everyone,

Can anyone tell me why the following has occurred.

When I first installed cygwin, I pretty much just installed xemacs (no
emacs and a whole bunch of other stuff). Xemacs could be started from
the bash script (black background) with the command 'xemacs '. It
would start in a new window with a white background.

Now that I have installed a whole bunch of other cygwin things:

1) I find I need to run startxwin.sh, then type 'xemacs ' in the
shell with a white background (no longer runs from the black
background)
2) xemacs now starts with a grey bacground (?!)

How come this has changed? Is it a different version of xemacs?

Thanks all

I would suspect you installed the X Server functionality which in turn 
installed the X Windows version of that program. To start xemacs without 
it starting a new window use the -nw' command line option (xemacs -nw). 
You should be able to do this from the non-X cygwin terminal (the one 
you refer to as the black windows)



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Issue with GDB under Cygwin and XP

2008-02-12 Thread Jim Marshall

Ray Hurst wrote:

I'm running under Windows XP and Cygwin.

I ran GDB on a simple C program and captured the output (below).
I have a few questions:

Why can I run the program several times with no errors but as soon as I 
set a breakpoint at main it gets a SIGSEGV fault?


Why does the backtrace show only addresses?


C:\Documents and Settings\Ray 
Hurst\workspace\CDT\HelloWorld-ANSIC\Debuggdb Hel

loWorld-ANSIC.exe
GNU gdb 6.5.50.20060706-cvs (cygwin-special)
Copyright (C) 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you 
are
welcome to change it and/or distribute copies of it under certain 
conditions.

Type show copying to see the conditions.
There is absolutely no warranty for GDB.  Type show warranty for details.
This GDB was configured as i686-pc-cygwin...
(gdb) list
5Version :
6Copyright   : Your copyright notice
7Description : Hello World in C, Ansi-style
8 ===
=
9*/
10
11  #include stdio.h
12  #include stdlib.h
13
14  int main(void) {
(gdb) list 20
15  puts(!!!Hello World!!!); /* prints !!!Hello World!!! */
16  return EXIT_SUCCESS;
17  }
(gdb) run
Starting program: /cygdrive/c/Documents and Settings/Ray 
Hurst/workspace/CDT/Hel

loWorld-ANSIC/Debug/HelloWorld-ANSIC.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
!!!Hello World!!!

Program exited normally.
(gdb) run
Starting program: /cygdrive/c/Documents and Settings/Ray 
Hurst/workspace/CDT/Hel

loWorld-ANSIC/Debug/HelloWorld-ANSIC.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll
!!!Hello World!!!

Program exited normally.
(gdb) b main
Breakpoint 1 at 0x401050: file ../src/HelloWorld-ANSIC.c, line 14.
(gdb) run
Starting program: /cygdrive/c/Documents and Settings/Ray 
Hurst/workspace/CDT/Hel

loWorld-ANSIC/Debug/HelloWorld-ANSIC.exe
Loaded symbols for /cygdrive/c/WINDOWS/system32/ntdll.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/kernel32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/cygwin1.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/advapi32.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/rpcrt4.dll
Loaded symbols for /cygdrive/c/WINDOWS/system32/secur32.dll

Program received signal SIGSEGV, Segmentation fault.
[Switching to thread 4896.0x1314]
0x07f4 in ?? ()
(gdb) bt
#0  0x07f4 in ?? ()
#1  0x in ?? ()
(gdb)

Ray


Works fine on my Windows XP Pro machine using the same GDB and gcc 
version 3.4.4. What gcc version do you have?


The stack trace would indicate that the crash is occurring before it 
gets to your main function, since that code doesn't have debug symbols 
you get addresses.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: use cygwin GCC from a windows application

2007-12-28 Thread Jim Marshall

Niklas Molin wrote:

I'm quite new to cygwin, so this might be an easy question to answer (I've 
tried to search on the web for a solution).
I'm using a windows program to edit the code in my project.
To compile the project I want to use a GCC-version running in cygwin.
How can I from the windows application (like starting the cmd and send an 
argument there) start the compilation under cygwin (so I don't have to manually 
go to cygwin and type the command each time I want to recompile).

Thanks,
Niklas

_
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

You should just setup the environment so that the cygwin/bin directory 
is in the path, then you can have your program start gcc directly.


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Reading and writing to a cygwin terminal from a WINMAIN() windows application?

2007-11-29 Thread Jim Marshall

Josef Karthauser wrote:

Hi there,

I'm writing a windows winmain() application which talks to the
console, and am having trouble getting it to write() to a cygwin console
window.  I was hoping that someone on this list might be able to aid me.

The application is a dual graphics/CLI program, and so needs to detect
whether it is running in a terminal first.  If it is then it runs in
console mode, otherwise it opens a graphics window (using directx).  As
such it has a winmain() instead of a main(), and therefore the
stdin/stdout channels aren't immediately available to it.

Here's what it does:

// If we can attach to the parent terminal then we were run in a
console window.
if (AttachConsole(ATTACH_PARENT_PROCESS))
{
m_CLIApp = true;
}

Have you tried to call GetLastError to see why the attach fails?


...

If (m_CLIApp) {
// XXX Test output to the console.  Why doesn't this
approach work in a cygwin console window?
// XXX Where does the output go in that case?
char s[] = This is the console\r\n;
unsigned long cChars;
WriteConsole(GetStdHandle(STD_OUTPUT_HANDLE), s,
lstrlen(s), cChars, NULL);
}

Does anyone know why this doesn't output to a cygwin console, although
it does if started in a cmd shell?

Joe




--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Library issues with GCC - libuser32

2007-11-19 Thread Jim Marshall

Jeff Bader wrote:

Using GCC: For ld to find -luser32, I downloaded a version of w32api
and then copied the libuser32 file into the main cygwin library. Why
was this necessary to use GCC? Why could I not just install the devel
package and be done with it?

Thank you,

Jeff




Because the devel package in Cygwin is for making CYGWIN apps, not 
Windows apps. To make Windows apps you need to install the mingw tools 
and then use the -mno-cygwin option so the system knows to use the 
mingw tools to build a Windows program.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



GDB with VC++ components

2007-11-01 Thread Jim Marshall

Hi,
 I realize this is probably a GDB question, I sent a message to that 
alias but have not gotten a response. I am hoping someone on this list 
may have some experience with this and can answer the question.


The basic question is: Should I be able to use GDB to load and execute 
a VC++ application, and debug DLLs that application loads that where 
built with gcc?


Basically I have a program compiled with MSVC 6 (Release). This program 
loads DLL's and executes them. I have built a DLL using GCC [gcc (GCC) 
3.4.4 (cygming special, gdc 0.12, using dmd 0.125)]. The program loads 
the DLL and executes it correctly (meaning that the dll is loaded and 
functions called). I need to debug the DLL, so I would like to attach 
GDB to the running process, then set a break point in my DLL and debug 
it. When I do this GDB seems to hang loading symbols.


Any thoughts appreciated
Jim

Windows XP Pro SP2
GNU gdb 6.5.50.20060706-cvs (cygwin-special)


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: can't read sequential files

2007-10-30 Thread Jim Marshall

zirtik wrote:

Hi, I'm using cygwin and windows XP together with Eclipse IDE and CDT. I have
a following piece of code:



int i;
fp = fopen (phi.txt,r);

for( i = 0; i  51; i++ ) {
fscanf(fp, %d\n, original_phi[i]); 
}

...

and when I try to compile it, it compiles well, but when I try to run it I
get the following error message:

655 [main] Genetics 3012 _cygtls::handle_exceptions: Exception:
STATUS_ACCESS_VIOLATION
2540 [main] Genetics 3012 open_stackdumpfile: Dumping stack trace to
Genetics.exe.stackdump

I added the following line to check if fp is always NULL:

if (fp==NULL)
{
   printf(error, NULL pointer!\n);
   return(1);
}

and it is always NULL. I put the phi.txt in the same directory as the
executable so it is in:

\ProjectFolder\Debug  


folder as well as in

\ProjectFolder\src

folder. I still keep getting the same error. I added the current directory
. to the PATH but it didn't help. This code used to run on another PC with
Eclipse and cygwin again but this is the first time I am having problems
with it on a different machine. Any help would be greatly appreciated. 


Thanks.



Maybe you don't have read access to the file? You could also check errno 
(see perror, or strerror functions) to see what the error is.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: Configure and Installing tar.gz2?

2007-10-30 Thread Jim Marshall

Krycek Dubois wrote:

Hi,

I want to update my version of Naim to the latest version which is 0.11.8.3.1. 
You can find it
here:

http://naim.n.ml.org/download

I have downloaded the source but I have no idea how to compile this. The file 
extension is tar.bz2

I have searched the mailing list but couldn't find the answer to my question. 

My question is, how do I install tar.bz2? What tools do I need to compile this? 


My goal is to try to compile and install the latest version of Naim(0.11.8.3.1)

Currently Naim is installed in the following directory:
C:\cygwin\home\user name

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




.bz2 = bzip2 file, you need bunzip2

tar is tar, use the 'tar' tool.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: startxwin.sh crashing on XP pro

2007-05-18 Thread Jim Marshall

Larry Hall (Cygwin X) wrote:

Jim Marshall wrote:

My co-worker just installed cygwin, when he tries to run startxwin.sh it
crashes.

A fatal error has occurred and Cygwin/X will now exit.
Please open /tmp/XWin.log for more information

Vendor: The Cygwin/X Project
Release: 6.8.99.901-4
Contact: xxx
XWin was started with the following command line

XWin -multiwindow -clipboard -silent-dup-error


I've read a few posts on this and tried the solutions (setting XWin :2,
the font mount problem) to no avail. Can you suggest any other options
to get it to work on his machine?



I'd suggest the easiest solution to a working install would be to wipe the
existing and reinstall choosing Unix/binary instead of DOS/text.


Thank you - that fixed his problem!

-Jim


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://x.cygwin.com/docs/
FAQ:   http://x.cygwin.com/docs/faq/



startxwin.sh crashing on XP pro

2007-05-17 Thread Jim Marshall
My co-worker just installed cygwin, when he tries to run startxwin.sh it 
crashes.


A fatal error has occurred and Cygwin/X will now exit.
Please open /tmp/XWin.log for more information

Vendor: The Cygwin/X Project
Release: 6.8.99.901-4
Contact: xxx
XWin was started with the following command line

XWin -multiwindow -clipboard -silent-dup-error


I've read a few posts on this and tried the solutions (setting XWin :2, 
the font mount problem) to no avail. Can you suggest any other options 
to get it to work on his machine?


Thanks in advance
-Jim

p.s.
 I have attached cygcheck -svr output and the cwin log.

Cygwin Configuration Diagnostics
Current System Time: Fri May 18 03:20:43 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\j2sdk1.4.2_04\bin
C:\cygwin\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\Intel\DMIX

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

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

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

USER = 'personl'
PWD = '/home/personl'
HOME = '/home/personl'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\personl'
MANPATH = 
'/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/share/qt3/doc/man:/usr/X11R6/man'
APPDATA = 'C:\Documents and Settings\personl\Application Data'
HOSTNAME = 'user4'
TERM = 'cygwin'
PROCESSOR_IDENTIFIER = 'x86 Family 15 Model 6 Stepping 4, GenuineIntel'
WINDIR = 'C:\WINDOWS'
QTDIR = '/usr/lib/qt3'
OLDPWD = '/usr/bin'
USERDOMAIN = 'USER4'
OS = 'Windows_NT'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
!:: = '::\'
TEMP = '/cygdrive/c/DOCUME~1/personl/LOCALS~1/Temp'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
USERNAME = 'personl'
PROCESSOR_LEVEL = '15'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
JAVA_HOME = 'C:\j2sdk1.4.2_04\'
USERPROFILE = 'C:\Documents and Settings\personl'
CLIENTNAME = 'Console'
QMAKESPEC = '/usr/lib/qt3/mkspecs/cygwin-g++'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
LOGONSERVER = '\\USER4'
PROCESSOR_ARCHITECTURE = 'x86'
!C: = 'C:\cygwin\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 = '/cygdrive/c/DOCUME~1/personl/LOCALS~1/Temp'
SYSTEMROOT = 'C:\WINDOWS'
PRINTER = 'HP Officejet 4300 series'
CVS_RSH = '/bin/ssh'
PROCESSOR_REVISION = '0604'
PKG_CONFIG_PATH = '/usr/X11R6/lib/pkgconfig'
INFOPATH = '/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = 'C:\Program Files'
NUMBER_OF_PROCESSORS = '2'
SESSIONNAME = 'Console'
COMPUTERNAME = 'USER4'
_ = '/usr/bin/cygcheck'
POSIXLY_CORRECT = '1'

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

c:  hd  NTFS 40005Mb  22% CP CS UN PA FC 
d:  hd  NTFS 36310Mb   9% CP CS UN PA FC 
e:  cd N/AN/A

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

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

  103k 2007/04/06 C:\cygwin\bin\cygapr-1-0.dll - os=4.0 img=1.0 sys=4.0
  cygapr-1-0.dll v0.0 ts=2007/4/7 5:10
   

Re: can not exec cc1.exe

2007-05-10 Thread Jim Marshall

Brian Dessent wrote:

Jim Marshall wrote:


Here is the cygcheck -svr output.


Hmm, you're using a local NTFS drive and $CYGWIN is not set to anything
strage.  So no more clues there.

What are the attributes of the .lnk files?  What happens if you manually
delete them and recreate them as working symlinks by hand?

Brian


Brian,
 Again many thanks for the help. I manually created the links and it 
resulted in the same behavior.I did some more looking around and it 
appeared that the /usr/lib/gcc/3.4.4/i686-pc-mingw directory suffered 
the same problem (it had .lnk files). So I went into the cygwin 
setup.exe and uninstalled all of the mingw stuff.  Setup complained that 
parts of the main gcc stuff required mingw tools, I unchecked the box so 
that setup would remove the mingw stuff anyway. When I looked on the HD 
all of the mingw directories were still there. I manually deleted all 
the files  in these directories (/usr/i686-pc-mingw and 
/usr/lib/gcc/i686-pc-mingw32).  I then reran the cygwin setup and had it 
install the mingw tools. This fixed the problem. I am presuming that the 
setup was not actually erasing the mingw files from the HD (as evidenced 
by what I saw) so that was causing the problem in that when setup was 
not properly over-writing the existing files.


Again thanks.
-Jim



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



can not exec cc1.exe

2007-05-09 Thread Jim Marshall

Hello,
 I've been using cygwin for a while now, we have been using the make 
along with MS C compiler (cl.exe) and it has worked extremely well. 
Recently we decided to switch to use gcc for some projects and it works 
great, but we wanted to make executables that did not require 
cygwin1.dll. As such we installed the mingw cygwin packages, but when we 
use the -mno-cygwin option I get an error that it can not exec cc1.exe


$ cc -mno-cygwin main.c
cc: installation problem, cannot exec 'cc1': No such file or directory

I have tried uninstalling and reinstalling the mingw packages with no 
luck. The links appear ok in the mingw directory:


 /usr/i686-pc-mingw32
$ ls
bin.lnk*  include.lnk*  lib.lnk*

But I'm not sure how to verify that they are valid.

Just to be clear, using gcc works fine it only fails with the 
-mno-cygwin option.


The machine I am on is a Windows XP Pro with SP2, with gig of RAM. It's 
a core duo 1.6GHz.


Hope I have provided enough information, if not let me know.

Thanks
-Jim
Cygwin Package Information
Package  VersionStatus
_update-info-dir 00489-1OK
alternatives 1.3.29a-1  OK
ash  20040127-3 OK
base-files   3.7-1  Incomplete
base-passwd  2.2-1  OK
bash 3.2.9-10   OK
binutils 20060817-1 OK
bison2.3-1  OK
bzip21.0.3-2OK
compface 1.5.2-1OK
coreutils6.7-2  OK
crypt1.1-1  OK
cvs  1.11.17-1  OK
cygrunsrv1.17-1 OK
cygutils 1.3.1-1OK
cygwin   1.5.23-2   OK
cygwin-doc   1.4-4  Incomplete
diffutils2.8.7-1OK
editrights   1.01-1 OK
expat1.95.8-1   OK
findutils4.3.2-3OK
flex 2.5.4a-3   OK
fontconfig   2.4.1-4OK
freetype22.1.9-1OK
gawk 3.1.5-4OK
gcc  3.4.4-3OK
gcc-core 3.4.4-3OK
gcc-g++  3.4.4-3OK
gcc-mingw20040810-1 OK
gcc-mingw-core   20050522-1 OK
gcc-mingw-g++20050522-1 OK
gdb  20060706-2 OK
gdbm 1.8.3-8OK
gettext  0.15-1 OK
gmp  4.2.1-1OK
grep 2.5.1a-2   OK
groff1.18.1-2   Incomplete
gzip 1.3.9-1OK
indent   2.2.9-1OK
less 381-1  OK
libapr1  1.2.7-1OK
libaprutil1  1.2.7-1OK
libbz2_1 1.0.3-2OK
libcharset1  1.11-1 OK
libdb4.2 4.2.52-1   OK
libdb4.3 4.3.28-1   OK
libecpg5 8.1.4-2OK
libfontconfig1   2.4.1-4OK
libfreetype262.1.9-1OK
libgdbm  1.8.0-5OK
libgdbm-devel1.8.3-8OK
libgdbm3 1.8.3-3OK
libgdbm4 1.8.3-8OK
libgmp3  4.2.1-1OK
libiconv 1.11-1 OK
libiconv21.11-1 OK
libintl  0.10.38-3  OK
libintl1 0.10.40-1  OK
libintl2 0.12.1-3   OK
libintl3 0.14.5-1   OK
libintl8 0.15-1 OK
libjpeg626b-12  OK
libncurses5  5.2-1  OK
libncurses6  5.2-8  OK
libncurses7  5.3-4  OK
libncurses8  5.5-3  OK
libneon250.25.5-1   OK
libopenldap2_2_7 2.2.26-2   OK
libopenldap2_3_0 2.3.30-1   OK
libpcre0 6.6-1  OK
libpgtypes2  8.1.4-2OK
libpng12 1.2.12-1   OK
libpopt0 1.6.4-4OK
libpq4   8.0.7-1OK
libreadline4 4.1-2  OK
libreadline5 4.3-5  OK
libreadline6 5.2.1-4OK
libsasl2 2.1.19-3   OK
libtiff5 3.8.2-3OK
libXft   2.1.6-1OK
libXft1  1.0.0-1OK
libXft2  2.1.6-1OK
libxml2  2.6.26-1   OK
login1.9-7  OK
m4   1.4.8-1OK
make 3.80-1 OK
man  1.6d-2 OK
mingw-runtime3.11-1 OK
minires  1.01-1 OK
mktemp   1.5-4  OK
ncurses

Re: can not exec cc1.exe

2007-05-09 Thread Jim Marshall

Brian Dessent wrote:

Jim Marshall wrote:


I have tried uninstalling and reinstalling the mingw packages with no
luck. The links appear ok in the mingw directory:

  /usr/i686-pc-mingw32
$ ls
bin.lnk*  include.lnk*  lib.lnk*


You've got something installed incorrectly then.  If they are showing as
.lnk files to ls then that means they have the incorrect attributes set
and aren't being recognised as symlinks but instead regular files. 
These .lnk files should have the 'R' attribute and should appear as

symlinks to ls, i.e. ls -l should show:

lrwxrwxrwx   1 brian Users 21 Sep 22  2004 bin - ../i686-pc-cygwin/bin/
lrwxrwxrwx   1 brian Users 16 Sep 22  2004 include - ../include/mingw/
lrwxrwxrwx   1 brian Users 12 Sep 22  2004 lib - ../lib/mingw/

If you had attached the requested cygcheck -srv output, I would be able
to look and see what kind of filesystem you have your /usr on, and maybe
that would have given more clues as to what's wrong here, but since you
didn't, I can't.

Brian


Hi,
 Thanks for taking the time to respond Brian, sorry for not including 
the correct report, obviously ran cgycheck with the wrong parameters :(


Here is the cygcheck -svr output.

-Jim


Cygwin Configuration Diagnostics
Current System Time: Wed May 09 22:34:46 2007

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   c:\PROGRA~1\MICROS~4\VC98\BIN
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\PROGRA~1\MICROS~4\Common\msdev98\BIN
c:\PROGRA~1\MICROS~4\VC98\BIN
c:\PROGRA~1\MICROS~4\Common\TOOLS\WINNT
c:\PROGRA~1\MICROS~4\Common\TOOLS
.
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\home\jmars\ant\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI.ACE\
c:\Program Files\Microsoft SQL Server\80\Tools\Binn\
c:\Program Files\Common Files\Compuware
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\X11R6\bin

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 1006(jmars)GID: 513(None)
513(None)   544(Administrators) 545(Users)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 1006(jmars)GID: 513(None)
513(None)   544(Administrators) 545(Users)

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

USER = 'jmars'
PWD = '/home/jmars/temp/pi'
HOME = '/home/jmars'
MAKE_MODE = 'unix'

HOMEPATH = '\Documents and Settings\jmars'
APPDATA = 'C:\Documents and Settings\jmars\Application Data'
MANPATH = '/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
HOSTNAME = 'wbem-sol-lap1'
XKEYSYMDB = '/usr/X11R6/lib/X11/XKeysymDB'
PROCESSOR_IDENTIFIER = 'x86 Family 6 Model 14 Stepping 8, GenuineIntel'
TERM = 'xterm'
VS80COMNTOOLS = 'C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\'
WINDIR = 'C:\WINDOWS'
CVSROOT = ':pserver:[EMAIL PROTECTED]:/Repository'
WINDOWID = '2097166'
OLDPWD = '/usr/i686-pc-mingw32'
USERDOMAIN = 'WBEM-SOL-LAP1'
ALLUSERSPROFILE = 'C:\Documents and Settings\All Users'
OS = 'Windows_NT'
ANT_HOME = 'C:\cygwin\home\jmars\ant'
XAPPLRESDIR = '/usr/X11R6/lib/X11/app-defaults'
!:: = '::\'
XCMSDB = '/usr/X11R6/lib/X11/Xcms.txt'
XTERM_SHELL = '/usr/bin/bash'
COMMONPROGRAMFILES = 'C:\Program Files\Common Files'
MSVCDIR = 'C:/PROGRA~1/MICROS~4/VC98'
TEMP = '/cygdrive/c/DOCUME~1/jmars/LOCALS~1/Temp'
XNLSPATH = '/usr/X11R6/lib/X11/locale'
LIB = 
'C:/ms_sdk/lib;C:/PROGRA~1/MICROS~4/VC98/LIB;C:/PROGRA~1/MICROS~4/VC98/MFC/LIB;'
TERMCAP = 'xterm-r6|xterm|xterm X11R6 
version:am:km:mi:ms:xn:co#80:it#8:li#24:AL=\E[%dL:DC=\E[%dP:DL=\E[%dM:DO=\E[%dB:LE=\E[%dD:RI=\E[%dC:UP=\E[%dA:ae=^O:al=\E[L:as=^N:bl=^G:cd=\E[J:ce=\E[K:cl=\E[H\E[2J:cm=\E[%i%d;%dH:cr=^M:cs=\E[%i%d;%dr:ct=\E[3g:dc=\E[P:dl=\E[M:do=^J:ei=\E[4l:ho=\E[H:im=\E[4h:is=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:k5=\E[15~:k6=\E[17~:k7=\E[18~:k8=\E[19~:k9=\E[20~:kD=\E[3~:kI=\E[2~:kN=\E[6~:kP=\E[5~:kd=\EOB:ke=\E[?1l\E:kh=\E[1~:kl=\EOD:kr=\EOC:ks=\E[?1h\E=:ku=\EOA:le=^H:md=\E[1m:me=\E[m:mr=\E[7m:nd=\E[C:rc=\E8:sc=\E7:se=\E[m:sf=^J:so=\E[7m:sr=\EM:ta=^I:te=\E[2J\E[?47l\E8:ti=\E7\E[?47h:ue=\E[m:up=\E[A:us=\E[4m:kb=\010:'
USERNAME = 'jmars'
PROCESSOR_LEVEL = '6'
FP_NO_HOST_CHECK = 'NO'
SYSTEMDRIVE = 'C:'
CYGWIN_ROOT = '\cygwin'
JAVA_HOME = 'C:/Java/jdk1.5.0'
CLIENTNAME = 'Console'
USERPROFILE = 'C:\Documents and Settings\jmars'
LOGONSERVER = '\\WBEM-SOL-LAP1'
PS1 = '\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
!C: = 'C:\cygwin\usr\X11R6\bin'
PROCESSOR_ARCHITECTURE = 'x86'
XTERM_VERSION = 'Cygwin 6.8.2.0(202)'
SHLVL = '2'
PATHEXT = '.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
HOMEDRIVE = 'C:'
COMSPEC = 'C:\WINDOWS\system32\cmd.exe'
PROMPT = '$P$G'
SYSTEMROOT = 'C:\WINDOWS'
TMP = '/cygdrive/c/DOCUME~1/jmars/LOCALS~1/Temp'
LOGNAME = 'jmars'
PROCESSOR_REVISION = '0e08'
CVS_RSH = '/bin/ssh'
PRINTER = '\\orions-sword\hp LaserJet 1300 PCL 6'
CLASSPATH = 'C:\Program Files\Common Files\Compuware