Oh no!
My eyes must have slipped up the page! (I have the docs open on my
other machine, and I am going back and forth). I have been at this too
long! Thank you Mitja!
I actually did do it right the first time.. but it errored out.
Interesting that using the current didn't error out in the same way...
I wound up deleting /usr/src /usr/X4 and /usr/ports, downloading the
tarballs and updating them. Then everything worked.
Thank you all for catching my blunder.
Chris
Chris wrote:
Hello.
I had an OBSD system, 3.6. I went to update it the other day to 3.7,
and everything seemed to work swell. I followed the instructions from
the upgrade faq, and things seemed to work without a hitch.
I am trying to follow the stable branch, so updated my CVS for src,
ports and X like so:
# cd /usr
#cvs -d$CVSROOT up -Pd*
*It took its time, but it updated everything without complaint.
I then recompiled the kernel (GENERIC). This also seemed to go without
a hitch -- almost. The only thing that seemed to contradict the
documentation was that it said:
# *cd /usr/src/sys/arch/i386/conf*
# *config GENERIC*
# *cd ../compile/GENERIC*
# *make clean make depend make*
/[...lots of output...]/
# *make install*
Replace i386 in the first line with your machine name.
Well, my machine name was nowhere to be found in /usr/src/sys/arch (or
anywhere under /usr/src at all), so I had to use i386. I don't know if
this is an error in the docs or if something else somewhere got
botched. I do know that there were no complaints from the system
what-so-ever. It rebooted very nicely.
Then I went to recompile the userland utilities. I followed the
documentation:
# *rm -rf /usr/obj/**
# *cd /usr/src*
# *make obj*
# *cd /usr/src/etc env DESTDIR=/ make distrib-dirs
\\Now I am not certain if is an error in the docs. Should it
be setenv DESTIR=/? (I tried both ways..)
* # *cd /usr/src*
# *make build*
The compile goes for about 1 hour and 48 minutes, then it crashes:
c++ -O2-fno-implicit-templates -idirafter /=/usr/include/g++
-I/usr/src/gnu/e
gcs/libio -I/usr/src/gnu/egcs/libio/obj -nostdinc -idirafter /=/usr/include -c
/usr
/src/gnu/egcs/libio/editbuf.cc -o editbuf.o
In file included from /usr/src/gnu/egcs/libio/editbuf.cc:31:
/usr/src/gnu/egcs/libio/editbuf.h:79: error: friend declaration requires
class-key, i.e. `friend struct edit_buffer'
/usr/src/gnu/egcs/libio/editbuf.cc: In member function `edit_buffer*
edit_mark::buffer()':
/usr/src/gnu/egcs/libio/editbuf.cc:648: warning: invalid access to non-static
data member `edit_buffer::end_mark' of NULL object
/usr/src/gnu/egcs/libio/editbuf.cc:648: warning: (perhaps the `offsetof' macro
was used incorrectly)
*** Error code 1
Stop in /usr/src/gnu/egcs/libio.
*** Error code 1
Stop in /usr/src/gnu/egcs/libio (line 48 of
/usr/src/gnu/egcs/libio/Makefile.bsd-wrapper).
*** Error code 1
Stop in /usr/src/gnu/egcs.
*** Error code 1
Stop in /usr/src/gnu/lib.
*** Error code 1
Stop in /usr/src (line 72 of Makefile).
===
I have gone through these steps repeatedly, and I get the same results every
time.
Can someone please give me a hand?
Thanks!
Chris
My system:
IBM thinkpad 390e
256 megs of ram
30 gb hard drive (21gb free)
pentium II processor
dmesg:
==
OpenBSD 3.7 (RAMDISK_CD) #573: Sun Mar 20 00:27:05 MST 2005
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/RAMDISK_CD
cpu0: Intel Celeron (GenuineIntel 686-class, 256KB L2 cache) 299 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR
real mem = 267952128 (261672K)
avail mem = 238706688 (233112K)
using 3296 buffers containing 13500416 bytes (13184K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(7c) BIOS, date 11/17/99, BIOS32 rev. 0 @ 0xfd7a0
apm0 at bios0: Power Management spec V1.2
pcibios0 at bios0: rev 2.1 @ 0xfd7a0/0x860
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfdf40/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:02:0 (Intel 82371FB ISA rev 0x00)
pcibios0: PCI bus #3 is the last bus
bios0: ROM list: 0xc/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 Intel 82443BX AGP rev 0x03
ppb0 at pci0 dev 1 function 0 Intel 82443BX AGP rev 0x03
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 Neomagic Magicgraph NM2200 rev 0x20
wsdisplay0 at vga1: console (80x25, vt100 emulation)
pcib0 at pci0 dev 2 function 0 Intel 82371AB PIIX4 ISA rev 0x02
pciide0 at pci0 dev 2 function 1 Intel 82371AB IDE rev 0x01: DMA, channel 0
wired to compatibility, channel 1 wired to compatibility
wd0 at pciide0 channel 0 drive 0: TOSHIBA MK3021GAS
wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors