Re: 002_xorg.patch compile error i386

2006-05-08 Thread Will H. Backman

Didier Wiroth wrote:

Hello,
The answer is the same as previous posts ;-)
1) man 8 release
2) tcl and tk installed ( or perhaps old versions -> pkg_add -u)
3) clean sources? if not, delete your sources and refetch them
4) do not build in your src directory!!! -> see man 8 release 
(use for example: mkdir /usr/XF4bld && cd /usr/XF4bld && lndir /usr/src/XF4 && make build)


good luck 
didier 

  

i've got identical problem with compiling X after applying patch on two i386 
machines.



  

Or use this section of the FAQ:
http://www.openbsd.org/faq/faq5.html#Xbld
The patch might mislead people, as it says:

Apply by doing:
cd /usr/src/XF4
patch -p0 < 002_xorg.patch

And then rebuild and install X:
make build



Re: 002_xorg.patch compile error i386

2006-05-08 Thread Didier Wiroth
Hello,
The answer is the same as previous posts ;-)
1) man 8 release
2) tcl and tk installed ( or perhaps old versions -> pkg_add -u)
3) clean sources? if not, delete your sources and refetch them
4) do not build in your src directory!!! -> see man 8 release 
(use for example: mkdir /usr/XF4bld && cd /usr/XF4bld && lndir /usr/src/XF4 && 
make build)

good luck 
didier 

>i've got identical problem with compiling X after applying patch on two i386 
>machines.



002_xorg.patch compile error i386

2006-05-08 Thread raff
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: 0xc/0xc000! 0xd/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 0xf800, size 0x400
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: 
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:  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: cod