Date: Wed, 11 Jul 2012 15:46:39 +0300 From: Zlatko Asenov <zlatko.asenov@gmail.com> To: freebsd-bugs@freebsd.org Subject: devel/dbus-glib does not compile on FreeBSD 9.0-STABLE Message-ID: <4FFD75AF.90308@gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I wish to compile x11/xorg with WITH_NEW_XORG="YES" and WITH_KMS="YES", but I get this error in deve/dbus-glib : root@localhost:/root # cd /usr/ports/devel/dbus dbus-glib/ dbus-qt3/ dbus-qt4/ dbus-sharp/ dbus/ root@localhost:/root # cd /usr/ports/devel/dbus-glib/ root@localhost:/usr/ports/devel/dbus-glib # make ===> Building for dbus-glib-0.94 gmake all-recursive gmake[1]: Entering directory `/usr/ports/devel/dbus-glib/work/dbus-glib-0.94' Making all in dbus gmake[2]: Entering directory `/usr/ports/devel/dbus-glib/work/dbus-glib-0.94/dbus' Making all in . gmake[3]: Entering directory `/usr/ports/devel/dbus-glib/work/dbus-glib-0.94/dbus' CC dbus-glib.lo In file included from dbus-glib.c:25: dbus-glib.h:28:30: error: dbus/dbus-shared.h: No such file or directory In file included from dbus-glib.c:25: dbus-glib.h:106: error: expected ')' before 'type' dbus-glib.h:108: error: expected ')' before 'type' In file included from dbus-glib.c:26: dbus-glib-lowlevel.h:28:23: error: dbus/dbus.h: No such file or directory In file included from dbus-glib.c:26: dbus-glib-lowlevel.h:33: error: expected declaration specifiers or '...' before 'DBusError' dbus-glib-lowlevel.h:42: error: expected ')' before '*' token dbus-glib-lowlevel.h:44: error: expected ')' before '*' token dbus-glib-lowlevel.h:48: error: expected declaration specifiers or '...' before 'DBusMessage' dbus-glib-lowlevel.h:49: error: expected declaration specifiers or '...' before 'dbus_uint32_t' dbus-glib-lowlevel.h:51: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbus-glib-lowlevel.h:52: error: expected ')' before '*' token dbus-glib-lowlevel.h:53: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbus-glib-lowlevel.h:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbus-glib-lowlevel.h:66: error: expected declaration specifiers or '...' before 'DBusMessage' In file included from dbus-glib.c:29: dbus-gobject.h:27:33: error: dbus/dbus-signature.h: No such file or directory dbus-glib.c: In function 'dbus_g_connection_flush': dbus-glib.c:50: warning: implicit declaration of function 'dbus_connection_flush' dbus-glib.c:50: warning: nested extern declaration of 'dbus_connection_flush' dbus-glib.c:50: error: 'DBusConnection' undeclared (first use in this function) dbus-glib.c:50: error: (Each undeclared identifier is reported only once dbus-glib.c:50: error: for each function it appears in.) dbus-glib.c:50: error: expected expression before ')' token dbus-glib.c: In function 'dbus_g_connection_ref': dbus-glib.c:64: error: 'DBusConnection' undeclared (first use in this function) dbus-glib.c:64: error: 'c' undeclared (first use in this function) dbus-glib.c:66: error: expected expression before ')' token dbus-glib.c:67: warning: implicit declaration of function 'dbus_connection_ref' dbus-glib.c:67: warning: nested extern declaration of 'dbus_connection_ref' dbus-glib.c: In function 'dbus_g_connection_unref': dbus-glib.c:81: error: 'DBusConnection' undeclared (first use in this function) dbus-glib.c:81: error: 'c' undeclared (first use in this function) dbus-glib.c:83: error: expected expression before ')' token dbus-glib.c:84: warning: implicit declaration of function 'dbus_connection_unref' dbus-glib.c:84: warning: nested extern declaration of 'dbus_connection_unref' dbus-glib.c: In function 'dbus_g_message_ref': dbus-glib.c:108: error: 'DBusMessage' undeclared (first use in this function) dbus-glib.c:108: error: 'c' undeclared (first use in this function) dbus-glib.c:110: error: expected expression before ')' token dbus-glib.c:111: warning: implicit declaration of function 'dbus_message_ref' dbus-glib.c:111: warning: nested extern declaration of 'dbus_message_ref' dbus-glib.c: In function 'dbus_g_message_unref': dbus-glib.c:124: error: 'DBusMessage' undeclared (first use in this function) dbus-glib.c:124: error: 'c' undeclared (first use in this function) dbus-glib.c:126: error: expected expression before ')' token dbus-glib.c:127: warning: implicit declaration of function 'dbus_message_unref' dbus-glib.c:127: warning: nested extern declaration of 'dbus_message_unref' dbus-glib.c: In function 'dbus_connection_get_g_type': dbus-glib.c:220: error: 'dbus_connection_ref' undeclared (first use in this function) dbus-glib.c:221: error: 'dbus_connection_unref' undeclared (first use in this function) dbus-glib.c: In function 'dbus_message_get_g_type': dbus-glib.c:239: error: 'dbus_message_ref' undeclared (first use in this function) dbus-glib.c:240: error: 'dbus_message_unref' undeclared (first use in this function) dbus-glib.c: At top level: dbus-glib.c:300: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token dbus-glib.c:307: error: expected '=', ',', ';', 'asm' or '__attribute__' before '_dbus_gmain_connection_slot' dbus-glib.c:321: error: expected ')' before '*' token dbus-glib.c:339: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token gmake[3]: *** [dbus-glib.lo] Error 1 gmake[3]: Leaving directory `/usr/ports/devel/dbus-glib/work/dbus-glib-0.94/dbus' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/usr/ports/devel/dbus-glib/work/dbus-glib-0.94/dbus' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/devel/dbus-glib/work/dbus-glib-0.94' gmake: *** [all] Error 2 *** [do-build] Error code 1 Stop in /usr/ports/devel/dbus-glib. root@localhost:/usr/ports/devel/dbus-glib # Base is: root@localhost:/usr/ports/devel/dbus-glib # uname -a FreeBSD localhost 9.0-STABLE FreeBSD 9.0-STABLE #0: Tue Jul 10 20:04:02 EEST 2012 root@localhost:/usr/obj/usr/src/sys/GENERIC amd64 Best Regards, Zlatko Asenov
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FFD75AF.90308>