Unrecognized architecture specification

Topics for the Eclipse Environment
Post Reply
chrisroyuri
Posts: 1
Joined: Tue Feb 23, 2010 7:03 am

Unrecognized architecture specification

Post by chrisroyuri »

I got this error when trying to build one of my MOD5213 projects.

**** Build of configuration Release for project 5213-URIAUVSonarV2.8 ****

**** Internal Builder is used for build ****
m68k-elf-g++ -O2 -falign-functions=4 -IC:\nburn\include_nn -IC:\nburn\MOD5213\include -IC:\nburn\gcc-m68k\m68k-elf\include -IC:\Workspace\5213-URIAUVSonarV2.8 -gdwarf-2 -Wall -Wno-write-strings -c -fmessage-length=0 -fno-rtti -fno-exceptions -mcpu=5213 -DMOD5213 -DMCF5213 -omain.o ..\main.cpp
Assembler messages:
Error: unrecognized architecture specification `cpu=5213'
Build error occurred, build is stopped
Time consumed: 1012 ms.

Does anybody know what the problem is and how I can fix it?
Ridgeglider
Posts: 513
Joined: Sat Apr 26, 2008 7:14 am

Re: Unrecognized architecture specification

Post by Ridgeglider »

It sounds like yor project may not be properly set up. Try building an empty project for the 5213 using the app wizard (file/new/netburner project/netburner device/etc...), one configured without checking any of the options (like serial load, serial debug, or smart traps). Then import the files from the old project into the new one to see if they will build. I'd recommend that you have the current NB updates too.
Post Reply