BREW生成.MOD文件时错误,哪位高手帮看看怎解决,下面时错误提示!
Building d:\pingbao\apple\apple using D:\pingbao\apple\apple.mak
Microsoft (R) Program Maintenance Utility Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
---------------------------
OBJECT AEEAppGen.o
C:\ARM\ADSv1_2\bin\armcc -c -DDYNAMIC_APP -cpu ARM7TDMI -apcs /ropi/inte
rwork/norwpi -littleend -zo -fa -g -Ospace -O2 -I. -IC:\BREW31~1.5\sdk\inc -I "C
:\BREW31~1.5\sdk\inc" -o AEEAppGen.o C:\BREW31~1.5\sdk\src\AEEAppGen.c
Serious error: C3397E: Cannot obtain license for compiler with license version >
= 1.2: No such feature exists
Feature: compiler
License path: C:\ARM\ADSv1_2\licenses\license.dat
FLEXlm error: -5,357
For further information, refer to the FLEXlm End User Manual,
available at "www.globetrotter.com".
NMAKE : fatal error U1077: 'C:\ARM\ADSv1_2\bin\armcc' : return code '0x1'
Stop.
Press any key to continue
[解决办法]
正确的应该是:
d:\ARM\ADSv1_2\bin\armcc -c -cpu ARM926EJ-s -apcs/interwork/norwpi -littleend -zo -fa -Ospace -O2 -D DYNAMIC_APP -I "D:\BrewMPSDK\Platforms\BREW 3.1.5 SP02\sdk\inc" -I ..\code -I ..\.. -o mrp_entry.o ..\code\vm\mrp_entry.c
根据你的情况,需要把ads的安装路径加到系统的路径表里,比如,我的ads安装在D:\ARM\ADSv1_2,那么就把这个放到系统的PATH里
你可能在安装ADS时没有选择修改系统的环境变量,重装一下ADS吧。