On 07/19/2015 02:24 PM, Dennis Zheleznyak wrote:
Hi,

I'm trying to compile icinga2's source on Solaris 10. [...]

I've ran the following:

  * /usr/local/bin/cmake -DICINGA2_WITH_MYSQL=OFF
    -DFLEX_EXECUTABLE=/usr/local/bin/flex .

And then tried to compile it using gmake command but I'm getting the following error:

    Linking C shared library ../../Bin/Release/libmmatch.so
    ld: fatal: unrecognized option '--'
    ld: fatal: use the -z help option for usage information
    collect2: ld returned 1 exit status


   What version of gcc and ld are you using?  The stock ones for Solaris
10 are a bit on the old side and can cause lots of grief.  I had to start
using the ones from OpenCSW which has a newer version of the compiler.

   Cheers!

_______________________________________________
icinga-users mailing list
icinga-users@lists.icinga.org
https://lists.icinga.org/mailman/listinfo/icinga-users

Reply via email to