I'm not sure what I hosed here...

Bare metal install of 3.7 from ftp3.usa.openbsd.org/pub/OpenBSD/3.7/i386
to a dual Athlon-MP system.

Recompile of kernel for MP went flawlessly and the dmesg from
reboot shows all devices as configured with no errors.

CVS download using 'cvs -q get -rOPENBSD_3_7 -PA src' completed
successfully.

Per instructions on
http://www.openbsd.org/faq/faq5.html#BldUserland I built out
/usr/obj and distrib-dirs.

However, on running 'make build' in /usr/src, I get this:

cd /usr/src/gnu/usr.bin/cvs &&  true --gnu  vms/Makefile
===> gnu/usr.bin/groff
PATH="/bin:/usr/bin:/sbin:/usr/sbin"  CC="cc" CFLAGS="-O2 -pipe
" CXX="c++" CCFLAGS="-O2 -pipe  "  INSTALL_PROGRAM="install -c
-s"  /bin/sh /usr/src/gnu/usr.bin/groff/configure --prefix=/usr
--mandir=/usr/share/man
creating cache ./config.cache
checking for gcc... cc
checking whether the C compiler (cc -O2 -pipe   ) works... yes
checking whether the C compiler (cc -O2 -pipe   ) is a
cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking for c++... c++
checking whether the C++ compiler (c++  ) works... no
configure: error: installation or configuration problem: C++
compiler cannot create executables.
*** Error code 1

Stop in /usr/src/gnu/usr.bin/groff (line 58 of
/usr/src/gnu/usr.bin/groff/Makefile.bsd-wrapper).
*** Error code 1

Stop in /usr/src/gnu/usr.bin.
*** Error code 1

Stop in /usr/src/gnu.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src (line 72 of Makefile).

I searched through the archives and the only similar error I
found was from early 2004 and seemed to indicate that this is
caused by incorrect permissions on /usr/obj.

I have tried setting /usr/obj to:

root:wheel
root:bin
root:wsrc

And setting modes to:

755
775
777
1777

All without any success.

I have also tried rebuilding the compiler per instructions from:
http://www.openbsd.org/faq/faq5.html#NewCompiler

just in case that was an issue.  No luck.  Still throws the
"compiler cannot create" error every time.

Anyone have any ideas?  Further debug/diagnostic data I need to
post?

Help?

-- 
- Ed V.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SET DEVICE = EXXON to screw up your environment.

Reply via email to