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