RE: fate/resolution/location of things like "sys/sockio.h"
Mike Marchywka wrote on Tuesday, May 27, 2008 2:53 PM:: > $ cygcheck ./pktdump_ex.exe | sed -e 's/ /./g' [snip] > ..C:\WINNT\cygwin1.dll ^ This is asking for trouble. Although it's probably nothing to do with the current topic, chances are that it's out of date and likely to be the cause of all sorts of spurious errors. The only cygwin1.dll on your system should be in /bin (aka /usr/bin) Phil -- One of the following statements is true: This email has not been scanned by Ascribe PLC using Microsoft Antigen for Exchange. This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange. -- 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: fate/resolution/location of things like "sys/sockio.h"
>> ..C:\WINNT\cygwin1.dll > ^ > > This is asking for trouble. Although it's probably nothing to do I didn't put it there, I thought that was normal as there are plenty of cyg* dll's there. At some point my install did get messed, which could be a part of the problem. However, everything else appears to work and AFAIK the dll's are consistent. Now that I think about it, I have had a problem with cdrw since a recent update but that was a fairly overt problem and I thought that it was just built against an earlier cygwin1.dll so it didn't seem like a mystery ( still runs from DOS window if the wrong cygwin1.dll hasn't been previously loaded). Of more interest is probably the relationship between cygwin and MSVCRT as things that mysteriously work sometimes may be worth examining. I guess they could just avoid each other but it would be nice to know what the potential problems are. Mike Marchywka 586 Saint James Walk Marietta GA 30067-7165 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency only [EMAIL PROTECTED] Note: If I am asking for free stuff, I normally use for hobby/non-profit information but may use in investment forums, public and private. Please indicate any concerns if applicable. Note: Hotmail is possibly blocking my mom's entire ISP - try me on [EMAIL PROTECTED] if no reply here. Thanks. > Subject: RE: fate/resolution/location of things like "sys/sockio.h" > Date: Tue, 27 May 2008 17:44:49 +0100 > From: [EMAIL PROTECTED] > To: cygwin@cygwin.com > > Mike Marchywka wrote on Tuesday, May 27, 2008 2:53 PM:: > >> $ cygcheck ./pktdump_ex.exe | sed -e 's/ /./g' > [snip] >> ..C:\WINNT\cygwin1.dll > ^ > > This is asking for trouble. Although it's probably nothing to do > with the current topic, chances are that it's out of date and likely > to be the cause of all sorts of spurious errors. > > The only cygwin1.dll on your system should be in /bin (aka /usr/bin) > > > Phil > > -- > One of the following statements is true: > This email has not been scanned by Ascribe PLC using Microsoft Antigen > for Exchange. > This email has been scanned by Ascribe PLC using Microsoft Antigen for > Exchange. > > -- > 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/ > _ Give to a good cause with every e-mail. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?souce=EML_WL_ GoodCause -- 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: fate/resolution/location of things like "sys/sockio.h"
Mike Marchywka wrote on 27 May 2008 18:12: >>> ..C:\WINNT\cygwin1.dll >> ^ >> >> This is asking for trouble. Although it's probably nothing to do > > > I didn't put it there, I thought that was normal as there are plenty of > cyg* dll's there. Well, it's "normal for a 3PP". Which is abnormal by everyone else's standards... cheers, DaveK -- Can't think of a witty .sigline today -- 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/
rsync immediately hangs when connecting via ssh (still trying to fix, revisited from Aug 07)
I can scp/ssh fine to the target with ssh keys installed or not, only rsync hangs immediately. -This_hangs--- $ rsync -av fight.swf [EMAIL PROTECTED]: cmd= machine=lanfreak.com user=lanfreak path=cmd[0]=ssh cmd[1]=-l cmd[2]=lanfreak cmd[3]=lanfreak.com cmd[4]=rsync cmd[5]=--server cmd[6]=-vlogDtpr cmd[7]=. opening connection using ssh -l lanfreak lanfreak.com rsync --server -vlogDtpr . --have to exit with control-c, but ssh never exits and must be killed manually- Previously piping issues in rsync (http://article.gmane.org/gmane.os.cygwin/91650/match=rsync+hangs+immediately) were brought to my attention. With due respect to previous responders the symptoms don't seem to be the same and I don't believe it's related. In support of my understanding when I try with --blocking-io OR --no-blocking-io it still behaves the same. This is windows XP pro, I've just run the cygwin setup today to update all applications. < This works fine-- $ ssh [EMAIL PROTECTED] Last login: Tue May 27 20:17:38 2008 from xxx.phlapa.fios.verizon.net --/works> Thanks for any input. Joel -- (a sr systems admin) -- 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: rsync immediately hangs when connecting via ssh (still trying to fix, revisited from Aug 07)
Unfortunately rsync is a lost cause on cygwin until the underlying pipe issue or whatever it is can be fix. Give this has been about for years I wouldn't hold you breath for this. Look for an alternative like rsync daemon mode or using SFU. N.B. Its not just rsync scp under cygwin is also produces totally erratic transfer rates and stalls due to the same issue. Regards Steve - Original Message - From: "Joel Harrison" <[EMAIL PROTECTED]> I can scp/ssh fine to the target with ssh keys installed or not, only rsync hangs immediately. This e.mail is private and confidential between Multiplay (UK) Ltd. and the person or entity to whom it is addressed. In the event of misdirection, the recipient is prohibited from using, copying, printing or otherwise disseminating it or any information contained in it. In the event of misdirection, illegible or incomplete transmission please telephone +44 845 868 1337 or return the E.mail to [EMAIL PROTECTED] -- 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't make Wodim see my cd
Hi all, I noticed that the newest release includes the cdrecord replacement wodim. This is nice because I'm sort of stuck when I want record DVD's. Here is the issue: I'm on Vista Ult. A version of cdrecord that I built myself back when Dinosaurs ruled the earth (WDRE) runs great, but doesn't recognize DVD's. On the REAL (old cdrecord) I identify my cdrom as follows: [EMAIL PROTECTED]:/usr/share/doc/cdrkit-1.1.7.1> /usr/local/cdrecord/cdrecord -scanbus Cdrecord 2.0 (i686-pc-cygwin) Copyright (C) 1995-2002 Jörg Schilling Using libscg version 'schily-0.7' scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'TOSHIBA ' 'MK3252GSX ' 'LV01' Disk 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * scsibus2: 2,0,0 200) 'MATSHITA' 'DVD+-RW UJ-857G ' 'Z111' Removable CD-ROM 2,1,0 201) * 2,2,0 202) * 2,3,0 203) * 2,4,0 204) * 2,5,0 205) * 2,6,0 206) * 2,7,0 207) * Indicating that I have a DVD drive on fake scsi port 2,0,0... All is wonderful But on wodim: [EMAIL PROTECTED]:/usr/share/doc/cdrkit-1.1.7.1> wodim -scanbus scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) HOST ADAPTOR scsibus1: 1,0,0 100) 'TOSHIBA ' 'MK3252GSX ' 'LV01' Disk 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) HOST ADAPTOR End of story. I tried wodim dev=2,0,0 -v /tmp/cdimage Not recognized wodim dev=/dev/scd0 -v /tmp/cdimage Nothing useful ( I CAN dd from this dev ) wodim dev=e: -v /tmp/cdimage And it laughed at me. Is there a non-obvious syntax error here? I tried various permutations using things like dev=ASPI:... etc based on the wodim --devices and dev=help... But got nowhere. It indicates on the man page that Bruce -- 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: Urgent !!! Reg Linking sybase DLL in cygwin.
Hi, > > Yes, I am not able to link directly sybase .dll in g++ compiler in cygwin. > I have created .def file with help of dumpbin command. I have > modified the .def file. > My .def file will be > EXPORTS > >JagCppProcess_main >delete_JagCppProcess >new_JagCppProcess >new_JagSIOPStream > > With help of dlltool command i have created .a file also. Now i can > able to link and > i got the EXE also. But while running the exe, i got the error message > _cygtls::handle_exceptions: Exception: STATUS_ACCESS_VIOLATION > I want to clarify the following things > (i) Can i use dumpbin to get the .def file? > (ii) Why the exception thrown ? > > But when i run the same sample code arith.cpp in windows > environment, i am getting the result. You are meaning with MSVC? Or with mingw32 g++? You cannot link a c++ dll with a different compiler / linker at all in general. If this sybase.dll was not generated with the cygwin g++, you will not be able to link to it with the cygwin g++. There is the simple name mangling issue which you circumvented with the explicit .def file, and there is the conflict of underlying exceptions and memory models. A new/free in the sybase dll will not cooperate with a cygwin new/free. A sybase.dll exception will not be caught by your cygwin app. If it was generated with MSVC you have to use MSVC. Ask your vendor for a cygwin dll or sourcecode. == Hi I have created sample.dll in MSVC++ and i am able to link that dll in cygwin environment. Even i have tried with some other dlls which is generated in MSVC++, i am able to link and that EXE's also working fine. As you suggested the vendor are not support the cygwin environment and they didn't agree to give the source code also. The only option is I have to link some other way that sybase dll in cygwin.pls help. Regards Mani -- 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: Urgent !!! Reg Linking sybase DLL in cygwin.
On 2008-05-28 05:00Z, Mani kandan wrote: > > I have created sample.dll in MSVC++ and i am able to link that dll > in cygwin environment. > Even i have tried with some other dlls which is generated in MSVC++, > i am able to link and that EXE's also > working fine. Perhaps your sample dll does none of the problematic things Reini mentioned. However, if a C++ vendor dll, built with msvc, communicates through anything but a very restrictive subset of C++ (only the vendor can tell you that), then it can't be linked to code built with g++ to produce a valid program. It's not just difficult: it's simply not feasible. Here's another explanation: http://www.mingw.org/MinGWiki/index.php/MixingCompilers > As you suggested the vendor are not support the cygwin > environment and they didn't agree to give the > source code also. The only option is I have to link some other way > that sybase dll in cygwin.pls help. Probably your only option is to use msvc. -- 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/