[syslog-ng] Compiling & Using syslog-ng 1.9.10 on Solaris 10

Philippe JOYEZ philippe.joyez.mlist at renault.fr
Wed Apr 26 10:06:14 CEST 2006


Hello all,

I've finally succedeed in compiling syslog-ng on my new Solaris 10 box
using the following tasks:

Modifications src/Makefile (Add -lrt)
75c75
< LIBS = -lpthread -lnsl -lsocket -ldoor  -ll -L/usr/local/lib
-lglib-2.0 -lintl   -L/usr/local/lib -levtlog  
---
> LIBS = -lpthread -lrt -lnsl -lsocket -ldoor  -ll -L/usr/local/lib
-lglib-2.0 -lintl   -L/usr/local/lib -levtlog  

Modification src/filter.c (Adding macros):

/* Define G_LIKELY() and G_UNLIKELY() so that they are available when
 * using GLib 1.2 as well. These allow optimization by static branch
 * prediction with GCC. */
#ifndef G_LIKELY
  #define G_LIKELY(x)     (__builtin_expect(x, 1))
  #define G_UNLIKELY(x)   (__builtin_expect(x, 0))
#endif /* !G_LIKELY */
 
But when I start syslog-ng, I have the following error message:

Apr 26 09:50:55 sewerrat syslog-ng[752]: syslog-ng starting up;
version='1.9.10' 
Apr 26 09:50:55 sewerrat syslog-ng[752]: Insufficient buffer space for
retrieving STREAMS log message; res='ffffffff' 

Any idea?

Best regards,
Philippe JOYEZ



-- Disclaimer ------------------------------------
Ce message ainsi que les eventuelles pieces jointes constituent une correspondance privee et confidentielle a l'attention exclusive du destinataire designe ci-dessus. Si vous n'etes pas le destinataire du present message ou une personne susceptible de pouvoir le lui delivrer, il vous est signifie que toute divulgation, distribution ou copie de cette transmission est strictement interdite. Si vous avez recu ce message par erreur, nous vous remercions d'en informer l'expediteur par telephone ou de lui retourner le present message, puis d'effacer immediatement ce message de votre systeme.
***
This e-mail and any attachments is a confidential correspondence intended only for use of the individual or entity named above. If you are not the intended recipient or the agent responsible for delivering the message to the intended recipient, you are hereby notified that any disclosure, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender by phone or by replying this message, and then delete this message from your system.


More information about the syslog-ng mailing list