Welcome to Pandora FMS Community!

Find answers, ask questions, and connect with our community around the world.

Welcome to Pandora FMS Community Forums Community support Windows Agent Compile errors

  • Windows Agent Compile errors

    Posted by palbert on March 29, 2009 at 00:34

    I’ve been playing around with the Windows Agent source for the past week or so in simply trying to get it to compile with the stock source(latest from svn). Dev-C++ first ran into about 10 or so missing header files from outside projects(openssh, libcurl, etc) so I managed to locate all of those from their various source packages. I’m now getting errors during the linking stage where it’s having problems locating -lcrypto amongst others.

    I haven’t done C++ for a couple of years so, so any suggestions would be much appreciated! I’m thinking I may have to manually compile each of the other projects and copy the .a/.o files into the lib folder of devc++. If so, does if anyone else has already done this.. can I use yours, or do I have to manually make them?

    Thanks!!
    -Patrick

    esteban replied 15 years, 11 months ago 2 Members · 1 Reply
  • 1 Reply
  • esteban

    Member
    March 30, 2009 at 05:48
    0 Karma points
    Community rank: tentacle-noob-1 Tentacle noob
    Like it
    Up
    0
    Down
    Drop it
    ::

    Hi,

    You need OpenSSL package on Dev-C++ which provides the -lcrypto link parameter. I have version 0.9.8 provided in devpaks.org source. After installing it you should bypass the linking stage successfully.

    I attach a screenshot of the Dev-C++ packages I have installed. You may not need all of them, but with this setting it will compile without errors.

    About manual compiling, you should have everything in the Dev-C++ to hack on the windows agent, so don’t bother about it until you have enough C++ experience 🙂

    Greetings