From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13880 invoked by alias); 19 Jun 2002 16:16:53 -0000 Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org Received: (qmail 13609 invoked from network); 19 Jun 2002 16:16:30 -0000 Received: from unknown (HELO lax-gate6.raytheon.com) (199.46.200.235) by sources.redhat.com with SMTP; 19 Jun 2002 16:16:30 -0000 Received: from ds02w00.directory.ray.com (ds02w00.directory.ray.com [147.25.146.118]) by lax-gate6.raytheon.com (8.11.0.Beta3/8.11.0.Beta3) with ESMTP id g5JGGRt02365; Wed, 19 Jun 2002 09:16:28 -0700 (PDT) Received: from ds02w00.directory.ray.com (root@localhost) by ds02w00.directory.ray.com (8.12.1/8.12.1) with ESMTP id g5JGGQ6P027151; Wed, 19 Jun 2002 09:16:26 -0700 (PDT) Received: from ad2-mta02.and.us.ray.com (ad2-mta02.and.us.ray.com [138.127.59.160]) by ds02w00.directory.ray.com (8.12.1/8.12.1) with ESMTP id g5JGGEmU027010; Wed, 19 Jun 2002 09:16:25 -0700 (PDT) Subject: Re: Stray characters in .o files.... To: nathan@cs.bris.ac.uk Cc: gcc-help@gcc.gnu.org, nathan@cs.bris.ac.uk Message-ID: From: "Thomas J Amato" Date: Wed, 19 Jun 2002 09:16:00 -0000 MIME-Version: 1.0 Content-type: text/plain; charset=us-ascii X-SW-Source: 2002-06/txt/msg00181.txt.bz2 After I submitted this to the message board I realized that I had the -x c++ (not sure how it got there ;-o ) option on the command line. Pilot error. Tom Nathan Sidwell To: Thomas J Amato Sent by: nathan@compsci.br cc: gcc-help@gcc.gnu.org istol.ac.uk Subject: Re: Stray characters in .o files.... 06/19/02 11:30 AM Please respond to nathan Thomas J Amato wrote: > I'm hoping that someone has seem this. I am getting a large number of > errors when I go to link my test program (below is a snippet): > > .sun_gcc_dbg/test_harness.o:222:107: warning: null character(s) ignored > .sun_gcc_dbg/test_harness.o:222:110: warning: null character(s) ignored I'd guess that the .o file is not being recognized for what it is, and it is being processed as source of some kind. 1) How are you invoking the linker? 2) What does the -v (verbose) flag tell you? nathan -- Dr Nathan Sidwell :: Computer Science Department :: Bristol University The voices in my head told me to say this nathan@acm.org http://www.cs.bris.ac.uk/~nathan/ nathan@cs.bris.ac.uk