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.

Coding > error(quite urgent)...

#134825 - mk2007 - Tue Jul 17, 2007 12:04 pm

Hi friends,

whenevr i run the gaemboy programming i got the following error..
i really have no idea why this error coming??

the error
-------------------------------------------------------------------------
Compiler: Default compiler
Executing gcc.exe...
gcc.exe "C:\Documents and Settings\Mk\Desktop\AntennaChecker\gba_2.0.0\gba.c" -o "C:\Documents and Settings\Mk\Desktop\AntennaChecker\gba_2.0.0\gba.exe" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
C:\DOCUME~1\Mk\LOCALS~1\Temp/ccYTaaaa.o(.text+0x34):gba.c: undefined reference to `genSetup'
C:\DOCUME~1\Mk\LOCALS~1\Temp/ccYTaaaa.o(.text+0xcb):gba.c: undefined reference to `DisplayInit'
C:\DOCUME~1\Mk\LOCALS~1\Temp/ccYTaaaa.o(.text+0xf7):gba.c: undefined reference to `DisplayPrintString'
C:\DOCUME~1\Mk\LOCALS~1\Temp/ccYTaaaa.o(.text+0x133):gba.c: undefined reference to `DisplayPrintStringEx'
C:\DOCUME~1\Mk\LOCALS~1\Temp/ccYTaaaa.o(.text+0x172):gba.c: undefined reference to `DisplayPrintChar



if have any information please pass to me..


waiting for your valuable reply..

with regards,
mk..

#134827 - Dwedit - Tue Jul 17, 2007 12:13 pm

Which gcc.exe is that? Devkitarm uses prefixed commands, like arm-eabi-gcc.
_________________
"We are merely sprites that dance at the beck and call of our button pressing overlord."

#134830 - tepples - Tue Jul 17, 2007 12:38 pm

"Dev-Cpp" is a distribution of the MinGW port of GCC. It's often used alongside devkitARM to compile tools that generate lookup tables and convert images for use in GBA and DS programs.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.