Pandora FMS Community

compilation error on Solaris 10

turi · 10 ene 2007, 2:11 · 4 mensajes · 79 visitas

  1. Inicio del debate

    I am trying to set up babel on a solaris 10 box and when I run make it errors out on asprintf(). Here is the output: Undefined first referenced symbol in file asprintf babel_server.o ld: fatal: Symbol referencing errors. No output written to babelserver collect2: ld returned 1 exit status *** Error code 1 As far as I now Solaris does not have support for asprintf() or vasprintf(). Am I missing something? Or do I need to get some other libs installed? Thanks.

  2. I am trying to set up babel on a solaris 10 box and when I run make it errors out on asprintf(). Here is the output: Undefined first referenced symbol in file asprintf babel_server.o ld: fatal: Symbol referencing errors. No output written to babelserver collect2: ld returned 1 exit status *** Error code 1 As far as I now Solaris does not have support for asprintf() or vasprintf(). Am I missing something? Or do I need to get some other libs installed? Thanks.

    Mmm insteresting. asprintf() is a GLIB standard function for GNU/Linux systems, actually I don't know how to use it in Solaris. Alternatives are patching code for use a printf function (with a previos malloc and strcpy code) or install GLIB in Solaris. One question, why use Solaris and not Linux for Server ?. Do you have MySQL on Solaris too ?

  3. One question, why use Solaris and not Linux for Server ?. Do you have MySQL on Solaris too ?

    Well, we have a lot of unused sparc boxes lying around :) And yes I have mysql on it too. But I thought the documentation mentioned that Soalris was supported, and I think there is even a solaris agent. Isn't it? I'll try to compile the glib for my box and see if that solves the issue.

  4. One question, why use Solaris and not Linux for Server ?. Do you have MySQL on Solaris too ?

    Well, we have a lot of unused sparc boxes lying around :) And yes I have mysql on it too. But I thought the documentation mentioned that Soalris was supported, and I think there is even a solaris agent. Isn't it? I'll try to compile the glib for my box and see if that solves the issue.

    Yep, supported for AGENT only :-)) I suppose it's possible to run Console also (it's PHP), but server will be more difficult. Babel 1.1 version NEEDS a GNU Linux with Inotify support in kernel (this is 2.6.16 or higher). You can also install GNU/Linux on your sparc box :-)

Entra en tu cuenta para publicar.