基于am3359的EtherCAT 从站中,编译给的demo总是错误,链接出错,这是什么问题
<Linking>
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/os_drivers/lib/sys_bios_driver.lib
<osdrv_mcspi.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/os_drivers/lib/sys_bios_driver.lib
<osdrv_mmu.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/os_drivers/lib/sys_bios_driver.lib
<osdrv_oledlcd.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/os_drivers/lib/sys_bios_driver.lib
<osdrv_pruss.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/os_drivers/lib/sys_bios_driver.lib
<osdrv_spiflash.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/os_drivers/lib/sys_bios_driver.lib
<osdrv_uart.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_delay.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_gpio.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_i2c.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_led.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_mcspi.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_mux.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_uart.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/platform/am335x/lib/am335x_platfor
m.lib<plat_utils.obj>" has a Tag_PCS_config attribute value of "1" that is
different than one previously seen ("0"); combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<SampleApplicationInterface.obj>" has a Tag_PCS_config
attribute value of "1" that is different than one previously seen ("0");
combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<coeappl.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<ecatappl.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<ecatslv.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<mailbox.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<objdef.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<sdoserv.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<tiesc_appreload.obj>" has a Tag_PCS_config attribute
value of "1" that is different than one previously seen ("0"); combining
incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<tiesc_cache_disable.obj>" has a Tag_PCS_config
attribute value of "1" that is different than one previously seen ("0");
combining incompatible files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<tiescbsp.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<tieschw.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<bootmode.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<ecatcoe.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<ecateoe.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<ecatfoe.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<eoeappl.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<foeappl.obj>" has a Tag_PCS_config attribute value of
"1" that is different than one previously seen ("0"); combining incompatible
files
error: file
"C:/ti/am335x_sysbios_ind_sdk_1.1.0.8/sdk/protocols/ethercat_slave/stack_lib
/ecat_slave_stack.lib<tiesc_fw_cir_buff.obj>" has a Tag_PCS_config attribute
value of "1" that is different than one previously seen ("0"); combining
incompatible files
"../am335x.cmd", line 11: warning: no matching section
"../am335x.cmd", line 11: warning: no matching section
"../am335x.cmd", line 11: warning: no matching section
undefined first referenced symbol in file ——— —————- HOSTwrite C:\ti\am335x_sysbios_ind_sdk_1.1.0.8\sdk\examples\ethercat_slave\Debug\configPkg\package\cfg\ethercat_pea8fnv.oea8fnv
__TI_decompress_none __TI_decompress_rle24 __TI_zero_init
Yaoming Qin:
请严格按照 http://processors.wiki.ti.com/index.php/AM335x_SYSBIOS_Industrial_SDK_Getting_Started_Guide#Building_and_Running_Sample_Application
可以试试 Refactor,也是链接里面的note提到的。