X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: From: Mike Marchywka To: Subject: RE: fate/resolution/location of things like "sys/sockio.h" Date: Tue, 27 May 2008 09:53:07 -0400 In-Reply-To: References: <17275355 DOT post AT talk DOT nabble DOT com> <17290164 DOT post AT talk DOT nabble DOT com> <4830F08D DOT 6040505 AT cygwin DOT com> <17345729 DOT post AT talk DOT nabble DOT com> <4833813A DOT 7B6F7FAF AT dessent DOT net> <17405074 DOT post AT talk DOT nabble DOT com> <483583EE DOT 8030605 AT cygwin DOT com> <00e501c8bc1e$a44d0190$2708a8c0 AT CAM DOT ARTIMI DOT COM> <20080523000735 DOT GA23793 AT ednor DOT casa DOT cgf DOT cx> <483BBE3D DOT EDF663D3 AT dessent DOT net> Content-Type: text/plain; charset="Windows-1252" MIME-Version: 1.0 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id m4RDrhTj007525 Also, FWIW, I took a sample program in wpdpack and compiled it WITH cygwin ( all the makefiles that came with the download did use -mno-cygwin ) and it at least loaded ( it may function properly but I haven't checked), $ cygcheck ./pktdump_ex.exe | sed -e 's/ /./g' .\pktdump_ex.exe ..C:\WINNT\system32\wpcap.dll ....C:\WINNT\system32\KERNEL32.dll ......C:\WINNT\system32\ntdll.dll ....C:\WINNT\system32\WS2_32.dll ......C:\WINNT\system32\MSVCRT.DLL ......C:\WINNT\system32\ADVAPI32.DLL ........C:\WINNT\system32\RPCRT4.dll ......C:\WINNT\system32\WS2HELP.DLL ....C:\WINNT\system32\packet.dll ......C:\WINNT\system32\WanPacket.dll ........C:\WINNT\system32\NPPTools.dll ..........C:\WINNT\system32\MFC42u.DLL ............C:\WINNT\system32\GDI32.dll ..............C:\WINNT\system32\USER32.dll ..........C:\WINNT\system32\OLEAUT32.dll ............C:\WINNT\system32\ole32.dll ......C:\WINNT\system32\iphlpapi.dll ........C:\WINNT\system32\ICMP.dll ........C:\WINNT\system32\MPRAPI.dll ..........C:\WINNT\system32\SAMLIB.DLL ..........C:\WINNT\system32\NETAPI32.DLL ............C:\WINNT\system32\Secur32.dll ............C:\WINNT\system32\NTDSAPI.dll ..............C:\WINNT\system32\DNSAPI.DLL ................C:\WINNT\system32\WSOCK32.dll ..............C:\WINNT\system32\WLDAP32.DLL ............C:\WINNT\system32\NETRAP.dll ..........C:\WINNT\system32\ACTIVEDS.DLL ............C:\WINNT\system32\ADSLDPC.DLL ..........C:\WINNT\system32\RTUTILS.DLL ..........C:\WINNT\system32\SETUPAPI.DLL ............C:\WINNT\system32\USERENV.DLL ........C:\WINNT\system32\RASAPI32.dll ..........C:\WINNT\system32\rasman.dll ..........C:\WINNT\system32\TAPI32.dll ............C:\WINNT\system32\COMCTL32.DLL ............C:\WINNT\system32\SHLWAPI.DLL ........C:\WINNT\system32\DHCPCSVC.DLL ......C:\WINNT\system32\VERSION.dll ........C:\WINNT\system32\LZ32.DLL ..C:\WINNT\cygwin1.dll $ ./pktdump_ex.exe pktdump_ex: prints the packets of the network using WinPcap. Usage: pktdump_ex [-s source] Mike Marchywka 586 Saint James Walk Marietta GA 30067-7165 404-788-1216 (C)<- leave message 989-348-4796 (P)<- emergency only marchywka AT hotmail DOT com 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 marchywka AT yahoo DOT com if no reply here. Thanks. > From: marchywka AT hotmail DOT com > To: cygwin AT cygwin DOT com > Subject: RE: fate/resolution/location of things like "sys/sockio.h" > Date: Tue, 27 May 2008 07:03:55 -0400 > > >> Date: Tue, 27 May 2008 00:54:37 -0700 >> From: brian AT dessent DOT net >> Mike Marchywka wrote: >> >>> $ g++ nmapjunk.a libdnet-stripped/src/junkbin.a liblua/junkbin.a -Lnbase -lnbase -Lnsock/src -lnsock -Llibpcap -lpcap -liphlpapi -lws2_32 -lpcre -L. -lPacket >> >> I would not expect this to work in any case. Cygwin has no libpcap, so >> you must be using the native windows winpcap, which is not a Cygwin >> library (it's linked with MSVCRT.) >> > > I have winpcap for an earlier install of ShowTraffic which runs fine. The nmap download > comes with its own and getting everything consistent may be a problem but I can't > come up with a diagnostic that confirms death during packet.dll load. I guess that is > why I am more interested in diagnostic tools rather than expecting to find someone who > knows offhand how to link my c++ version of nmap :) > > Is there some simple way to get gdb to tell you what it was trying to do if it dies before getting > to main()? From what I could tell, you couldn't set a break point etc to diagnose the > CRT initialization stuff. As far as that goes, what tools are there for dumping object or "a" files? > > > Thanks. > > > > > Mike Marchywka > 586 Saint James Walk > Marietta GA 30067-7165 > 404-788-1216 (C)<- leave message > 989-348-4796 (P)<- emergency only > marchywka AT hotmail DOT com > 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 marchywka AT yahoo DOT com if no reply > here. Thanks. > > >> Date: Tue, 27 May 2008 00:54:37 -0700 >> From: brian AT dessent DOT net >> To: marchywka AT hotmail DOT com >> CC: cygwin AT cygwin DOT com >> Subject: Re: fate/resolution/location of things like "sys/sockio.h" >> >> Mike Marchywka wrote: >> >>> $ g++ nmapjunk.a libdnet-stripped/src/junkbin.a liblua/junkbin.a -Lnbase -lnbase -Lnsock/src -lnsock -Llibpcap -lpcap -liphlpapi -lws2_32 -lpcre -L. -lPacket >> >> I would not expect this to work in any case. Cygwin has no libpcap, so >> you must be using the native windows winpcap, which is not a Cygwin >> library (it's linked with MSVCRT.) >> >> Brian >> >> -- >> 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/ >> > > _________________________________________________________________ > Make every e-mail and IM count. Join the i’m Initiative from Microsoft. > http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ MakeCount > > -- > 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/ > _________________________________________________________________ Change the world with e-mail. Join the i’m Initiative from Microsoft. http://im.live.com/Messenger/IM/Join/Default.aspx?source=EML_WL_ChangeWorld -- 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/