gobject-introspection can't compile with endian.h

Anonymous swell.k at gmail.com
Mon Dec 27 21:11:32 UTC 2010


Steve Kargl <sgk at 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 at 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


More information about the freebsd-gnome mailing list