Hello, i've got identical problem with compiling X after applying patch on two i386 machines.
I did: cd /usr/src/XF4 patch -p0 < 002_xorg.patch make build as root and here's tail of make build messages: gcc -o xf86config3 -O2 -ansi -Dasm=__asm -L../../../../../exports/lib xf86config.o cards.o making all in programs/Xserver/hw/xfree86/XF86Setup... gcc -O2 -ansi -Dasm=__asm -I../os-support -I../common -I../../../../../programs/Xserver/include -I../../../../../exports/include/X11 -I../../../../../exports/include -I../../../../../include/extensions -I/usr/X11R6/include -I/usr/local/include/tcl8.4 -I/usr/local/include/tk8.4 -I../../../../.. -I../../../../../exports/include -DCSRG_BASED -DSHAPE -DXINPUT -DXKB -DLBX -DXAPPGROUP -DXCSECURITY -DDPMSExtension -DGCCUSESGAS -DSTATIC_COLOR -DAVOID_GLYPHBLT -DPIXPRIV -DXFreeXDGA -DNDEBUG -DFUNCPROTO=15 -DNARROWPROTO -DCARD_DATABASE_FILE='"/usr/X11R6/lib/X11/old-Cards"' -DMITMISC -DXTEST -DXSYNC -DXCMISC -DXRECORD -DGLXEXT -DMITSHM -DBIGREQS -DXF86VIDMODE -DXF86MISC -DDBE -DSCREENSAVER -DXF86SETUP '-DPROJECTROOT="/usr/X11R6"' '-DSERVER_CONFIG_FILE="/usr/X11R6/lib/X11/XF86Config"' -c main.c *** Error code 1 Stop in /usr/src/XF4/xc-old/programs/Xserver/hw/xfree86/XF86Setup. *** Error code 1 Stop in /usr/src/XF4/xc-old/programs/Xserver/hw/xfree86 (line 879 of Makefile). *** Error code 1 Stop in /usr/src/XF4/xc-old/programs/Xserver (line 1148 of Makefile). *** Error code 1 Stop in /usr/src/XF4/xc-old/programs (line 688 of Makefile). *** Error code 1 Stop in /usr/src/XF4/xc-old (line 662 of xmakefile). *** Error code 1 Stop in /usr/src/XF4/xc-old (line 716 of xmakefile). *** Error code 1 Stop in /usr/src/XF4/xc-old (line 39 of Makefile). *** Error code 1 Stop in /usr/src/XF4 (line 64 of Makefile). *** Error code 1 Stop in /usr/src/XF4 (line 77 of Makefile). dmesg OpenBSD 3.9 (GENERIC) #617: Thu Mar 2 02:26:48 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel Pentium III ("GenuineIntel" 686-class) 907 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 266903552 (260648K) avail mem = 236556288 (231012K) using 3283 buffers containing 13447168 bytes (13132K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(1d) BIOS, date 02/17/04, BIOS32 rev. 0 @ 0xfd860 apm0 at bios0: Power Management spec V1.2 apm0: AC on, battery charge unknown apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xfd860/0x7a0 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf00/224 (12 entries) pcibios0: PCI Interrupt Router at 000:31:0 ("Intel 82371FB ISA" rev 0x00) pcibios0: PCI bus #1 is the last bus bios0: ROM list: 0xc0000/0xc000! 0xd0000/0x800 0xdf000/0x1000! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 "Intel 82815 Hub" rev 0x02 vga1 at pci0 dev 2 function 0 "Intel 82815 Graphics" rev 0x02: aperture at 0xf8000000, size 0x4000000 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) ppb0 at pci0 dev 30 function 0 "Intel 82801BA AGP" rev 0x11 pci1 at ppb0 bus 1 xl0 at pci1 dev 7 function 0 "3Com 3c905 100Base-TX" rev 0x00: irq 9, address 00:60:08:50:09:43 nsphy0 at xl0 phy 24: DP83840 10/100 PHY, rev. 1 fxp0 at pci1 dev 8 function 0 "Intel 82562" rev 0x03, i82562: irq 11, address 00:30:05:0e:c3:08 inphy0 at fxp0 phy 1: i82562ET 10/100 PHY, rev. 0 xl1 at pci1 dev 11 function 0 "3Com 3c905C 100Base-TX" rev 0x78: irq 9, address 00:01:01:f7:2e:36 bmtphy0 at xl1 phy 24: Broadcom 3C905C internal PHY, rev. 7 ichpcib0 at pci0 dev 31 function 0 "Intel 82801BA LPC" rev 0x11 pciide0 at pci0 dev 31 function 1 "Intel 82801BA IDE" rev 0x11: DMA, channel 0 wired to compatibility, channel 1 wired to compatibility wd0 at pciide0 channel 0 drive 0: <ST320014A> wd0: 16-sector PIO, LBA, 19092MB, 39102336 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: <SAMSUNG, CD-ROM SC-148P, PF01> SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 uhci0 at pci0 dev 31 function 2 "Intel 82801BA USB" rev 0x11: irq 9 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ichiic0 at pci0 dev 31 function 3 "Intel 82801BA SMBus" rev 0x11: irq 5 iic0 at ichiic0 "unknown" at iic0 addr 0x18 not configured uhci1 at pci0 dev 31 function 4 "Intel 82801BA USB" rev 0x11: irq 11 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered auich0 at pci0 dev 31 function 5 "Intel 82801BA AC97" rev 0x11: irq 5, ICH2 AC97 ac97: codec id 0x41445360 (Analog Devices AD1885) ac97: codec features headphone, Analog Devices Phat Stereo audio0 at auich0 isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pmsi0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pmsi0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: <PC speaker> spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec biomask ef65 netmask ef65 ttymask ffe7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 Anyone knows what's the problem ? Thanks in advance. -- raff