delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/05/27/09:53:46

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <BLU113-W495D561B7BD22439D48F5DBEBD0@phx.gbl>
From: Mike Marchywka <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 09:53:07 -0400
In-Reply-To: <BLU113-W146D9A038F045D262DEF5CBEBD0@phx.gbl>
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> <BLU113-W4491CD4A8C42B16C2A9FB9BEC60 AT phx DOT gbl> <00e501c8bc1e$a44d0190$2708a8c0 AT CAM DOT ARTIMI DOT COM> <BLU113-W102F782BB5AAB04B62F71BBEC60 AT phx DOT gbl> <20080523000735 DOT GA23793 AT ednor DOT casa DOT cgf DOT cx> <BLU113-W20BC0AE5970EA19F944347BEC20 AT phx DOT gbl> <483BBE3D DOT EDF663D3 AT dessent DOT net> <BLU113-W146D9A038F045D262DEF5CBEBD0 AT phx DOT gbl>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
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/


- Raw text -


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