When I try to compile the project, an error occurs. I use Stef's Genesis Mini DevKit 0.4.
Here is what it is.
Code: Select all
sega.o: In function 'VBL':
(.text+0x346): relocation truncated to fit: R_68K_PC16 against symbol '_vblankcallback' defined in .text section in D:/apps/GenDev/lib/base.o
make: *** [rom.out] Error 1
Here's what I've tried to do:
- compile using "make -kf makefile.gen", did not work
- split code from 1 void to 2 voids, did not work either
Only deleting few rows of code helps.
How can I fix this problem? What causes it? Thanks in advance.