GP32 Undefined Reference In Mrmirko's Sdk


bobintrees

Still Fresh
Joined
Feb 7, 2004
Messages
35
This is what I get when I compile my project:
Code:
../lib/gp_sprite.a(gp_sprite.o)(.text+0x198): In function `gp_DMA1RawBlit':
: undefined reference to `gp_DMA1Memcopy'
collect2: ld returned 1 exit status
make: *** [all] Error 1

It looks like a problem in the SDK, but it doesn't give the error for the example.
Any ideas what to look at?

Thanks,
Bobby
 
I had the same problem. You'll need to compile gp_sprite.c once again after putting everything after "// -----------------------NOT USEABLE under this line--------------------" in comments (or better: delete those lines, they won't do anything useful anyway).
 
That fixed it. Thanks don.

But I still don't understand it.
gp_sprite.a has
extern gp_DMA1Memcopy in it...

and when I use nm on it, it shows gp_DMA1Memcopy there....

Oh well. Thanks again.
Bobby
 
Back
Top