I've got two *.asm files in my project, call them File1.asm and File2.asm. I have a function in File1 that I want to call from File2. I get a linker error:
[Error li1021] The following symbols referenced in processor 'p0' could not be resolved:
'Foo [_Foo]' referenced from '.\Debug\File2.doj'
I just can't figure out what I'm missing here, why the symbol isn't appearing as a global symbol... Can you please help me?
Here's what I'm doing:
=============== File1.asm ============
.TYPE _Foo, STT_FUNC;
// stuff is done in _Foo - it is not empty
=============== File2.asm ============
.TYPE _ClientFunction, STT_FUNC;
// do stuff