From: Christian T. S. <ct...@de...> - 2000-09-23 20:55:42
|
On Fri, Sep 22, 2000 at 08:37:33PM +0200, Michael Schmitz wrote: > I know just barely enough to screw up a xfree build, and I don't have a > fast m68k for builds. Just in case you were about to ask. Well, ask me, I know barely enough to circumvent the glitches in the debian package to make 3.3.6 build. Ok, here comes the problem. I made patches for two Imakefile errors, build fails now here: gcc -o pcitweak -O2 -ansi -pedantic -Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls -Wnested-externs -L../../../../../exports/lib pcitweak.o -L../os-support -lxf86_os -L../dummylib -ldummy -Wl,-rpath-link,../../../../../exports/lib pcitweak.o: In function `main': pcitweak.o(.text+0x138): undefined reference to `xf86scanpci' pcitweak.o(.text+0x2a6): undefined reference to `xf86scanpci' pcitweak.o(.text+0x2b8): undefined reference to `pciTag' pcitweak.o(.text+0x2d2): undefined reference to `pciReadByte' pcitweak.o(.text+0x2f0): undefined reference to `pciReadWord' pcitweak.o(.text+0x306): undefined reference to `pciReadLong' pcitweak.o(.text+0x338): undefined reference to `pciWriteByte' pcitweak.o(.text+0x350): undefined reference to `pciWriteWord' pcitweak.o(.text+0x360): undefined reference to `pciWriteLong' collect2: ld returned 1 exit status make[7]: *** [pcitweak] Error 1 make[7]: Leaving directory `/build/xfree86-4.0.1/build-tree/xc/programs/Xserver/hw/xfree86/etc' In free86-4.0.1/build-tree/xc/programs/Xserver/hw/xfree86/os-support/bus some *Pci.c files for several arches exist, but none for m68k. The files say, they need kernel 2.2 for /proc/bus/pci, I am running 2.2.10, but I only have /proc/bus/zorro, but not pci... so maybe it would not make sense to add m68k to the Imakefile? However, without pci, I have some problems to get xfree4.0 to build, see error messages above. I think (anybody with a clue correct me please) that XF4.0 requires some pci functions, or some major rework in the (I)Makefiles and whatnot. So if somebody has a proposal (dummy, or maybe some "real" pci functions for m68k) or maybe even a patch, I'd be happy to hear about it. Christian |