Subject: Re: Compiling Xfree 4 fails
To: Aymeric Vincent <xmimic@free.fr>
From: Samuel.Hornus <Samuel.Hornus@crans.org>
List: port-macppc
Date: 06/04/2001 23:56:29
On 4 Jun 2001, Aymeric Vincent wrote:

>
>         Hi Samuel,
>
> "Samuel.Hornus" <Samuel.Hornus@crans.org> writes:
>
> > In /usr/xsrc/xfree/xc/programs/Xserver/include/compile.h,
> > [...]
> > Perhaps one of you know what's wrong here ?
>
> >From a commit comment by Thomas Klausner on the file you quote:
> ----------------------------
> revision 1.4
> date: 2001/04/15 23:21:06;  author: wiz;  state: Exp;  lines: +3 -1
> Make most parts of the xsrc tree compile on macppc.
> XXX: Need some way to access pci bus, like libalpha for alpha;
> Xserver build fails with:
> ../os-support/libxf86_os.a(ppcPci.o): In function 'motoppcPciInit':
> ppcPci.o(.text+0x84): undefined reference to ppcPciIoMap
> ----------------------------
>
> So, it looks like newer XF4 servers fail to compile on macppc's right
> now. Please have a look at http://www.netbsd.org/Ports/macppc/x11.html
> which seems to be pointing to a former working version.

Yes, this is the version i'm using for now, and it works pretty well,
except for some jittering on the right of the screen. (little
horizontal white lines spaced vertically by about 2cm, scrolling down)

make World went on succesfully til' the end
(in /xsrc/xfree/xc) but the compiled.h problem appeared in make install.

> When reporting such things, you should provide as much information as
> possible (here, among other things: ``I'm running on a recent powerpc
> apple computer''). I think you should switch from current-users to
> port-macppc if you answer.

So : the problem is compiling xsrc/xfree/xc does not create the XFree86
binary (but it comes to the end saying something like 'Build World
completed') and when installing, ther is a complaint about some non
defined stuff in /usr/xsrc/xfree/xc/programs/Xserver/include/compile.h.
I did not try after Thomas Klausner's commit.

configuration is G4/AGP/ATI128, NetBSD-current (5-6 days old.)
xsrc via CVS (5-6 days old)

another problem is that XFree86 freezes here and there. and I have to
reset the computer :-( I was wondering wether this is a hardware or a
source bug ? wether there were a magic key-sequence to kill XFree86 when
such bugs occurs ? I have no clue about the cause of such freeze (quite
frustrating :-))

> see you,

if I manage to wake up ;-)

merci !

-- 
Samuel.