Compile error: cannot find -lmm
Posted: Sat Jul 01, 2017 9:23 am
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:
I'm working on Ubuntu 16.04 64bit system.
Any ideas on this error? Thanks!
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
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
Any ideas on this error? Thanks!