From owner-freebsd-questions Thu Sep 18 16:53:44 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA18748 for questions-outgoing; Thu, 18 Sep 1997 16:53:44 -0700 (PDT) Received: from rfd1.oit.umass.edu (mailhub.oit.umass.edu [128.119.175.4]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA18430 for ; Thu, 18 Sep 1997 16:48:07 -0700 (PDT) Received: from emily.oit.umass.edu by rfd1.oit.umass.edu (PMDF V5.1-8 #20973) with ESMTP id <0EGQA417100DQ1@rfd1.oit.umass.edu> for questions@FreeBSD.ORG; Thu, 18 Sep 1997 19:48:01 -0400 (EDT) Received: from localhost (gp@localhost) by emily.oit.umass.edu (8.8.3/8.8.6) with SMTP id TAA02234 for ; Thu, 18 Sep 1997 19:48:01 -0400 (EDT) Date: Thu, 18 Sep 1997 19:48:00 -0400 (EDT) From: Greg Pavelcak Subject: Re: make world probs: Source file corrupted? In-reply-to: <19970919084900.19196@lemis.com> To: questions@FreeBSD.ORG Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Fri, 19 Sep 1997, Greg Lehey wrote: > On Thu, Sep 18, 1997 at 07:56:19AM -0400, Greg Pavelcak wrote: > > I have been trying to make world from current sources cvsup-ed > > yesterday (Wed 9/17), but I haven't gotten very far. Here's a typical > > message right before stopping: > > > > /usr/src/gnu/usr.bin/ld/../../../contrib/gcc/cplus-dem.c: In function > > 'do type' parse error before character 0177 > > Character 0177 is a DEL character. That shouldn't be in a source > file. > > > When I check the line numbers associated with these I see thing like > > "string^?append" rather than "string_append". > > Yup, that's how a DEL character gets represented. > > > I don't know anything about C. Is this right? If not, how do you > > think those things get there and how can I change "^?" to "_" > > globally. The "^?" appears to be a real control character, that is > > it is a single character not "^" and "?". > > Your assumption that the source file is corrupted is correct. You may > be able to fix things as you suggest--it's certainly worth a try. > Probably, though, you'll need to get a new copy of the file. > > Greg > This was a really bizarre problem with my machine. I went into that file and tried to replace the deletes using vi g/^?/s//_/g (I got the ctrl-delete combination to produce this) Immediately after, just because I'm paranoid, I searched for the pattern and got "Pattern not Found". A few seconds later, I would hear some disk activity, search for the pattern again and have 5 or six "^?"s in the file. I don't know if I'm having hardware problems or what. I'm trying with different memory now and still posting my problems for you helpful people to see. Thanks. Greg