AnsweredAssumed Answered

Error when building fNET

Question asked by cencong su on Jun 18, 2015
Latest reply on Jun 26, 2015 by Simon Lecker

I download the latest fNET V2.7.5 and import the shell demo of mk60fn1m to Codewarrior 10.5 to build the project, but error occur:

Here is the console log, how to fix this error?  thanks.

 

**** Clean-only build of configuration TWRK60F120M_Internal_RAM for project twrk60f120m_shell ****

Build complete for project twrk60f120m_shell

 

 

**** Build of configuration TWRK60F120M_Internal_RAM for project twrk60f120m_shell ****

 

 

"C:\\Freescale\\CW MCU v10.5\\gnu\\bin\\mingw32-make" -j12 all

'Regenerating dependency file: Sources/fnet_stack/os/ucosIII/fnet_ucosIII_isr_s.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_low_s.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_checksum_s.d'

'Regenerating dependency file: Sources/startup_mk70fn1/crt0_s.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_low_s.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_isr_s.d'

'Regenerating dependency file: Sources/fnet_application/fapp_tftp_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_telnet_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_setget_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_ping_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_params_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_mem_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_application/fapp_llmnr_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_http_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_fs_image_http09_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_fs_image_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_fs_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_dns_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_dhcp_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_c.d'

'Regenerating dependency file: Sources/fnet_application/fapp_bench_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/common/fnet_fec_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/fnet_cpu_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_timer_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_stdlib_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_serial_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_flash_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_isr_inst_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_eth_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_cache_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mcf/fnet_mcf_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_timer_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_stdlib_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_serial_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_isr_inst_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_isr_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_flash_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_eth_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_cache_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mk/fnet_mk_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_timer_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_stdlib_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_serial_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_isr_inst_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_isr_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_eth_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_cache_c.d'

'Regenerating dependency file: Sources/fnet_stack/cpu/mpc/fnet_mpc_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/os/brtos/fnet_brtos_c.d'

'Regenerating dependency file: Sources/fnet_stack/os/freertos/fnet_freertos_c.d'

'Regenerating dependency file: Sources/fnet_stack/os/ucosIII/fnet_ucosIII_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/dhcp/fnet_dhcp_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/dns/fnet_dns_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/flash/fnet_flash_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/fs/fnet_fs_root_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/fs/fnet_fs_rom_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/fs/fnet_fs_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/http/fnet_http_ssi_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/http/fnet_http_post_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/http/fnet_http_get_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/services/http/fnet_http_auth_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/http/fnet_http_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/llmnr/fnet_llmnr_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/http/fnet_http_cgi_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/ping/fnet_ping_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/poll/fnet_poll_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/serial/fnet_serial_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/shell/fnet_shell_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/ssl/fnet_ssl_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/telnet/fnet_telnet_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/tftp/fnet_tftp_srv_c.d'

'Regenerating dependency file: Sources/fnet_stack/services/tftp/fnet_tftp_cln_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_udp_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_timer_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_tcp_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_stdlib_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_stack_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_socket_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_raw_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_prot_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_netif_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_netbuf_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_nd6_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_mld_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_mempool_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_loop_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_isr_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_ip6_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_ip_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_inet_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_igmp_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_icmp6_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_icmp_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_eth_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_error_c.d'

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_checksum_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/fnet_stack/stack/fnet_arp_c.d'

'Regenerating dependency file: Sources/main_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/common/startup_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/wdog_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/smc_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/sdram_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/rtc_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/rcm_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/pmc_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/nfc_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/mcg_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/lptmr_c.d'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

'Regenerating dependency file: Sources/startup_mk70fn1/drivers/cache_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/vectors_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/sysinit_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/start_c.d'

'Regenerating dependency file: Sources/startup_mk70fn1/arm_cm4_c.d'

' '

' '

' '

' '

' '

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/arm_cm4.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/crt0.s'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/start.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/sysinit.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/vectors.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/cache.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/lptmr.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/mcg.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/nfc.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/pmc.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rcm.c'

'Building file: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rtc.c'

'Executing target #1 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/arm_cm4.c'

'Executing target #2 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/crt0.s'

'Executing target #3 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/start.c'

'Executing target #4 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/sysinit.c'

'Executing target #5 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/vectors.c'

'Executing target #6 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/cache.c'

'Executing target #7 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/lptmr.c'

'Executing target #8 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/mcg.c'

'Executing target #9 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/nfc.c'

'Executing target #10 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/pmc.c'

'Executing target #11 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rcm.c'

'Executing target #12 C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rtc.c'

'Invoking: ARM Compiler'

'Invoking: ARM Assembler'

'Invoking: ARM Compiler'

'Invoking: ARM Compiler'

'Invoking: ARM Compiler'

'Invoking: ARM Compiler'

'Invoking: ARM Compiler'

'Invoking: ARM Compiler'

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/arm_cm4.args" -o "Sources/startup_mk70fn1/arm_cm4_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/arm_cm4.c" -MD -gccdep

'Invoking: ARM Compiler'

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwasmarm" @@"Sources/startup_mk70fn1/crt0.args" -o "Sources/startup_mk70fn1/crt0_s.obj" "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/crt0.s" -MD -gccdep

'Invoking: ARM Compiler'

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/start.args" -o "Sources/startup_mk70fn1/start_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/start.c" -MD -gccdep

'Invoking: ARM Compiler'

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/sysinit.args" -o "Sources/startup_mk70fn1/sysinit_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/sysinit.c" -MD -gccdep

'Invoking: ARM Compiler'

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/vectors.args" -o "Sources/startup_mk70fn1/vectors_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/vectors.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/cache.args" -o "Sources/startup_mk70fn1/drivers/cache_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/cache.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/lptmr.args" -o "Sources/startup_mk70fn1/drivers/lptmr_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/lptmr.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/mcg.args" -o "Sources/startup_mk70fn1/drivers/mcg_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/mcg.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/nfc.args" -o "Sources/startup_mk70fn1/drivers/nfc_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/nfc.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/pmc.args" -o "Sources/startup_mk70fn1/drivers/pmc_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/pmc.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/rcm.args" -o "Sources/startup_mk70fn1/drivers/rcm_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rcm.c" -MD -gccdep

"C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwccarm" -gccinc @@"Sources/startup_mk70fn1/drivers/rtc.args" -o "Sources/startup_mk70fn1/drivers/rtc_c.obj" -c "C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rtc.c" -MD -gccdep

C:/Freescale/CW MCU v10.5/MCU/ARM_Tools/Command_Line_Tools/mwasmarm|Assembler|Error

(C:\FNET\FNET 2.7.5\fnet_stack\cpu\fnet_cpu_config.h|368|0|0|12859|0)

=#if (FNET_CFG_CPU_TIMER_NUMBER<0)||(FNET_CFG_CPU_TIMER_NUMBER>FNET_CFG_CPU_TIMER_NUMBER_MAX)

>Expected operator, got U

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/arm_cm4.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/vectors.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/start.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/lptmr.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/sysinit.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/nfc.c'

' '

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/mcg.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/cache.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/pmc.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rcm.c'

'Finished building: C:/FNET/FNET 2.7.5/fnet_demos/common/startup/startup_mk70fn1/drivers/rtc.c'

' '

' '

' '

' '

' '

' '

' '

' '

' '

' '

 

 

Errors caused tool to abort.

mingw32-make: *** [Sources/startup_mk70fn1/crt0_s.obj] Error 1

mingw32-make: *** Waiting for unfinished jobs....

Outcomes