On Saturday 31 December 2005 02:26 am, Kristian Vaaf wrote: > Can somebody please help me? > > I've been trying ever since 6.0-RELEASE to upgrade my 5.4-STABLE. >
A few weeks back I did the upgrade with 2 or 3 computers. I had problems but most of them were upgrading the ports to 6.0 versions. I would cvsup, then cd in /usr/src and run "make cleandir" twice. Then, just to make sure everything was clean, I would run cvsup of src-all again. I would cd /usr/obj and rm -rf *. This gets rid of the last bits from the last build and then I did the builds. When I did all of the above, I got a build and install on the first try. The only item in /etc/make.conf that affects the build was "NO_PROFILE=true". Kent > -------------------------------------------------------------- > > >>> stage 2.3: build tools > > -------------------------------------------------------------- > cd /usr/src; MAKEOBJDIRPREFIX=/usr/obj INSTALL="sh > /usr/src/tools/install.sh" > PATH=/usr/obj/usr/src/tmp/legacy/usr/sbin:/usr/obj/usr/src/tmp/legacy >/usr/bin:/usr/obj/usr/src/tmp/legacy/usr/games:/sbin:/bin:/usr/sbin:/u >sr/bin WORLDTMP=/usr/obj/usr/src/tmp MAKEFLAGS="-m > /usr/src/tools/build/mk -m /usr/src/share/mk" > /usr/obj/usr/src/make.i386/make -f Makefile.inc1 DESTDIR= > BOOTSTRAPPING=504100 -DNO_LINT -DNO_CPU_CFLAGS -DNO_WARNS build-tools > ===> bin/csh (obj,build-tools) > grep 'ERR_' /usr/src/bin/csh/../../contrib/tcsh/sh.err.c | grep > '^#define' >> sh.err.h cc -E -O2 -fno-strict-aliasing -pipe -I. > -I/usr/src/bin/csh -I/usr/src/bin/csh/../../contrib/tcsh > -D_PATH_TCSHELL='"/bin/csh"' > -I/usr/obj/usr/src/tmp/legacy/usr/include > /usr/src/bin/csh/../../contrib/tcsh/tc.const.c > /usr/src/bin/csh/../../contrib/tcsh/sh.char.h > /usr/src/bin/csh/config.h > /usr/src/bin/csh/../../contrib/tcsh/config_f.h > /usr/src/bin/csh/../../contrib/tcsh/sh.types.h sh.err.h -D_h_tc_const > | grep 'Char STR' | sed -e 's/Char \([a-zA-Z0-9_]*\)\(.*\)/extern > Char \1[];/' | sort >> tc.const.h In file included from > /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from > /usr/src/bin/csh/../../contrib/tcsh/tc.const.c:33: > /usr/include/wchar.h:33:18: cwchar: No such file or directory cc -o > gethost -L/usr/obj/usr/src/tmp/legacy/usr/lib -O2 > -fno-strict-aliasing -pipe -I. -I/usr/src/bin/csh > -I/usr/src/bin/csh/../../contrib/tcsh -D_PATH_TCSHELL='"/bin/csh"' > -I/usr/obj/usr/src/tmp/legacy/usr/include > /usr/src/bin/csh/../../contrib/tcsh/gethost.c In file included from > /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from > /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: > /usr/include/wchar.h:33:18: cwchar: No such file or directory In file > included from /usr/src/bin/csh/../../contrib/tcsh/sh.h:93, from > /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: > /usr/include/wchar.h:35: error: syntax error before "std" > In file included from > /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: > /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: error: syntax error > before "eChar" /usr/src/bin/csh/../../contrib/tcsh/sh.h:97: warning: > data definition has no type or storage class In file included from > /usr/src/bin/csh/../../contrib/tcsh/sh.h:1304, from > /usr/src/bin/csh/../../contrib/tcsh/gethost.c:33: > /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: error: syntax > error before "readc" > /usr/src/bin/csh/../../contrib/tcsh/sh.decls.h:221: warning: data > definition has no type or storage class *** Error code 1 > > Stop in /usr/src/bin/csh. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > -- Kent Stewart Richland, WA "Nunca te acostarás sin saber una cosa más" http://users.owt.com/kstewart/index.html _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"