/usr/include/machine/endian.h:123: syntax error

Tijl Coosemans tijl at coosemans.org
Sat Dec 18 12:46:06 UTC 2010


On Thursday 16 December 2010 07:49:41 Dennis Glatting wrote:
> 
> While compiling a port...
> 
> 
> btw> uname -a
> FreeBSD btw 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #55: Sat Dec 11 22:48:59 
> PST 2010     root at btw:/usr/src/sys/amd64/compile/BTW  amd64
> 
> 
> 
> btw# portupgrade devel/libgdata
> 
> <snip>
> 
>    GISCAN gdata/GData-0.0.gir
> /usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' 
> return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" 
> : "+r" (__X)); __X; }));' at '{'

I couldn't reproduce this. Do you have any special CFLAGS perhaps?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 228 bytes
Desc: This is a digitally signed message part.
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20101218/a7830ead/attachment.pgp


More information about the freebsd-questions mailing list