01 January 2019, 20:23 | #1 |
Registered User
Join Date: Oct 2005
Location: Edinburgh
Age: 43
Posts: 84
|
vasm / vlink undefined symbol
Hello,
I'm working on small pet projects where I use vasm/vlink and I'm currently trying to add Player6.1 in it. I have a very simple makefile where it assemble two distinct asm file in 2 objects (610.6.asm and main.asm) but during the link i'm getting an undefined symbol on P61_Init (or any other function of the player). I'm using -Fvobj for VASM and for the linking i'm using these options: "-b amigahunk -Bstatic -S -e Start -sc". if i use -M to produce the mappin I can see that the code section are correctly merged so i'm bit puzzled on why it can't resolve the symbol. Any help would be appreciated Thanks! |
01 January 2019, 20:59 | #2 |
Natteravn
Join Date: Nov 2009
Location: Herford / Germany
Posts: 2,500
|
When you made VOBJ object files you can check the defined symbols in them with "vobjdump".
Did you XDEF P61_Init in 610.6.asm, so it is visible to the linking process? |
02 January 2019, 08:49 | #3 |
Registered User
Join Date: Oct 2005
Location: Edinburgh
Age: 43
Posts: 84
|
err that was it, stupid mistake -_-' thought i added it but nope ... thanks!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Using libraries with VBCC (Undefined Symbol) | NoBrain2k | Coders. C/C++ | 7 | 03 July 2018 12:02 |
vasm "undefined symbol" is driving me nuts | jotd | Coders. Asm / Hardware | 6 | 03 December 2017 20:17 |
Reference to undefined symbol __ldivu / __lmodu | iliak | Coders. C/C++ | 8 | 25 July 2016 00:01 |
AsmOne: Undefined symbol | copse | Coders. Asm / Hardware | 2 | 02 April 2012 01:41 |
Undefined symbol bsr.b init_bitmaps | VoltureX | Coders. General | 12 | 13 November 2011 16:11 |
|
|