problem during compiling..missing library?

Post Reply
dammilo
Posts: 1
Joined: Fri Apr 03, 2009 4:47 pm

problem during compiling..missing library?

Post by dammilo » Fri Apr 03, 2009 5:10 pm

Hi guys, this is my first post here...sorry to introduce myself with this problem :)
I'm a newbie with programming on ds, and yesterday I began to read the uber guide of Patater.
Now, I've got a problem with the first run...when I launch the make, I have:

[...]

linking prj1DS.elf

/home/dante/devkitPRO/devkitARM/bin/../lib/gcc/arm-eabi/4.3.3/../../../../arm-eabi/bin/ld: cannot find -lmm9
collect2: ld returned 1 exit status
make[1]: *** [/home/dante/Desktop/prj1DS/prj1DS.elf] Error 1
make: *** [build] Error 2

Is it caused by a missing library? I deleted that -lmm9 flag and I managed to compile the .nds, i can run it, but it has some problem displaying the planet (if you know the tut :) ). I've update the libnds and the whole devkitarm, but the error is still there and pops out every time, even with the examples provided by patater.....suggestions?

sorry for my english and my n00bness :) hope you can help.

thanks


EDIT: OOOOOK, typical, i found the answer 10 minutes after posting here :) it's the maxmod lib. so, i have to search for the problems with the display of planet in my source. thx anyway :)

weirdfox
Posts: 29
Joined: Thu Feb 19, 2009 8:45 am
Location: Montreal, Canada
Contact:

Re: problem during compiling..missing library?

Post by weirdfox » Sat Apr 04, 2009 8:45 pm

Did you installed maxmod-nds ?
http://sourceforge.net/project/showfile ... _id=273808

For simple installation, just extract the archive in libnds' folder.

libmm9 is the arm9 part of maxmod's code, it's not needed if you don't plan to use maxmod's sound system.
try, crash, debug and learn :)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest