www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - [Tango/D] Undefined reference to __ModuleInfoZ error

reply Mael <mael.primet gmail.com> writes:
Hello,

I keep obtaining errors like
/home/primet/local/dsss/lib//libDD-tango-text.a(tango.text.Reg
x.o):(.data+0x818): undefined reference to `_D5tango4math4Math12__ModuleInfoZ'

when compiling certain Tango applications,
someone knows what I must do to fix this ? I installed the latest (non-release)
Tango SVN trunk and did a dsss build && dsss install, so I don't think
something went wrong in the install process...
May 29 2008
next sibling parent Tower Ty <towerty msn.com.au> writes:
Mael Wrote:

 Hello,
 
 I keep obtaining errors like
 /home/primet/local/dsss/lib//libDD-tango-text.a(tango.text.Reg
x.o):(.data+0x818): undefined reference to `_D5tango4math4Math12__ModuleInfoZ'
 
 when compiling certain Tango applications,
 someone knows what I must do to fix this ? I installed the latest
(non-release) Tango SVN trunk and did a dsss build && dsss install, so I don't
think something went wrong in the install process...
 
its looking for something in the tango.math.math module better post what you are trying to do and someone will tell you more
May 29 2008
prev sibling parent Frank Benoit <keinfarbton googlemail.com> writes:
Mael schrieb:
 Hello,
 
 I keep obtaining errors like
 /home/primet/local/dsss/lib//libDD-tango-text.a(tango.text.Reg
x.o):(.data+0x818): undefined reference to `_D5tango4math4Math12__ModuleInfoZ'
 
 when compiling certain Tango applications,
 someone knows what I must do to fix this ? I installed the latest
(non-release) Tango SVN trunk and did a dsss build && dsss install, so I don't
think something went wrong in the install process...
 
Mael DSSS has several sub libraries for tango, like one for tango-text and one for tango-math. It happens that DSSS does not correctly figure out that there is a reference from one of those to another. If something like that happens, i simply import the missing module in my app. In this case import tango.math.Math; I have seen this only in very small applications. In bigger applications this normally works without problems. Frank
May 29 2008