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