#21188 - cosmic4z - Tue May 25, 2004 4:51 pm
HELP !!! (please)
I am using devkit advance (GCC) .. and wish to have a string created in GBA ram .. my function looks like this :-
void SE_InitSI(sSI* pSI,sInitSI* pInitSI)
{
char cName[8] = {"hello"};
some code here ...
}
when I complie / link ... i get :-
SE.o: In function `SE_InitSI':
/cygdrive/e/dev/gba/cayho/SE.c:28: undefined reference to `memcpy'
/cygdrive/e/dev/gba/cayho/SE.c:28: undefined reference to `memset'
make: *** [main.elf] Error 1
are memcpy / memset in some library somewhere !?
what am I missing !?
Jamie
_________________
Qwak - www.qwak.co.uk | Forum - www.qwak.co.uk/forum/
I am using devkit advance (GCC) .. and wish to have a string created in GBA ram .. my function looks like this :-
void SE_InitSI(sSI* pSI,sInitSI* pInitSI)
{
char cName[8] = {"hello"};
some code here ...
}
when I complie / link ... i get :-
SE.o: In function `SE_InitSI':
/cygdrive/e/dev/gba/cayho/SE.c:28: undefined reference to `memcpy'
/cygdrive/e/dev/gba/cayho/SE.c:28: undefined reference to `memset'
make: *** [main.elf] Error 1
are memcpy / memset in some library somewhere !?
what am I missing !?
Jamie
_________________
Qwak - www.qwak.co.uk | Forum - www.qwak.co.uk/forum/