astro/xearth on redports with clang:
/usr/local/lib/X11/config/FreeBSD.cf:451:35:
error: '#' is not followed by a macro parameter
Niclas Zeising
zeising at daemonic.se
Tue Sep 25 12:55:58 UTC 2012
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!
--
More information about the freebsd-ports
mailing list