Error: L6286E: Value(0x40006e) out of range(-0x400000 - 0x3fffff) for relocation #5 (wrt symbol __rt_sdiv) in m11305_2.obj(INTERNCODE) Not enough information to produce a SYMDEFs file. Finished: 1 information, 68 warning and 5 error messages. A:应该是ram超了。
///////////////////////////////////////(更新截止日期为:2009.5.11)///////////////////////////////////////////
33.Q: 有客户是26_06B的平台,编译连接阶段报错如下:
Warning: L6340W: options first and last are ignored for link type of -scattered
Error: L6218E: Undefined symbol mdi_audio_mma_open_string (referred from
Sound_config.obj).
Error: L6218E: Undefined symbol mdi_audio_mma_play (referred from Sound_config.obj). Error: L6218E: Undefined symbol mdi_audio_mma_stop (referred from Sound_config.obj). Error: L6218E: Undefined symbol mdi_audio_mma_pause (referred from Sound_config.obj). Error: L6218E: Undefined symbol mdi_audio_mma_resume (referred from
Sound_config.obj).
Error: L6218E: Undefined symbol mdi_audio_mma_close (referred from Sound_config.obj). A: 有些客户的平台是比较早期的版本,需要我们与客户沟通告诉客户将报错未定义
的函数定义成空函数即可。
34.Q: 有客户是单卡的平台,触摸屏未开启,加入我们的游戏编译阶段报错,该怎样处
理这个问题?
A: 若是双卡的项目,只需要在DMG_Client.c文件下开启
UNDEF_PEN_FUNCTION和UNDEF_PEN_REG_FUNCTION两个宏就是可以的,但单卡项目还需要在DMG_ShareFunc.h文件内加入: typedef struct {
S16 x; S16 y;
} mmi_pen_point_struct;
typedef MMI_BOOL (*mmi_pen_handler) (mmi_pen_point_struct point); typedef void (*mmi_pen_hdlr) (mmi_pen_point_struct pos); 最后告诉客户remake即可。
35.Q: 有客户是0812的项目,移植了我们的游戏,但在游戏进行中有上一级图标重新刷
新的问题,我们该怎样处理?
A: 需要与客户沟通,告诉客户在DMG_Client.c文件下DMGPreEntryKKGame函数
中将图标是否刷新的标志位附值1,在每进入状态栏函数的时候若该标志位为1则退出,在退出游戏的函数DMGExitKKGame中再将其标志位附值0,这样就可以解决类似的显示重叠的问题。
36.Q: 有客户是0812的项目,移植了我们的游戏,但在鸡蛋游戏进行中有按键失灵的问
6
题,我们该怎样处理?
A: 需要与产品开发部沟通,让他们配合修改功夫小鸡的游戏,在游戏timer中加入
按键注册的函数,最后通过客户反馈该问题解决。
//////////////////////////(更新截止日期为:2009.5.25)////////////////////////////////
37.Q: 有客户是0812的项目,移植了我们的游戏,但在比编译到NV的时候编译报错,
我们该怎样处理?
A: 通过客户反馈原因是每回new的时候在文件nvram_mmi_cache_cust_pack.h里面
的custpack_nvram_ptr数组中的最后会产生一个(null),是这个导致编译通不过的。 将我们的NV中属性一项
NVRAM_CATEGORY_USER | NVRAM_CATEGORY_CUSTPACK, 中的后一项屏蔽掉,后客户再去new的时候问题解决。
38.Q: 有客户移植了我们的游戏,但在编译到我们的模块的时候报错,我们该怎样处理?
A: 通过客户将抱错文件发来我们最后确定原因是在option.mak文件下,加入的宏是
在文件的最上面的部分,造成的相关模块未定义到的,需要将宏定义放置到文件的 最下面。最后客户编译通过。
//////////////////////////////////(更新截止日期为:2009.6.17)////////////////////
39.Q:有客户是0812的项目,移植了我们的游戏,但在编译到我们的模块的时候报错, Compiling plutommi/KkfApps/Share/DMG_Client.c ...
\
old-style parameters mixed
\
',' - inserted ')' before '*'
\line 441: Error: C2470E: function
prototype formal 'list_menu_category_history' needs type or class - 'int' assumed
\
',' - inserted ';' before '*'
\line 441: Serious error: C2933E: type
disagreement for 'U16'
\line 441: Serious error: C2934E:
duplicate definition of 'U16'
\line 441: Error: C2225W: declaration
lacks type/storage-class (assuming 'int'): 'h'
\line 441: Error: C2225W: declaration
lacks type/storage-class (assuming 'int'): 'U16'
\
',' - inserted ';' before 'nItems'
\line 441: Error: C2225W: declaration
lacks type/storage-class (assuming 'int'): 'nItems'
\
7
',' - inserted ';' before ')'
\line 441: Serious error: C2322E:
Expecting
\line 304: Error: C2491E: 'struct
' has no members
\
expected '}' - inserted before 'U16'
\
type disagreement for 'U16'
\
duplicate definition of 'U16'
\line 304: Error: C2285E:
expected ';' or ',' - inserted ';' before 'srcport'
\line 304: Error: C2225W:
declaration lacks type/storage-class (assuming 'int'): 'srcport'
\
Expecting
\line 321: Error: C2285E:
expected ';' or ',' - inserted ';' before 'mmi_frm_sms_send_struct'
\line 321: Error: C2225W:
declaration lacks type/storage-class (assuming 'int'): 'mmi_frm_sms_send_struct'
\line 371: Error: C2472E:
prototype and old-style parameters mixed
\line 371: Error: C2285E:
expected ')' or ',' - inserted ')' before '*'
\line 371: Error: C2470E:
function prototype formal 'mmi_frm_sms_send_struct' needs type or class - 'int' assumed
\line 371: Error: C2285E:
expected ';' or ',' - inserted ';' before '*'
\line 371: Error: C2225W:
declaration lacks type/storage-class (assuming 'int'): 'sendData'
\line 371: Error: C2285E:
expected ';' or ',' - inserted ';' before ')'
\
Expecting
\line 373: Error: C2472E:
prototype and old-style parameters mixed
\line 373: Error: C2285E:
expected ')' or ',' - inserted ')' before '*'
\line 373: Fatal error: C2470E:
C3047U: Too many errors。我们该怎样处理?
A: 在我们的文件在文件DMG_Macro.h中加入一个头文件
#include \
8
示例:
//...Add MSG header
#include \#include \#include \#include \
#include \#include \#include \#include \#include \#include \最后通过验证编译通过。
//////////////////////////////////////(更新截止日期为:2009.7.8)//////////////////////////////////////
40.Q: 在移植我们的游戏完毕测试时,发现发送短信手机重启,客户软件版本是28之上
的版本,我们没有,即按照短信接口开放出来的方式去处理,在Dmg_Client.c
文件里更换发送短信函数后(外部发短信函数)报错,提示:
pEMS = GetEMSDataForEdit( 0, 1 );提示赋值类型错误;
INPUT_TYPE_ALPHANUMERIC_SENTENCECASE未定义;我们该怎样处理? A: 在外部发短信函数前将MTK中GetEMSDataForEdit( 0, 1 );的外部声明
extern EMSData *GetEMSDataForEdit(EMSData **p, U8 force); 并定义宏定义: #define INPUT_TYPE_ALPHANUMERIC_SENTENCECASE
IMM_INPUT_TYPE_SENTENCE
添加在外部函数前。Remake编译通过,经测试发送短信没有问题,问题解决。
41.Q: 在客户处移植我们的游戏,并测试,确认没有问题。后来客户反馈说出现问
题,去到客户处发现问题是:手机插了SIM卡,可进入游戏却提示“未插入SIM卡”,通过和客户沟通之前的版本和出现问题的版本区别在于刚才有另一家SP有加入。 进入游戏的测试界面发现进入IMSI一项是空的,并没有显示出来,我们该怎样处理?
A:出现这个问题主要原因在于2家SP的timer的部分有重叠,有冲突,通过验证将mmitask.c文件下我们的初始化函数DMG_ApInit移到其他SP初始化函数的后面后,编译下载验证,游戏中是可以获取IMSI号的,经测试发送短信没有问题, 但是这里仍旧有个问题,这样修改的话会造成另一家SP的timer的部分是不起作用的,我们修改DMG_Client.c文件下:
unsigned short DMGGetGdiTimerID_Base(void)
{ return (unsigned short)GDI_TIMER_BASE+60;}//此处“+60” 之后编译验证,问题解决。
////////////////////////////////(更新截止日期为:2009.7.29)////////////////////////////////////// 42. Q: 35-0932编译报链接错误
9
\or: C2282E: expected '}' - inserted before 'dtcnt_set_profile_enum'
\85E: expected ';' or ',' - inserted ';' before 'set_type'
\25W: declaration lacks type/storage-class (assuming 'int'): 'set_type'
\or: C2322E: Expecting
\85E: expected ';' or ',' - inserted ';' before 'DataAccountNodeDisplay'
\25W: declaration lacks type/storage-class (assuming 'int'): 'DataAccountNodeDisplay' \or: C2282E: expected '}' - inserted before 'wlan_action_enum'
\85E: expected ';' or ',' - inserted ';' before 'action'
\25W: declaration lacks type/storage-class (assuming 'int'): 'action'
\or: C2322E: Expecting
\85E: expected ';' or ',' - inserted ';' before 'wlan_action_struct'
\25W: declaration lacks type/storage-class (assuming 'int'): 'wlan_action_struct'
\or: C2282E: expected '}' - inserted before 'wlan_action_struct'
\or: C2933E: type disagreement for 'wlan_action_struct'
\or: C2934E: duplicate definition of 'wlan_action_struct'
\
A: 这是缺少一个头文件 在DMG_Browser.h 里添加#include \例如:
#define __NEWSIMULATOR #include \#include \#include \
#include \#include \//#include \#include \#include \#undef __NEWSIMULATOR
10