forked from Rup0rt/pcapfix
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
47 lines (29 loc) · 999 Bytes
/
INSTALL
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Installation Instructions
*************************
To compile pcapfix you need GNU Make and GNU-C/C++.
Please check via 'make -v' whether you are using a proper version.
The result should show something similar to 'GNU Make 4.3' in its output.
Basic Installation
==================
1. Compile pcapfix with the following command:
make
2. Install the binary file
make install
The tool will be installed in /usr by default. To change this, edit
the $PREFIX variable in Makefile.
Uninstall
=========
To uninstall pcapfix just enter:
make uninstall
Microsoft Windows
=================
Compile pcapfix using cygwin:
gcc -c pcap.c -o pcap.o
gcc -c pcap_kuznet.c -o pcap_kuznet.o
gcc -c pcapng.c -o pcapng.o
gcc -c winfunc.c -o winfunc.o
gcc pcapfix.c pcap.o pcap_kuznet.c pcapng.o winfunc.o -l ws2_32 -o pcapfix.exe
Troubleshooting
===============
If there are any problems compiling the program, please write an email
to [email protected] and include your compiling error message.