Luigi Auriemma

aluigi.org (ARCHIVE-ONLY FORUM!)
It is currently 19 Jul 2012 14:49

All times are UTC [ DST ]





Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: gshsniff compiling problems
PostPosted: 19 Oct 2010 09:47 

Joined: 19 Oct 2010 07:56
Posts: 2
Hello,
Since yesterday i try to compile the gshsniff.c to a exe under windows with mingw.
I allready installed winpcap and link to the developer tools but again errors and MR.Google can??t help me anymore or iam just blind after 4h research ;).

Code:
C:\MinGW\bin\Original>gcc -o file.exe gshsniff.c -lws2_32 -I "C:\Users\RevolutionX\Downloads\WpdPack_4_1_2\WpdPack\Include"
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x526): undefined reference to `pcap_findalldevs'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x691): undefined reference to `pcap_freealldevs'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x6d6): undefined reference to `pcap_freealldevs'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x768): undefined reference to `pcap_open_live'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x792): undefined reference to `pcap_freealldevs'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x7a9): undefined reference to `pcap_freealldevs'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x81b): undefined reference to `pcap_datalink'
C:\Users\REVOLU~1\AppData\Local\Temp\ccGO9vxM.o:gshsniff.c:(.text+0x8b0): undefined reference to `pcap_loop'
collect2: ld returned 1 exit status


What did i miss?

Kindly Regards
btw great forum!
RevolutionX


Top
 Profile  
 
 
 Post subject: Re: gshsniff compiling problems
PostPosted: 19 Oct 2010 17:10 

Joined: 13 Aug 2007 21:44
Posts: 4068
Location: http://aluigi.org
winpcap sdk:
http://www.winpcap.org/devel.htm


Top
 Profile  
 
 Post subject: Re: gshsniff compiling problems
PostPosted: 19 Oct 2010 18:27 

Joined: 19 Oct 2010 07:56
Posts: 2
Thanks work


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: