#11449 - NoMis - Tue Oct 07, 2003 5:31 pm
I'm trying to use the BgAffineSet function of the bios. I made an s file and put the following into it:
.global BgAffineSet
.arm
.align 4
BgAffineSet:
swi 0xE0000
bx lr
In my headerfile i put an extern function, like this:
extern void BgAffineSet(void*, void*, u32);
Then i defined the structure BgAffineSource and BgAffineDest. When i try to compile the whole thing it says:
main.o: In function `main':
main.o(.text+0x16e): undefined reference to `BgAffineSet(void*, void*, unsigned long)'
NoMis
.global BgAffineSet
.arm
.align 4
BgAffineSet:
swi 0xE0000
bx lr
In my headerfile i put an extern function, like this:
extern void BgAffineSet(void*, void*, u32);
Then i defined the structure BgAffineSource and BgAffineDest. When i try to compile the whole thing it says:
main.o: In function `main':
main.o(.text+0x16e): undefined reference to `BgAffineSet(void*, void*, unsigned long)'
NoMis