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.

Patater's Introduction to Nintendo DS Programming > How am I missing a library?

#166023 - AerosolSP - Sat Jan 17, 2009 10:47 am

I'm getting a "collect2: ld returned 1 exit status" error after trying to complie Patater's tutorial, which was completed up to displaying the backgrounds (splash on top screen, stars and planet on the bottom. After I thought I knocked out all the syntax errors, along comes this error, which I've come to understand means I'm missing a library.

Here is what it says before that error (note, I'm working under linux. Ubuntu, specifically).

linking chapter_0-starting_system.elf
/home/dave/Documents/DevkitPro/devkitARM/bin/../lib/gcc/arm-eabi/4.3.2/../../../../arm-eabi/bin/ld: cannot find -lmm9
_________________
Uh oh, it's an oreo!

#166157 - hacker013 - Sat Jan 31, 2009 7:36 pm

update your devkitARM
_________________
Website / Blog

Let the nds be with you.