Stray characters in .o files....

Zack Weinberg zack@codesourcery.com
Wed Jun 19 09:19:00 GMT 2002


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



More information about the Gcc mailing list