strlen, strcpy, etc errors when trying to link an object
irtcupc via Digitalmars-d-learn
digitalmars-d-learn at puremagic.com
Sun Feb 1 10:19:53 PST 2015
Hello, I try to link an object file under win32, the format is ok
(omf), i haven't yet started to write the di interface (it exists
in a c H file that i'll translate) that a simple compilation try
gives me:
---
C:\...\myObj.obj(myObj)
Error 42: Symbol Undefined strlen
C:\...\myObj.obj(myObj)
Error 42: Symbol Undefined strcpy
C:\...\myObj.obj(myObj)
Error 42: Symbol Undefined strcmp
C:\...\myObj.obj(myObj)
Error 42: Symbol Undefined memset
C:\...\myObj.obj(myObj)
Error 42: Symbol Undefined sprintf
---
It looks like the object wants some things coming from snn...
the command line looks like:
---
dmd app.d myObj.di myObj.obj
---
How can i "tell" the obj to use the matching snn function ?
More information about the Digitalmars-d-learn
mailing list