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

Dennis Glatting freebsd at penx.com
Sun Dec 19 06:27:36 UTC 2010



On Sat, 18 Dec 2010, Tijl Coosemans wrote:

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

Not intentionally:

btw# cat /etc/make.conf
USA_RESIDENT=           YES
FORCE_PKG_REGISTER=     YES
HAVE_MOTIF=             YES
WITHOUT_PERL_MALLOC=    YES

WITH_THREADS=           YES
WITHOUT_SAMBA=          YES
WITHOUT_LDAP=           YES
WITHOUT_NLS=            YES

OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10

WITH_TCL_VER=85

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2


# added by use.perl 2010-12-15 20:47:32
PERL_VERSION=5.12.2



More information about the freebsd-questions mailing list