View unanswered posts | View active topics It is currently Sun Oct 22, 2017 4:40 pm



Reply to topic  [ 2 posts ] 
 Compile error: cannot find -lmm 
Author Message

Joined: Sat Jul 01, 2017 8:35 am
Posts: 1
Hi all~
I'm new and interested in GBA dev.
I'm walking along with the tutorial by tonc.
When I compile the template example project there is a error saying cannot find -lmm, the output like this:
Code:
$ make
template.c
arm-none-eabi-gcc -MMD -MP -MF /opt/devkitpro/examples/gba/template/build/template.d -g -Wall -O3 -mcpu=arm7tdmi -mtune=arm7tdmi -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -iquote /opt/devkitpro/examples/gba/template/include -I/opt/devkitpro/libgba/include -I/opt/devkitpro/examples/gba/template/build -c /opt/devkitpro/examples/gba/template/source/template.c -o template.o
linking cartridge
/opt/devkitpro/devkitARM/lib/gcc/arm-none-eabi/6.3.0/../../../../arm-none-eabi/bin/ld: cannot find -lmm
collect2: error: ld returned 1 exit status
/opt/devkitpro/devkitARM/gba_rules:24: recipe for target '/opt/devkitpro/examples/gba/template/template.elf' failed
make[1]: *** [/opt/devkitpro/examples/gba/template/template.elf] Error 1
Makefile:119: recipe for target 'build' failed
make: *** [build] Error 2

I'm working on Ubuntu 16.04 64bit system.
Any ideas on this error? Thanks!


Sat Jul 01, 2017 9:23 am
Profile
Site Admin

Joined: Tue Aug 09, 2005 3:21 am
Posts: 1207
Location: UK
I'd presume you didn't install maxmod.

devkitARMupdate.pl from https://sourceforge.net/projects/devkit ... Installer/ should install it for you.

_________________
Help keep devkitPro toolchains free, Donate today

devkitPro IRC support
Personal Blog


Fri Jul 07, 2017 12:16 pm
Profile ICQ WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
  Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.
Get devkitPro at SourceForge.net. Fast, secure and Free Open Source software downloads