Problem installing syslog-ng
I am having problems installing syslog-ng1.9.8. The ./configure works fine. However the make gives an error. Below is the log. I am using redhat 9. Please advise [root@localhost syslog-ng-1.9.8+20060117]# make make all-recursive make[1]: Entering directory `/home/hkiyimba/syslog-ng-1.9.8+20060117' Making all in src make[2]: Entering directory `/home/hkiyimba/syslog-ng-1.9.8+20060117/src' gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lnsl -lfl -L/usr/local/lib -lglib-2.0 -L/usr/local/lib -levtlog libsyslog-ng.a(filter.o)(.text+0x1f8): In function `filter_facility__eval': /home/hkiyimba/syslog-ng-1.9.8+20060117/src/filter.c:142: undefined reference to `G_UNLIKELY' libsyslog-ng.a(filter.o)(.text+0x242):/home/hkiyimba/syslog-ng-1.9.8+20060117/src/filter.c:157: undefined reference to `G_LIKELY' libsyslog-ng.a(filter.o)(.text+0x303): In function `filter_level__eval': /home/hkiyimba/syslog-ng-1.9.8+20060117/src/filter.c:202: undefined reference to `G_LIKELY' collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[2]: Leaving directory `/home/hkiyimba/syslog-ng-1.9.8+20060117/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hkiyimba/syslog-ng-1.9.8+20060117' make: *** [all] Error 2 [root@localhost syslog-ng-1.9.8+20060117]# --------------------------------- Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail.
you need a newer glib, or remove the G_LIKELY and G_UNLIKELY macro references. On Tue, 2006-01-24 at 23:41 -0800, Hubert Edward kIYIMBA wrote:
I am having problems installing syslog-ng1.9.8. The ./configure works fine. However the make gives an error. Below is the log. I am using redhat 9.
Please advise
[root@localhost syslog-ng-1.9.8+20060117]# make make all-recursive make[1]: Entering directory `/home/hkiyimba/syslog-ng-1.9.8+20060117' Making all in src make[2]: Entering directory `/home/hkiyimba/syslog-ng-1.9.8 +20060117/src' gcc -g -O2 -Wall -g -o syslog-ng main.o libsyslog-ng.a -lnsl -lfl -L/usr/local/lib -lglib-2.0 -L/usr/local/lib -levtlog libsyslog-ng.a(filter.o)(.text+0x1f8): In function `filter_facility__eval': /home/hkiyimba/syslog-ng-1.9.8+20060117/src/filter.c:142: undefined reference to `G_UNLIKELY' libsyslog-ng.a(filter.o)(.text+0x242):/home/hkiyimba/syslog-ng-1.9.8 +20060117/src/filter.c:157: undefined reference to `G_LIKELY' libsyslog-ng.a(filter.o)(.text+0x303): In function `filter_level__eval': /home/hkiyimba/syslog-ng-1.9.8+20060117/src/filter.c:202: undefined reference to `G_LIKELY' collect2: ld returned 1 exit status make[2]: *** [syslog-ng] Error 1 make[2]: Leaving directory `/home/hkiyimba/syslog-ng-1.9.8 +20060117/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/hkiyimba/syslog-ng-1.9.8+20060117' make: *** [all] Error 2 [root@localhost syslog-ng-1.9.8+20060117]#
______________________________________________________________________ Bring words and photos together (easily) with PhotoMail - it's free and works with Yahoo! Mail. _______________________________________________ syslog-ng maillist - syslog-ng@lists.balabit.hu https://lists.balabit.hu/mailman/listinfo/syslog-ng Frequently asked questions at http://www.campin.net/syslog-ng/faq.html
-- Bazsi
participants (2)
-
Balazs Scheidler
-
Hubert Edward kIYIMBA