|
各位大侠,小弟刚开始学习MTK开发,编译工程是出现如下错误,请帮忙分析一下,已经找了好几天了,软件也重装了几次,还是解决不了,编译器是用的ADS1.2的编译器。
编译错误:
Preprocessing GV scripts ... .\tst\database\msglog_db\custom_parse_db.c
Preprocessing unionTag scripts ... .\tst\database\msglog_db\custom_parse_db.c
make: *** [.\tst\database_classb\BPLGUInfoCustomAppSrc] Error 1
在build/log/下看错误日志:错误信息如下:
codegen.log这个文件里的内容是:
"kal\include\kal_release.h", line 782: Error: C3029E: 'return': implicit cast of non-0 int to pointer
"kal\include\kal_release.h", line 788: Error: C3029E: 'return': implicit cast of non-0 int to pointer
"kal\include\kal_release.h", line 806: Error: C2456E: undeclared name, inventing 'extern int va_list'
"kal\include\kal_release.h", line 806: Serious error: C2284E: expected ';' after command - inserted before 'argv'
"kal\include\kal_release.h", line 806: Error: C2456E: undeclared name, inventing 'extern int argv'
"kal\include\kal_release.h", line 807: Serious error: C2292E: typedef name 'kal_int32' used in expression context
"kal\include\kal_release.h", line 807: Serious error: C2284E: expected ';' after command - inserted before 'ret_val'
"kal\include\kal_release.h", line 807: Error: C2456E: undeclared name, inventing 'extern int ret_val'
"stdarg.h", line 32: Serious error: C2933E: type disagreement for 'va_list'
"stdarg.h", line 32: Serious error: C2934E: duplicate definition of 'va_list'
"interface\ps\nvram_editor_data_item.h", line 782: Error: C2225W: declaration lacks type/storage-class (assuming 'int'): 'BEGIN_NVRAM_DATA'
"interface\ps\nvram_editor_data_item.h", line 782: Error: C2285E: expected ';' or ',' - inserted ';' before 'LID_BIT'
"interface\ps\nvram_editor_data_item.h", line 782: Error: C2225W: declaration lacks type/storage-class (assuming 'int'): 'LID_BIT'
"interface\ps\nvram_editor_data_item.h", line 782: Error: C2285E: expected ';' or ',' - inserted ';' before '"000"'
"interface\ps\nvram_editor_data_item.h", line 782: Serious error: C2322E: Expecting <declarator> or <type> but found '"000"'
"interface\ps\nvram_editor_data_item.h", line 784: Error: C2285E: expected ';' or ',' - inserted ';' before '{'
"interface\ps\nvram_editor_data_item.h", line 784: Serious error: C2337E: Misplaced '{' at top level - ignoring block
"interface\ps\nvram_editor_data_item.h", line 785: Error: C2487E: declaration with no effect
"interface\ps\nvram_editor_data_item.h", line 799: Error: C2225W: declaration lacks type/storage-class (assuming 'int'): 'LID_BIT'
"interface\ps\nvram_editor_data_item.h", line 799: Error: C2285E: expected ';' or ',' - inserted ';' before '"000"'
"interface\ps\nvram_editor_data_item.h", line 799: Serious error: C2322E: Expecting <declarator> or <type> but found '"000"'
"interface\ps\nvram_editor_data_item.h", line 801: Error: C2285E: expected ';' or ',' - inserted ';' before '{'
"interface\ps\nvram_editor_data_item.h", line 801: Serious error: C2337E: Misplaced '{' at top level - ignoring block
"interface\ps\nvram_editor_data_item.h", line 802: Error: C2487E: declaration with no effect
"interface\ps\nvram_editor_data_item.h", line 825: Error: C2225W: declaration lacks type/storage-class (assuming 'int'): 'LID_BIT'
"interface\ps\nvram_editor_data_item.h", line 825: Error: C2285E: expected ';' or ',' - inserted ';' before 'MULTIPLE_LID'
"interface\ps\nvram_editor_data_item.h", line 825: Error: C2225W: declaration lacks type/storage-class (assuming 'int'): 'MULTIPLE_LID'
"interface\ps\nvram_editor_data_item.h", line 825: Error: C2285E: expected ';' or ',' - inserted ';' before '"002"'
"interface\ps\nvram_editor_data_item.h", line 825: Serious error: C2322E: Expecting <declarator> or <type> but found '"002"'
"interface\ps\nvram_editor_data_item.h", line 827: Error: C2285E: expected ';' or ',' - inserted ';' before '{'
"interface\ps\nvram_editor_data_item.h", line 827: Fatal error: C3047U: Too many errors
Compilation abandoned. |
|