I always have the same problems (ModuleInfoZ, initZ, etc) when
using import modules (.di files) wich i then have to include in
the compilation process to get rid of linking errors. I do not
know if this is the case.
.
===
dmd -d -oficonx.exe dmain.d dmemmgt.d dalc.d @diconx.link
iconx.def -L/map/noi
OPTLINK (R) for Win32 Release 8.00.13
Copyright (C) Digital Mars 1989-2010 All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
iconx.obj(iconx)
Error 42: Symbol Undefined
file, while perfectly correct and containing
nothing that shouldn't be in a C header file (specifically, no
function definitions) nevertheless needed to be compiled into an
object and added to the eventual link. Doing so eliminated the
problem entirely.
Symbol Undefined _D2rt12__ModuleInfoZ