My build requires that I issue the following commands:
$ g++ sniff.cpp -o sniff -lcrafter
However, in my Eclipse build, all the complier gets
Include libraries:-
right click on the project -->
There you will find Linker and sub type Libraries.
Add the library path in Library Search Path on right hand side (where your .so file is located) and give the lib name in libraries
for libcrafter.so path --> /opt/myLib/lib
give path as /opt/myLib/lib and library name as crafter