1 May 2006 14:40
Re: Compiling & Using syslog-ng 1.9.10 on Solaris 10
Balazs Scheidler <bazsi <at> balabit.hu>
2006-05-01 12:40:13 GMT
2006-05-01 12:40:13 GMT
On Wed, 2006-04-26 at 10:06 +0200, Philippe JOYEZ wrote: > 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 Fixed in the patch below. > > 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 */ I don't understand this one, syslog-ng relies on GLib 2.0 heavily and I doubt it would build with glib 1.2(Continue reading)
RSS Feed