Subject: x compile problem on macppc
To: None <firstname.lastname@example.org>
From: Christian Groessler <email@example.com>
Date: 05/02/2001 23:21:41
I try to compile xsrc on -current (both from last week,
USE_XF86_4=yes), and I get the following:
rm -f pcitweak
gcc -o pcitweak -O2 -ansi -Dasm=__asm -fsigned-char -Wall -Wpointer-arith -L../../../../../exports/lib pcitweak.o -L../os-support -lxf86_os -L../dummylib -ldummy -L/usr/X11R6/lib -Wl,-rpath,/usr/X11R6/lib -Wl,-rpath-link,../../../../../exports/lib
../os-support/libxf86_os.a(ppcPci.o): In function `motoppcPciInit':
ppcPci.o(.text+0x84): undefined reference to `ppcPciIoMap'
collect2: ld returned 1 exit status
*** Error code 1
Before in the make there was another small problem in
programs/Xserver/cfb/cfbgc.c, MAP_FAILED was not defined. I "fixed" it
in programs/Xserver/include/compiler.h and removed the #ifndef
__NetBSD__ around the definition of MAP_FAILED. I later got some
warnings about redefinition of MAP_FAILED, but they were warnings only
But, where do I get the ppcPciIoMap() function?
Please send replies also to my private mail, as I'm not on this list.