This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Stray characters in .o files....
- From: Zack Weinberg <zack at codesourcery dot com>
- To: Thomas J Amato <Thomas_J_Amato at raytheon dot com>
- Cc: gcc at gcc dot gnu dot org, gcc-help at gcc dot gnu dot org
- Date: Wed, 19 Jun 2002 08:33:37 -0700
- Subject: Re: Stray characters in .o files....
- References: <OFAB10B9BA.15D3409E-ON85256BDD.004FD205@and.us.ray.com>
On Wed, Jun 19, 2002 at 10:39:22AM -0400, Thomas J Amato wrote:
> Hi,
>
> 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
> .sun_gcc_dbg/test_harness.o:221: stray '\20' in program
> .sun_gcc_dbg/test_harness.o:222:114: warning: null character(s) ignored
> .sun_gcc_dbg/test_harness.o:222:122: warning: null character(s) preserved
> in literal
> .sun_gcc_dbg/test_harness.o:222:203: warning: null character(s) ignored
> .sun_gcc_dbg/test_harness.o:222:206: warning: null character(s) ignored
> .sun_gcc_dbg/test_harness.o:221: stray '\21' in program
> .sun_gcc_dbg/test_harness.o:222:210: warning: null character(s) ignored
> .sun_gcc_dbg/test_harness.o:221: stray '\230' in program
Something has become severely confused and is attempting to parse
object files as source code. Since you do not show the link command,
I cannot tell what happened.
zw