[DONE] Undefined symbol

TailBite specific forum

Moderators: gnozal, ABBKlaus, lexvictory

Mistrel
Addict
Addict
Posts: 3415
Joined: Sat Jun 30, 2007 8:04 pm

[DONE] Undefined symbol

Post 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
ABBKlaus
Addict
Addict
Posts: 1143
Joined: Sat Apr 10, 2004 1:20 pm
Location: Germany

Post by ABBKlaus »

Seems to be a bug, i´m on it.
Post Reply