Page 1 of 1

Compile error: cannot find -lmm

Posted: Sat Jul 01, 2017 9:23 am
by retro gloss bit
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: Select all

$ make
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!

Re: Compile error: cannot find -lmm

Posted: Fri Jul 07, 2017 12:16 pm
by WinterMute
I'd presume you didn't install maxmod. from ... Installer/ should install it for you.