高通6280编译问题
时间:10-02
整理:3721RD
点击:
小弟在对6280平台编译时怎么也编译不过汇编文件,总是提示未知的操作符,不知如何解决,感觉环境哪里没有搞好,请教论坛中的各位大侠,帮帮小弟,不胜感谢!
我使用的编译器为ADS1.2,打了个 PATCH build 842的补丁。
编译时打印出来的错误信息如下:
Build OBJECT BT/timer_asm.o from SOURCE ../../services/time/timer_asm.s
"Bt/timer_asm.i", line 43: Error: A1163E: Unknown opcode
43 00000000 typedef unsigned char boolean;
"Bt/timer_asm.i", line 44: Error: A1163E: Unknown opcode
44 00000000 typedef unsigned long int uint32;
"BT/timer_asm.i", line 45: Error: A1163E: Unknown opcode
45 00000000 typedef unsigned short uint16;
"BT/timer_asm.i", line 46: Error: A1163E: Unknown opcode
46 00000000 typedef unsigned char uint8;
"BT/timer_asm.i", line 47: Error: A1163E: Unknown opcode
47 00000000 typedef signed long int int32;
"BT/timer_asm.i", line 48: Error: A1163E: Unknown opcode
48 00000000 typedef signed short int16;
"BT/timer_asm.i", line 49: Error: A1163E: Unknown opcode
49 00000000 typedef signed char int8;
"BT/timer_asm.i", line 50: Error: A1163E: Unknown opcode
50 00000000 typedef unsigned char byte;
"BT/timer_asm.i", line 51: Error: A1163E: Unknown opcode
51 00000000 typedef unsigned short word;
"BT/timer_asm.i", line 52: Error: A1163E: Unknown opcode
52 00000000 typedef unsigned long dword;
"BT/timer_asm.i", line 53: Error: A1163E: Unknown opcode
53 00000000 typedef unsigned char uint1;
"BT/timer_asm.i", line 54: Error: A1163E: Unknown opcode
54 00000000 typedef unsigned short uint2;
"BT/timer_asm.i", line 55: Error: A1163E: Unknown opcode
55 00000000 typedef unsigned long uint4;
"BT/timer_asm.i", line 56: Error: A1163E: Unknown opcode
56 00000000 typedef signed char int1;
"BT/timer_asm.i", line 57: Error: A1163E: Unknown opcode
57 00000000 typedef signed short int2;
"BT/timer_asm.i", line 58: Error: A1163E: Unknown opcode
58 00000000 typedef long int int4;
"BT/timer_asm.i", line 59: Error: A1163E: Unknown opcode
59 00000000 typedef signed long sint31;
"BT/timer_asm.i", line 60: Error: A1163E: Unknown opcode
60 00000000 typedef signed short sint15;
"BT/timer_asm.i", line 61: Error: A1163E: Unknown opcode
61 00000000 typedef signed char sint7;
"BT/timer_asm.i", line 62: Error: A1163E: Unknown opcode
62 00000000 typedef signed long long int64;
"BT/timer_asm.i", line 63: Error: A1163E: Unknown opcode
63 00000000 typedef unsigned long long uint64;
"BT/timer_asm.i", line 64: Error: A1163E: Unknown opcode
64 00000000 typedef dword rex_stack_word_type;
"BT/timer_asm.i", line 65: Error: A1163E: Unknown opcode
65 00000000 typedef dword rex_stack_size_type;
"BT/timer_asm.i", line 66: Error: A1163E: Unknown opcode
66 00000000 typedef dword rex_priority_type;
"BT/timer_asm.i", line 67: Error: A1163E: Unknown opcode
67 00000000 typedef dword rex_timer_cnt_type;
"BT/timer_asm.i", line 68: Error: A1163E: Unknown opcode
68 00000000 typedef dword rex_sigs_type;
"BT/timer_asm.i", line 69: Error: A1163E: Unknown opcode
69 00000000 typedef dword rex_vect_type;
"BT/timer_asm.i", line 70: Error: A1163E: Unknown opcode
70 00000000 typedef void (*rex_task_func_type)( unsigned long );
"BT/timer_asm.i", line 71: Error: A1163E: Unknown opcode
71 00000000 typedef void (*rex_isr_func_type)( void );
"BT/timer_asm.i", line 72: Error: A1163E: Unknown opcode
72 00000000 typedef void (*rex_apc_func_type)( unsigned long param );
"BT/timer_asm.i", line 73: Error: A1163E: Unknown opcode
73 00000000 typedef rex_apc_func_type rex_timer_cb_type;
"BT/timer_asm.i", line 74: Error: A1163E: Unknown opcode
74 00000000 typedef boolean (rex_dpc_func_type)(
"BT/timer_asm.i", line 75: Error: A1163E: Unknown opcode
75 00000000 unsigned long param1,
"BT/timer_asm.i", line 76: Error: A1163E: Unknown opcode
76 00000000 unsigned long param2,
"BT/timer_asm.i", line 77: Error: A1163E: Unknown opcode
77 00000000 unsigned long param3
"BT/timer_asm.i", line 78: Error: A1137E: Unexpected characters at end of line
78 00000000 );
"BT/timer_asm.i", line 79: Error: A1163E: Unknown opcode
79 00000000 typedef struct {
"BT/timer_asm.i", line 80: Error: A1163E: Unknown opcode
80 00000000 rex_dpc_func_type *dpc_ptr;
"BT/timer_asm.i", line 81: Error: A1163E: Unknown opcode
81 00000000 unsigned long dpc_param1;
"BT/timer_asm.i", line 82: Error: A1163E: Unknown opcode
82 00000000 unsigned long dpc_param2;
"BT/timer_asm.i", line 83: Error: A1163E: Unknown opcode
83 00000000 unsigned long dpc_param3;
"BT/timer_asm.i", line 84: Error: A1137E: Unexpected characters at end of line
84 00000000 } rex_dpc_item_type;
"BT/timer_asm.i", line 85: Error: A1163E: Unknown opcode
85 00000000 typedef struct
"BT/timer_asm.i", line 86: Error: A1167E: Invalid line start
86 00000000 {
"BT/timer_asm.i", line 87: Error: A1163E: Unknown opcode
87 00000000 uint32 node_id;
"BT/timer_asm.i", line 88: Error: A1163E: Unknown opcode
88 00000000 uint32 service_id;
"BT/timer_asm.i", line 89: Error: A1163E: Unknown opcode
89 00000000 rex_sigs_type receive_signal;
"BT/timer_asm.i", line 90: Error: A1163E: Unknown opcode
90 00000000 uint32 msg_wanted;
"BT/timer_asm.i", line 91: Error: A1163E: Unknown opcode
91 00000000 struct rex_tcb_struct* tcb_ptr;
"BT/timer_asm.i", line 92: Error: A1163E: Unknown opcode
92 00000000 struct pq_msg_queue_type* mq_ptr;
"BT/timer_asm.i", line 93: Error: A1163E: Unknown opcode
93 00000000 uint8 mq[ 320 ];
51 Errors, 0 Warnings
make: *** [BT/timer_asm.o] Error 8
我使用的编译器为ADS1.2,打了个 PATCH build 842的补丁。
编译时打印出来的错误信息如下:
Build OBJECT BT/timer_asm.o from SOURCE ../../services/time/timer_asm.s
"Bt/timer_asm.i", line 43: Error: A1163E: Unknown opcode
43 00000000 typedef unsigned char boolean;
"Bt/timer_asm.i", line 44: Error: A1163E: Unknown opcode
44 00000000 typedef unsigned long int uint32;
"BT/timer_asm.i", line 45: Error: A1163E: Unknown opcode
45 00000000 typedef unsigned short uint16;
"BT/timer_asm.i", line 46: Error: A1163E: Unknown opcode
46 00000000 typedef unsigned char uint8;
"BT/timer_asm.i", line 47: Error: A1163E: Unknown opcode
47 00000000 typedef signed long int int32;
"BT/timer_asm.i", line 48: Error: A1163E: Unknown opcode
48 00000000 typedef signed short int16;
"BT/timer_asm.i", line 49: Error: A1163E: Unknown opcode
49 00000000 typedef signed char int8;
"BT/timer_asm.i", line 50: Error: A1163E: Unknown opcode
50 00000000 typedef unsigned char byte;
"BT/timer_asm.i", line 51: Error: A1163E: Unknown opcode
51 00000000 typedef unsigned short word;
"BT/timer_asm.i", line 52: Error: A1163E: Unknown opcode
52 00000000 typedef unsigned long dword;
"BT/timer_asm.i", line 53: Error: A1163E: Unknown opcode
53 00000000 typedef unsigned char uint1;
"BT/timer_asm.i", line 54: Error: A1163E: Unknown opcode
54 00000000 typedef unsigned short uint2;
"BT/timer_asm.i", line 55: Error: A1163E: Unknown opcode
55 00000000 typedef unsigned long uint4;
"BT/timer_asm.i", line 56: Error: A1163E: Unknown opcode
56 00000000 typedef signed char int1;
"BT/timer_asm.i", line 57: Error: A1163E: Unknown opcode
57 00000000 typedef signed short int2;
"BT/timer_asm.i", line 58: Error: A1163E: Unknown opcode
58 00000000 typedef long int int4;
"BT/timer_asm.i", line 59: Error: A1163E: Unknown opcode
59 00000000 typedef signed long sint31;
"BT/timer_asm.i", line 60: Error: A1163E: Unknown opcode
60 00000000 typedef signed short sint15;
"BT/timer_asm.i", line 61: Error: A1163E: Unknown opcode
61 00000000 typedef signed char sint7;
"BT/timer_asm.i", line 62: Error: A1163E: Unknown opcode
62 00000000 typedef signed long long int64;
"BT/timer_asm.i", line 63: Error: A1163E: Unknown opcode
63 00000000 typedef unsigned long long uint64;
"BT/timer_asm.i", line 64: Error: A1163E: Unknown opcode
64 00000000 typedef dword rex_stack_word_type;
"BT/timer_asm.i", line 65: Error: A1163E: Unknown opcode
65 00000000 typedef dword rex_stack_size_type;
"BT/timer_asm.i", line 66: Error: A1163E: Unknown opcode
66 00000000 typedef dword rex_priority_type;
"BT/timer_asm.i", line 67: Error: A1163E: Unknown opcode
67 00000000 typedef dword rex_timer_cnt_type;
"BT/timer_asm.i", line 68: Error: A1163E: Unknown opcode
68 00000000 typedef dword rex_sigs_type;
"BT/timer_asm.i", line 69: Error: A1163E: Unknown opcode
69 00000000 typedef dword rex_vect_type;
"BT/timer_asm.i", line 70: Error: A1163E: Unknown opcode
70 00000000 typedef void (*rex_task_func_type)( unsigned long );
"BT/timer_asm.i", line 71: Error: A1163E: Unknown opcode
71 00000000 typedef void (*rex_isr_func_type)( void );
"BT/timer_asm.i", line 72: Error: A1163E: Unknown opcode
72 00000000 typedef void (*rex_apc_func_type)( unsigned long param );
"BT/timer_asm.i", line 73: Error: A1163E: Unknown opcode
73 00000000 typedef rex_apc_func_type rex_timer_cb_type;
"BT/timer_asm.i", line 74: Error: A1163E: Unknown opcode
74 00000000 typedef boolean (rex_dpc_func_type)(
"BT/timer_asm.i", line 75: Error: A1163E: Unknown opcode
75 00000000 unsigned long param1,
"BT/timer_asm.i", line 76: Error: A1163E: Unknown opcode
76 00000000 unsigned long param2,
"BT/timer_asm.i", line 77: Error: A1163E: Unknown opcode
77 00000000 unsigned long param3
"BT/timer_asm.i", line 78: Error: A1137E: Unexpected characters at end of line
78 00000000 );
"BT/timer_asm.i", line 79: Error: A1163E: Unknown opcode
79 00000000 typedef struct {
"BT/timer_asm.i", line 80: Error: A1163E: Unknown opcode
80 00000000 rex_dpc_func_type *dpc_ptr;
"BT/timer_asm.i", line 81: Error: A1163E: Unknown opcode
81 00000000 unsigned long dpc_param1;
"BT/timer_asm.i", line 82: Error: A1163E: Unknown opcode
82 00000000 unsigned long dpc_param2;
"BT/timer_asm.i", line 83: Error: A1163E: Unknown opcode
83 00000000 unsigned long dpc_param3;
"BT/timer_asm.i", line 84: Error: A1137E: Unexpected characters at end of line
84 00000000 } rex_dpc_item_type;
"BT/timer_asm.i", line 85: Error: A1163E: Unknown opcode
85 00000000 typedef struct
"BT/timer_asm.i", line 86: Error: A1167E: Invalid line start
86 00000000 {
"BT/timer_asm.i", line 87: Error: A1163E: Unknown opcode
87 00000000 uint32 node_id;
"BT/timer_asm.i", line 88: Error: A1163E: Unknown opcode
88 00000000 uint32 service_id;
"BT/timer_asm.i", line 89: Error: A1163E: Unknown opcode
89 00000000 rex_sigs_type receive_signal;
"BT/timer_asm.i", line 90: Error: A1163E: Unknown opcode
90 00000000 uint32 msg_wanted;
"BT/timer_asm.i", line 91: Error: A1163E: Unknown opcode
91 00000000 struct rex_tcb_struct* tcb_ptr;
"BT/timer_asm.i", line 92: Error: A1163E: Unknown opcode
92 00000000 struct pq_msg_queue_type* mq_ptr;
"BT/timer_asm.i", line 93: Error: A1163E: Unknown opcode
93 00000000 uint8 mq[ 320 ];
51 Errors, 0 Warnings
make: *** [BT/timer_asm.o] Error 8
~~~~~~~~~~~~~~~~
小编看到,请指点一下小弟
有人遇到过这个问题吗?
无人问津呀。。
把你的代码发来看看