delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1994/05/20/14:47:06

To: babcock AT cfa DOT harvard DOT edu
Subject: Re: What does this mean?
Cc: djgpp AT sun DOT soe DOT clarkson DOT edu
From: jcrigler AT orl DOT mmc DOT com
Date: Fri, 20 May 1994 14:01:02 -0400
Sender: jcrigler AT iplmail DOT orl DOT mmc DOT com

> > 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.

Or one or both should be declared `static'.
"A distributed system is one in which I cannot get
something done because a machine I've never heard of is
down" --Leslie Lamport
-------------------------------------------------------------------------------
Jim Crigler          | "A distributed system is one in which I cannot get
jcrigler AT orl DOT mmc DOT com | something done because a machine I've never heard of is
(407)356-8650        | down"                             -- Leslie Lamport


- Raw text -


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