delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/20/13:44:31

Date: Fri, 20 May 94 12:45:26 EDT
From: peprbv AT cfa0 DOT harvard DOT edu (Bob Babcock)
To: gambcl AT essex DOT ac DOT uk
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: What does this mean?
Reply-To: babcock AT cfa DOT harvard DOT edu

> main.c (.data+a6): multiple definition of 'start (.data)'
> fake (.text+0): first seen here

Do you have a variable named start declared outside of any function in two
different source files?  If so, one of them should be declared extern.  I'm
not sure what ld does in this case.  Some linkers complain, others just
silently merge the definitions.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019