Date: Mon, 27 Dec 2010 13:21:16 -0800 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Anonymous <swell.k@gmail.com> Cc: freebsd-gnome@freebsd.org Subject: Re: gobject-introspection can't compile with endian.h Message-ID: <20101227212116.GA95298@troutmask.apl.washington.edu> In-Reply-To: <86aajqx6ok.fsf@gmail.com> References: <20101227180047.GA50384@troutmask.apl.washington.edu> <86aajqx6ok.fsf@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Dec 28, 2010 at 12:11:07AM +0300, Anonymous wrote: > Steve Kargl <sgk@troutmask.apl.washington.edu> writes: > > > On a keep new install of freebsd9, I run into > [...] > > GISCAN GLib-2.0.gir > > /usr/include/machine/endian.h:107: syntax error, unexpected '{' in ' > > return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap > > %0" : "+r" (__X)); __X; }));' at '{' > > /usr/include/machine/endian.h:107: syntax error, unexpected ';' in ' > > return (__extension__ ({ register __uint32_t __X = (_x); __asm ("bswap > > %0" : "+r" (__X)); __X; }));' at ';' > > GISCAN GObject-2.0.gir > > This shouldn't stop build, see pointyhat log I have numeroud datapoints over the 24 hours that suggest the above statement is incorrect. > And it builds fine on my /head@r216728M, too. Try pkg_delete -a rm -rf /var/db/pkg/* /var/db/ports/* cd /usr/ports/ports-mgmts/portmaster make && make install portmaster x11-servers/xorg-server I'm willing to bet a beer (or beverage of your choice) that the build dies. > > failed to find symbol 'g_binding_flags_get_type' > > Try google suggestion, i.e. rebuild glib20 and remove stale .la files > in /usr/local/lib. I'm starting from a completely clean /usr/local. No ports have been installed. Needing to rebuild glib20 after it had only been built 20 minutes earlier seems to be an enormous kludge. -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101227212116.GA95298>