#10247-D creating output section ".sysmem" without a SECTIONS specification recoder C/C++ Problem
DSP数组定义如下
#define MSG_MAX_SIZE 256
typedef struct MT_MSG1 { Uint16 buffer[37]; Uint16 Packet_num; Uint16 Message_len; Uint16 Year; Uint16 MonthDay; Uint32 Time; Uint16 Counter1; Uint16 block_status_word; // The Block Status Word of the Message Uint16 time_tag; Uint16 data_poiner; // The Pointer to the data bulk Uint16 command_word; // Command Word
Uint16 status_word; Uint16 rec_rt_status_word; // For Rt to RT Uint16 tran_command_word; // For RT to RT Uint16 pdata_bulk[72]; // Data bulk Uint16 data_size; // The Size of the data words Uint16 msg_format; // The Message F }*BU61580_MT_MSG[MSG_MAX_SIZE];
pBU61580_MT_MSG[CurrentMsgCnt]=(struct MT_MSG1*)malloc(sizeof(struct MT_MSG1));
Seven Han:
具体报哪些错?
#10247-D creating output section ".sysmem" without a SECTIONS specification recoder C/C++ Problem
提示没有在SECTIONS中分配.sysmem段。
#10247-D creating output section ".sysmem" without a SECTIONS specification recoder C/C++ Problem
DSP数组定义如下
#define MSG_MAX_SIZE 256
typedef struct MT_MSG1 { Uint16 buffer[37]; Uint16 Packet_num; Uint16 Message_len; Uint16 Year; Uint16 MonthDay; Uint32 Time; Uint16 Counter1; Uint16 block_status_word; // The Block Status Word of the Message Uint16 time_tag; Uint16 data_poiner; // The Pointer to the data bulk Uint16 command_word; // Command Word
Uint16 status_word; Uint16 rec_rt_status_word; // For Rt to RT Uint16 tran_command_word; // For RT to RT Uint16 pdata_bulk[72]; // Data bulk Uint16 data_size; // The Size of the data words Uint16 msg_format; // The Message F }*BU61580_MT_MSG[MSG_MAX_SIZE];
pBU61580_MT_MSG[CurrentMsgCnt]=(struct MT_MSG1*)malloc(sizeof(struct MT_MSG1));
juntao dong:
回复 Seven Han:
请问如何设置?