4.2 Userlib Problem?

Windows specific forum
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

4.2 Userlib Problem?

Post by Karbon »

I tried to compile some code today after upgrading and got
---------------------------
jaPBe - Assembler error
---------------------------
Assembler error


PureBasic.asm [333438]:

MP1080

PureBasic.asm [11885] MP1080 [20]:

CALL _SYS_FreeStructureStrings@8

error: undefined symbol '_SYS_FreeStructureStrings@8'.
---------------------------
OK
---------------------------
I'm guessing.. I'm only using the PVGadgets userlib (and Paul has updated it) and one of flype's userlibs (I've emailed him on that).

Has anyone else had this and tracked down the userlib causing it?
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Trond
Always Here
Always Here
Posts: 7446
Joined: Mon Sep 22, 2003 6:45 pm
Location: Norway

Post by Trond »

You can easily find the faulty part of your code by compiling it with the /COMMENTED console switch and looking at the asm file.
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

I tried that but couldn't see anything definitive.

The linker gives me :

POLINK: error: Unresolved external symbol '_PB_StringBasePosition'.
POLINK: fatal error: 1 unresolved external(s).

I see

extrn _SYS_SetStringBasePosition@4
extrn _SYS_RestoreStringBasePosition@4

In the ASM file but it doesn't really mean anything to me. I'm fairly confident it is the RegINI userlib from Paul since that is the only userlib I'm using not marked for 4.20. I'm in the process of writing PB versions of the SetINIKEy/GetINIKey procedures to see.

Thanks!!
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Karbon
PureBasic Expert
PureBasic Expert
Posts: 2010
Joined: Mon Jun 02, 2003 1:42 am
Location: Ashland, KY
Contact:

Post by Karbon »

New development, it only happens when the debugger is enabled.
-Mitchell
Check out kBilling for all your billing software needs!
http://www.k-billing.com
Code Signing / Authenticode Certificates (Get rid of those Unknown Publisher warnings!)
http://codesigning.ksoftware.net
Post Reply