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 > Linking woes

#50823 - triton - Sat Aug 13, 2005 5:09 pm

Can someone show me how to link? I know it's written in the FAQ but devkitarm alway says undefined reference to so and so so that I have to include my entire data (bg tile and map and so on) into my main c file. It even complains about some of my code in my header file like not knowing what this struct SPRITE is when it is already declared in my header.

#50833 - poslundc - Sat Aug 13, 2005 6:36 pm

Post both the commands you are using to compile/link, and the error messages you are getting.

Dan.

#50926 - triton - Sun Aug 14, 2005 6:33 pm

Scratch that. Just typing errors. Silly me.