Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Compiling your code #1

Open
imehrdad2012 opened this issue May 25, 2013 · 2 comments
Open

Compiling your code #1

imehrdad2012 opened this issue May 25, 2013 · 2 comments

Comments

@imehrdad2012
Copy link

Hi,
I'm newbie in programming. Could you tell me how I can compile your code?

@caesar0301
Copy link
Owner

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:

  1. Make sure you have libpcap (on Mac and Linux) in your system.
  2. Install Scons that can be downloaded from its official website given above.
  3. cd into the root folder of pkt2flow, and run scons

That's all to see a binary program file in the root folder.

Best,

chen

@PhilipDeegan
Copy link

SCons is a bit much considering it's a one line build

gcc -o pkt2flow flow_db.c pkt2flow.c utilities.c -lpcap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants