GNOME Bugzilla – Bug 746694
kqueue backend build broken on openbsd
Last modified: 2015-03-24 16:04:34 UTC
Hi. Trying to build the latest glib (2.44.0) on OpenBSD yields to the following error: cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread -fvisibility=hidden -DG_LOG_DOMAIN="GLib-GIO" -I../.. -I../../glib -I../../glib -I../.. -I../../gmodule -DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR="/usr/local/lib/gio/modules" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -pipe -MT libkqueue_la-gkqueuedirectorymonitor.lo -MD -MP -MF .deps/libkqueue_la-gkqueuedirectorymonitor.Tpo -c gkqueuedirectorymonitor.c -fPIC -DPIC -o .libs/libkqueue_la-gkqueuedirectorymonitor.o In file included from ../../gio/gio.h:164, from ../../gio/gunixmounts.h:24, from ../../gio/glocaldirectorymonitor.h:26, from gkqueuedirectorymonitor.h:27, from gkqueuedirectorymonitor.c:25: ../../gio/glistmodel.h:36: error: redefinition of typedef 'GListModel' ../../gio/giotypes.h:64: error: previous declaration of 'GListModel' was here In file included from ../../gio/gio.h:165, from ../../gio/gunixmounts.h:24, from ../../gio/glocaldirectorymonitor.h:26, from gkqueuedirectorymonitor.h:27, from gkqueuedirectorymonitor.c:25: ../../gio/gliststore.h:36: error: redefinition of typedef 'GListStore' ../../gio/giotypes.h:65: error: previous declaration of 'GListStore' was here Error while executing cc -DHAVE_CONFIG_H -I. -I../.. -I/usr/local/include -pthread -fvisibility=hidden -DG_LOG_DOMAIN="GLib-GIO" -I../.. -I../../glib -I../../glib -I../.. -I../../gmodule -DG_DISABLE_CAST_CHECKS -DGIO_MODULE_DIR="/usr/local/lib/gio/modules" -DGIO_COMPILATION -DG_DISABLE_DEPRECATED -O2 -pipe -MT libkqueue_la-gkqueuedirectorymonitor.lo -MD -MP -MF .deps/libkqueue_la-gkqueuedirectorymonitor.Tpo -c gkqueuedirectorymonitor.c -fPIC -DPIC -o .libs/libkqueue_la-gkqueuedirectorymonitor.o Makefile:1046: recipe for target 'libkqueue_la-gkqueuedirectorymonitor.lo' failed
*** This bug has been marked as a duplicate of bug 744473 ***