[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
make build failing in /usr/src (update patch branch)
Hi all,
If no one minds, please cc replies to me off list at darren_spruell@sento.com
(my usual mail server is down, i'm sending this from an unsub'd address).
I've been trying to update stable all night now (more exactly, the patch
branch?) as per http://www.openbsd.org/stable.html. Below are the exact steps
i've completed successfully (this is immediately after a fresh install of 3.0
RELEASE from the purchased CD and untarring src.tar.gz into /usr/src and
changing root's shell to /usr/local/bin/bash ):
# CVSROOT=anoncvs@anoncvs1.usa.openbsd.org:/cvs
# cd /usr; cvs checkout -P -rOPENBSD_3_0 src
# cd /usr/src/sys/arch/i386/conf
# /usr/sbin/config GENERIC
# cd /usr/src/sys/arch/i386/compile/GENERIC
# make clean && make depend && make
# cp /bsd /bsd.old
# cp bsd /bsd reboot
# cd /usr/src
# rm -r /usr/obj/*
# make obj
However after that, when running 'make build' in /usr/src, I receive the
following errors:
/usr/include/stdio.h:49: sys/cdefs.h: No such file or directory
In file included from /usr/src/gnu/egcs/gcc/system.h:69,
from /usr/src/gnu/egcs/gcc/gencheck.c:22:
/usr/include/ctype.h:46: sys/cdefs.h: No such file or directory
In file included from /usr/src/gnu/egcs/gcc/gencheck.c:22:
/usr/src/gnu/egcs/gcc/system.h:129: sys/types.h: No such file or directory
/usr/src/gnu/egcs/gcc/system.h:130: errno.h: No such file or directory
*** Error code 1
Stop in /usr/src/gnu/egcs/gcc (line 44 of
/usr/src/gnu/egcs/gcc/Makefile.bsd-wrapper).
*** Error code 1
Stop in /usr/src/gnu/egcs/libf2c (line 134 of
/usr/src/gnu/egcs/libf2c/Makefile.bsd-wrapper).
*** Error code 1
Stop in /usr/src/include (line 79 of Makefile).
*** Error code 1
Stop in /usr/src (line 79 of Makefile).
I'd appreciate a bit of guidance with this, I've done this procedure in the
past with no problems.
I've gone in and removed and recreated /usr/obj and ran:
# cd /usr/src
# find . -type l -name obj | xargs rm
# make cleandir
# rm -rf /usr/obj
# mkdir /usr/obj
# make obj
as per the mini-upgrade faq, but to no avail. Dmesg available if needed.
TIA,
--
Darren Spruell
Sento IS Dep't