Page 1 of 1

[DONE] Undefined symbol

Posted: Sun Apr 20, 2008 5:27 am
by Mistrel
I'm getting this error when compiling this source to a Tailbite library. I suspect that it's due to _Debug being in the name but it's neither at the beginning or the end of the procedure. Can these exceptions be allowed to compile?

The error:

Code: Select all

---------------------------
TailBite Error
---------------------------
FAsm: NDB_DebugDrawNewtonLines.asm

flat assembler  version 1.67.15  (1040407 kilobytes memory)

Functions\NDB_DebugDrawNewtonLines.asm [3]:

Public PB_NDB_DebugDrawNewtonLines

error: undefined symbol.


The pipe has been ended.


---------------------------
OK   
---------------------------
Here is the source:

Code: Select all

PrototypeC ProtoNDB_DebugDrawNewtonLines()
ProcedureDLL NDB_DebugDrawNewtonLines()
	Static Ptr
	If Not GDKLoadPtr(@Ptr,"NDB.dll","?NDB_DebugDrawNewtonLines@@YAXXZ")
		ProcedureReturn 0
	EndIf
	If Not GDKDebuggerPresent()
		Function.ProtoNDB_DebugDrawNewtonLines=Ptr
		Function()
		GDKCheckRuntimeError()
		ProcedureReturn 0
	EndIf
	GDKMsgLong(Ptr, #Null)
EndProcedure
To compile you'll need the PureGDK framework library:
http://puregdk.com/files/Lib_GDKPlugin.zip

Posted: Sun Apr 20, 2008 11:59 pm
by ABBKlaus
Seems to be a bug, i´m on it.