[Tango/D] Undefined reference to __ModuleInfoZ error
keinfarbton at googlemail.com
Thu May 29 13:32:28 PDT 2008
> I keep obtaining errors like
> /home/primet/local/dsss/lib//libDD-tango-text.a(tango.text.Regex.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...
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
I have seen this only in very small applications. In bigger applications
this normally works without problems.
More information about the Digitalmars-d-learn