Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

9
  • 3
    I am using a g++ Makefile for the compilation. Where does one usually put such flags? Commented Mar 15, 2012 at 17:09
  • 2
    How the compiler/linker command line is assembled varies greatly from case to case. Why don't you paste your Makefile (or the relevant parts of it) into your question? That way, you could get an answer that works in your specific case.
    – hc_
    Commented Mar 15, 2012 at 17:15
  • 7
    Ok, I edited Makefile.am and added -lboost_system, so it looked like this: sslsniff_LDFLAGS = -lssl -lboost_filesystem -lpthread -lboost_thread -llog4cpp -lboost_system. It didn't help though... Commented Mar 15, 2012 at 17:54
  • 1
    Still the same error? Did you run autoreconf afterwards? Also, this post and this one might help you with your autotools configuration.
    – hc_
    Commented Mar 15, 2012 at 18:00
  • 2
    I replaced sslsniff_LDFLAGS with sslsniff_LDADD in Makefile.am and that did NOT work. Then I kept both sslsniff_LDFLAGS and added sslsniff_LDADD = -lboost_system -lssl -lboost_filesystem -lpthread -lboost_thread -llog4cpp. Then I was able to compile. Thank you for the help! Commented Mar 16, 2012 at 16:06