Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Oct 1998 20:44:45 -0700
From:      John Polstra <jdp@polstra.com>
To:        rward@netcom.ca
Cc:        current@FreeBSD.ORG
Subject:   Re: Question about make world
Message-ID:  <199810110344.UAA17620@austin.polstra.com>
In-Reply-To: <000101bdf49c$8e18afe0$97176c18@blade.v-wave.com>
References:  <000101bdf49c$8e18afe0$97176c18@blade.v-wave.com>

next in thread | previous in thread | raw e-mail | index | archive | help
In article <000101bdf49c$8e18afe0$97176c18@blade.v-wave.com>,
Ryan Ward <rward@netcom.ca> wrote:

> cc -O -pipe -DFREEBSD_AOUT -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../cont
> rib/gcc -I/usr/src/gnu/usr.bin/cc/cc_int/../../../../contontrib/gcc/config -
> DFREEBSD_NATIVE -DDEFAULT_TARGET_VERSION=\"2.7.2.1\" -DDEFAULT_TARGET_MACHIN
> E=\"i386-unknown-freebsd\" -I/usr/obj/elf/usr/src/gnu/usr.bin/cc/cc_int/../c
> c_tools -I/usr/obj/elf/usr/src/tmp/usr/include -c
> ../cc_tools/insn-output.c -o insn-output.o
> ../cc_tools/insn-output.c:6271: parse error before `}'
> *** Error code 1

It looks to me like you've got a trashed-out version of insn-output.c
down in your /usr/obj tree.  It is a generated file, but it doesn't
look like it's removed by "make clean".  (That is a bug.)  So if it
gets damaged somehow, you're stuck with the bad version until you
intervene manually.

Get into "/usr/src/gnu/usr.bin/cc" and then do this:

    cd /usr/obj/elf$(/bin/pwd)		# But see below
    cd ..
    rm -rf cc

If the first command fails, try changing "/usr/obj/elf" to "/usr/obj".
If that fails, try "/usr/obj/aout".  Sorry, I never know for sure
where the object directory is these days.  If you can't find it,
then remove everything under /usr/obj, like this:

    cd /usr/obj
    rm -rf *; chflags -R 0 *; rm -rf *

Then do a new "make world".  It should work this time.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810110344.UAA17620>