Page 1 of 1

Skipping incompatible libmm9.a?

Posted: Fri Feb 24, 2012 5:21 am
by anta40
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:
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
Any idea why?
Maybe because I'm using multilib gcc?

Re: Skipping incompatible libmm9.a?

Posted: Sat Feb 25, 2012 12:12 pm
by WinterMute
The most likely explanation is a corrupted libnds archive, you could try using the perl script from SVN to install. http://devkitpro.svn.sourceforge.net/vi ... lupdaters/

I'm not entirely sure how the Arch Linux packages work or how up to date that package is.