Subject: Re: XFree86 4.5.0 build confusion on Alpha
To: None <tech-x11@NetBSD.org>
From: Matthias Scheler <tron@zhadum.de>
List: tech-x11
Date: 04/05/2005 00:50:31
In article <00f710a183f77146c982f6537ef8a805@nwlink.com>,
David Hopper <dhop@nwlink.com> writes:
> I don't think the (huge) build logs will be necessary, as there is no
> real error condition.
They *are* necessary to find out what options etc. "xsrc" uses to build
the sources. I cannot find out that myself because "xsrc" doesn't support
cross building and I don't have a NetBSD-alpha system.
> The solution should lie in src/x11/Xserver/Makefile.common:
It is not that easy unfortunately. The build dies:
--- dependall-cfb ---
In file included from /export/home/tron/destdir/usr/include/machine/bus.h:70,
from /export/home/tron/destdir/usr/include/machine/pio.h:43,
from /export/home/tron/obj/x11/Xserver/include/compiler.h:250,
from /usr/xsrc/xfree/xc/programs/Xserver/cfb/cfbmskbits.h:40,
from /usr/xsrc/xfree/xc/programs/Xserver/cfb/cfb8bit.c:49:
--- dependall-GL ---
# create module/s_imaging.d
--- dependall-cfb ---
/export/home/tron/destdir/usr/include/sys/types.h:156: error: conflicting types
for `xf86dev_t'
/export/home/tron/obj/x11/Xserver/include/xf86_libc.h:106: error: previous decla
ration of `xf86dev_t'
--- dependall-GL ---
The problem is that "xf86dev_t" is defined to "dev_t" which causes the
above conflict. Have you actually tried running "./build.sh" with
your changes?
Kind regards
--
Matthias Scheler http://scheler.de/~matthias/