home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / hp / 8789 < prev    next >
Encoding:
Internet Message Format  |  1992-07-31  |  1.3 KB

  1. Path: sparky!uunet!europa.asd.contel.com!emory!kd4nc!km4ba!hpuerca!mhr
  2. From: mhr@hpuerca.atl.hp.com (Mike Reaser)
  3. Newsgroups: comp.sys.hp
  4. Subject: Re: Problem with C++ or the loader
  5. Message-ID: <4580060@hpuerca.atl.hp.com>
  6. Date: 31 Jul 92 15:27:58 GMT
  7. References: <1992Jul24.145817.27910@bnlux1.bnl.gov>
  8. Organization: a stone mountain of Kudzu
  9. Lines: 22
  10.  
  11. > I am trying to link a c++ code I am getting the following message:
  12.  
  13. > ld: initialized data space not big enough for COMM declaration of gain
  14.  
  15. > Where gain is a variable in one of the objects. An executable is
  16. > generated but it is sometimes aborted for no apparan reason.
  17.  
  18. > Aharon Friedman (aharon@bnl.gov)
  19.  
  20. The identifier "gain" has been declared more than once among all the 
  21. object files involved in the link process, and "gain" was declared with
  22. a different type and/or size each time it was defined.
  23.  
  24. Look at the source code involved in producing the object files used in
  25. the "offending" link -- you should find the multiple, inconsistent
  26. declarations for "gain".
  27.  
  28. =======================================================================
  29. Mike Reaser                           I barely speak for me, I _sure_
  30. Hewlett-Packard                          don't speak for HP.....
  31. N. Amer. Response Center - Atlanta    
  32. =======================================================================
  33.