Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Sep 2012 14:55:50 +0200
From:      Niclas Zeising <zeising@daemonic.se>
To:        mexas@bristol.ac.uk
Cc:        freebsd-ports@freebsd.org
Subject:   Re: astro/xearth on redports with clang: /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter
Message-ID:  <5061A9D6.2090504@daemonic.se>
In-Reply-To: <201209251247.q8PCl4oL021508@mech-cluster241.men.bris.ac.uk>
References:  <201209251247.q8PCl4oL021508@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2012-09-25 14:47, Anton Shterenlikht wrote:
> I tried to build astro/xearth on redports using amd64/clang
> environment. I get several errors like this one:
> 
> /usr/local/lib/X11/config/FreeBSD.cf:451:35: error: '#' is not followed by a macro parameter
> 
> The full log:
> 
> https://redports.org/~mexas/20120925084455-39349-73266/xearth-1.1_2.log
> 
> It builds fine on amd64/gcc.
> 
> It seems the problem is not in xearth,
> but rather in xorg-cf-files.
> 
> Please advise
> 
> Thanks
> Anton

The problem is with imake not playing nice with the cpp from clang.  The
best solution is to not use imake, but that's probably far from trivial
to fix.
Regards!
-- 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5061A9D6.2090504>