Pages: [1]   Go Down
Author Topic: compilation error on Solaris 10  (Read 729 times)
0 Members and 2 Guests are viewing this topic.
turi
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« on: January 09, 2007, 11:11:20 PM »

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.
« Last Edit: January 01, 1970, 01:00:00 AM by turi » Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #1 on: January 10, 2007, 12:43:00 AM »

Quote from: "turi"
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 ?
« Last Edit: January 01, 1970, 01:00:00 AM by nil » Logged

-- See you in the other screen.

turi
Newbie
*

Karma: 0
Offline Offline

Posts: 3


View Profile
« Reply #2 on: January 10, 2007, 04:24:09 PM »

Quote from: nil
Quote from: "turi"

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.
« Last Edit: January 01, 1970, 01:00:00 AM by turi » Logged

Sancho Lerena
Administrator
Expert member
*****

Karma: 24
Offline Offline

Posts: 1151


I can see everything... with my glasses :-)


View Profile WWW
« Reply #3 on: January 11, 2007, 01:06:32 AM »

Quote from: turi
Quote from: "nil"
Quote from: "turi"

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 :-)
« Last Edit: January 01, 1970, 01:00:00 AM by nil » Logged

-- See you in the other screen.

Pages: [1]   Go Up
Print
 
Jump to:  


SourceForge.net Logo  This site is monitored by Pandora FMS   ArticaST