pkt2flow
pkt2flow copied to clipboard
Compiling your code
Hi, I'm newbie in programming. Could you tell me how I can compile your code?
OK! This program is structured and compiled with a tool called SCons (http://www.scons.org/). You can follow simple steps to make a compile:
- Make sure you have libpcap (on Mac and Linux) in your system.
- Install Scons that can be downloaded from its official website given above.
-
cdinto the root folder of pkt2flow, and runscons
That's all to see a binary program file in the root folder.
Best,
chen
SCons is a bit much considering it's a one line build
gcc -o pkt2flow flow_db.c pkt2flow.c utilities.c -lpcap