Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Dec 2010 00:11:07 +0300
From:      Anonymous <swell.k@gmail.com>
To:        Steve Kargl <sgk@troutmask.apl.washington.edu>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: gobject-introspection can't compile with endian.h
Message-ID:  <86aajqx6ok.fsf@gmail.com>
In-Reply-To: <20101227180047.GA50384@troutmask.apl.washington.edu> (Steve Kargl's message of "Mon, 27 Dec 2010 10:00:47 -0800")
References:  <20101227180047.GA50384@troutmask.apl.washington.edu>

index | next in thread | previous in thread | raw e-mail

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

  http://pointyhat.freebsd.org/errorlogs/i386-9-latest-logs/gobject-introspection-0.9.12.log.bz2

And it builds fine on my /head@r216728M, too.

> 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.

> command
> ['/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/gir/tmp-introspectynqhrq/gobject-2.0',
> --introspect-dump=/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/gir/tmp-introspectynqhrq/types.txt,/usr/ports/devel/gobject-introspection/work/gobject-introspection-0.9.12/gir/tmp-introspectynqhrq/dump.xml']'
> returned non-zero exit status 1


home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aajqx6ok.fsf>