This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: fate/resolution/location of things like "sys/sockio.h"



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@hotmail.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@yahoo.com if no reply
here. Thanks.


> From: marchywka@hotmail.com
> To: cygwin@cygwin.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@dessent.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@hotmail.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@yahoo.com if no reply
> here. Thanks.
>
>
>> Date: Tue, 27 May 2008 00:54:37 -0700
>> From: brian@dessent.net
>> To: marchywka@hotmail.com
>> CC: cygwin@cygwin.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]