Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Dec 2010 23:27:06 -0700 (MST)
From:      Dennis Glatting <freebsd@penx.com>
To:        Tijl Coosemans <tijl@coosemans.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: /usr/include/machine/endian.h:123: syntax error
Message-ID:  <alpine.BSF.2.00.1012182326400.67721@Elmer.dco.penx.com>
In-Reply-To: <201012181346.00732.tijl@coosemans.org>
References:  <alpine.BSF.2.00.1012152348100.88766@Elmer.dco.penx.com> <201012181346.00732.tijl@coosemans.org>

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


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1012182326400.67721>