Skipping incompatible libmm9.a?
Posted: Fri Feb 24, 2012 5:21 am
I just installed devkitarm. Since I'm using on Arch Linux, I use this package.
When I was trying to build the NDS graphics example, I got this:
Maybe because I'm using multilib gcc?
When I was trying to build the NDS graphics example, I got this:
Any idea why?arm-eabi-gcc -MMD -MP -MF /home/anta40/nds-examples/Graphics/Printing/print_both_screens/build/template.d -g -Wall -O2 -fomit-frame-pointer -ffast-math -mthumb -mthumb-interwork -march=armv5te -mtune=arm946e-s -I/home/anta40/nds-examples/Graphics/Printing/print_both_screens/include -I/home/anta40/nds-examples/Graphics/Printing/print_both_screens/build -I/opt/devkitpro/libnds/include -I/opt/devkitpro/libnds/include -I/home/anta40/nds-examples/Graphics/Printing/print_both_screens/build -DARM9 -c /home/anta40/nds-examples/Graphics/Printing/print_both_screens/source/template.c -o template.o
linking print_both_screens.elf
/opt/devkitpro/devkitARM/lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/bin/ld: skipping incompatible /opt/devkitpro/libnds/lib/libmm9.a when searching for -lmm9
/opt/devkitpro/devkitARM/lib/gcc/arm-eabi/4.6.1/../../../../arm-eabi/bin/ld: cannot find -lmm9
collect2: ld returned 1 exit status
Maybe because I'm using multilib gcc?