Skipping incompatible libmm9.a?

support for the ARM toolchain
Post Reply
anta40
Posts: 1
Joined: Fri Feb 24, 2012 4:44 am

Skipping incompatible libmm9.a?

Post by anta40 » 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:
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?

WinterMute
Site Admin
Posts: 1989
Joined: Tue Aug 09, 2005 3:21 am
Location: UK
Contact:

Re: Skipping incompatible libmm9.a?

Post by WinterMute » Sat Feb 25, 2012 12:12 pm

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.
Help keep devkitPro toolchains free, Donate today

Personal Blog

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 4 guests