gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

Audio > AAS with HAM

#21914 - kanelo - Wed Jun 09, 2004 3:21 pm

Hi everyone.

I was reading about AAS, and tried to set up it into a Ham project. No problem making the linker where to find the lib, but it says something as :

undefined reference to _call_via_r3 in function AAS_DoWork()

Can anyone help me with this?

Thank you for your time.

#21927 - jd - Wed Jun 09, 2004 6:16 pm

kanelo wrote:

I was reading about AAS, and tried to set up it into a Ham project. No problem making the linker where to find the lib, but it says something as :

undefined reference to _call_via_r3 in function AAS_DoWork()


This is usually caused by using ld to do the linking rather than gcc. (The "_call_via_rX" functions are defined in libgcc.a which is usually automatically linked to your project if you use gcc to link, but not if you use ld.)

#21934 - dagamer34 - Wed Jun 09, 2004 8:14 pm

This post on the HAM website talks about how to setup AAS with HAM:
http://www.ngine.de/site/modules.php?name=Forums&file=viewtopic&p=2031#2031
_________________
Little kids and Playstation 2's don't mix. :(

#21941 - jd - Wed Jun 09, 2004 10:32 pm

dagamer34 wrote:
This post on the HAM website talks about how to setup AAS with HAM:
http://www.ngine.de/site/modules.php?name=Forums&file=viewtopic&p=2031#2031


That's a good howto, although there is a minor mistake in it - the call to AAS_DoWork() in vblFunc() is unnecessary with the interrupt handling method the author is using.

#21989 - kanelo - Thu Jun 10, 2004 9:07 pm

it's been very useful for me. thanks.