[Bug 98] New: GLIB_MIN_VERSION should be 2.13.5, not 2.10.1
https://bugzilla.balabit.com/show_bug.cgi?id=98 Summary: GLIB_MIN_VERSION should be 2.13.5, not 2.10.1 Product: syslog-ng Version: 3.2.x Platform: PC URL: http://git.gnome.org/browse/glib/tree/NEWS?id=GLIB_2_13_ 5#n27 OS/Version: Linux Status: NEW Severity: normal Priority: unspecified Component: packaging AssignedTo: folti@balabit.hu ReportedBy: owen.mann@interactivedata.com Type of the Report: bug Estimated Hours: 0.0 When building on a RHEL5 box (glib2-2.12.3-4.el5_3.1), I get: [...] libtool: link: gcc -std=gnu99 -Wno-pointer-sign -g -O2 -Wall -o .libs/pdbtool pdbtool-pdbtool.o pdbtool-patternize.o -Wl,--export-dynamic ../../lib/.libs/libsyslog-ng.so ./.libs/libdbparser.so -L/usr/kerberos/lib64 -lssl -lcrypto -lz -lrt -lnsl -L/lib64 -lgmodule-2.0 -ldl -lglib-2.0 /usr/lib64/libevtlog.so -Wl,-rpath -Wl,//lib -Wl,-rpath -Wl,//lib/syslog-ng -Wl,-rpath -Wl,/usr/lib64 ./.libs/libdbparser.so: undefined reference to `g_timeout_add_seconds' collect2: ld returned 1 exit status make[5]: *** [pdbtool] Error 1 make[5]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-3.2.1/modules/dbparser' make[4]: *** [all-recursive] Error 1 make[4]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-3.2.1/modules/dbparser' make[3]: *** [all] Error 2 make[3]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-3.2.1/modules/dbparser' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-3.2.1/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/redhat/BUILD/syslog-ng-3.2.1' make: *** [all] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.38499 (%build) According to http://git.gnome.org/browse/glib/tree/NEWS?id=GLIB_2_13_5#n27, the `g_timeout_add_seconds' feature was added in GLib 2.13.5 -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
https://bugzilla.balabit.com/show_bug.cgi?id=98 Balazs Scheidler <bazsi@balabit.hu> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bazsi@balabit.hu Resolution| |FIXED Status|NEW |RESOLVED --- Comment #1 from Balazs Scheidler <bazsi@balabit.hu> 2010-12-03 22:54:30 --- What about this patch instead: commit 4a8296ef2228104cd230b411361a589862f38f75 Author: Balazs Scheidler <bazsi@balabit.hu> Date: Fri Dec 3 22:53:18 2010 +0100 dbparser: make it compatible with glib < 2.13 Reported-By: Owen Mann It checks if we're compiling against GLIB >= 2.13 and uses the new API in that case, and falls back to the old one in the other case. -- Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are watching all bug changes.
participants (1)
-
bugzilla@bugzilla.balabit.com