Hey Richard:

The symbol _end refers to the first location after the uninitialized 
data region. Why you're running into this is a puzzle though. On my 
IRIX box, here's an interesting note from the man page:

     In ISO/ANSI C, the end, edata, and etext symbols are elements of the
     space of names reserved for the user.  Thus, by default these symbols
     are not defined by the loader (ld(1)).  If, however, a reference to
     end, edata, or etext is unsatisfied during the link, it will be
     defined by the loader.  The address of the resultant symbol will be
     identical to the address of the symbol of the same name prefixed by an
     underbar. (Thus, if an unsatisfied reference to end remains at the end
     of the link, ld(1) will satisfy the reference by giving it the same
     address as _end, which is always defined.)

Mike Chupa

[EMAIL PROTECTED] wrote:
> 
> During my attempts to compile OpenDX on darwin, I get an
> undefined symbol  _end  at the dxexec link stage. This is
> such a common word, I can't figure out where in the code
> the function end() must be (if in fact that is what needs to be defined).
> Anyone seen this before?
> 
>    Richard

-- 
Michael A. Chupa  Research Associate, MSU Engineering Research Ctr.
     USPS:          P.O. Box 9627, Mississippi State, MS 39762-9627 
FedEx/UPS:              2 Research Blvd., Starkville, MS 39759-9740
http://www.erc.msstate.edu/~chupa   662.325.3849  fax: 662.325.7692

Reply via email to