jbrandwood / liberis

MIT License
7 stars 2 forks source link

undefined reference to `_zdalimit' and more in examples #5

Closed enthusi closed 2 years ago

enthusi commented 2 years ago

when I try to 'make examples' it bails out with:

crt0.o: In function _main': (.text+0x64): undefined reference to_zdalimit'

as well as _zdaend, _zdabss, _zdadata, _edata

I am quite sure that all else is set up properly. It appears to be only the v810-ld step causing this error (also when trying to compile other PC-FX projects).

Does that ring a bell? Could it be that the linker script (which mentions those) somehow doesn't do as it should? Or something missing on my part? Thanks you very much - any help is appreciated

enthusi commented 2 years ago

The issue was with v810-gcc itself which had NOT updated their v810.x linkerscript. Recompiling the v810-linker with the latest liberis linkerscript solved this issue!