Debugging Errors: [makefile:47: LEDsampleinput.axf] Error 2

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Debugging Errors: [makefile:47: LEDsampleinput.axf] Error 2

913 Views
Weiland
Contributor I

Hello!

 

Im having debugging errors with this error message. Can someone help me?

20:03:18 **** Incremental Build of configuration Debug for project LEDsampleinput ****
make -r -j8 linker-script-debug.ld all
make: 'linker-script-debug.ld' is up to date.
Building target: LEDsampleinput.axf
Invoking: MCU C++ Linker
arm-none-eabi-c++ -o "LEDsampleinput.axf" ./prog.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/board.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/cmsis_nvic.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_overrides.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/retarget.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/system_MK64F12.o -lmbed -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -L"C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM" -DMBED_DEBUG -DMBED_TRAP_ERRORS_ENABLED=1 -mcpu=cortex-m4 -mthumb -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed -Wl,--end-group -Xlinker -Map="LEDsampleinput.map" -Xlinker -print-memory-usage -Xlinker --gc-sections -Xlinker --wrap=main -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f (2).zip_expanded/LEDsampleinput/Debug/linker-script-debug.ld
c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/buildtools/bin/sh: syntax error: unexpected "("
make: *** [makefile:47: LEDsampleinput.axf] Error 2
"make -r -j8 linker-script-debug.ld all" terminated with exit code 2. Build might be incomplete.

20:03:19 Build Failed. 1 errors, 0 warnings. (took 974ms)

0 Kudos
7 Replies

900 Views
Weiland
Contributor I

Hello Sir Erich it gave me different error this time.

I had successfully debug a program before but that one was coming from our professor. But when I write my own code and run it in the debugger, it is giving me an error.

 

09:41:00 **** Incremental Build of configuration Debug for project LEDsampleinput ****
make -r -j8 linker-script-debug.ld all
make: 'linker-script-debug.ld' is up to date.
Building target: LEDsampleinput.axf
Invoking: MCU C++ Linker
arm-none-eabi-c++ -o "LEDsampleinput.axf" ./prog.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/PeripheralPins.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/analogin_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/analogout_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/crc.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/dma_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/flash_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_adc16.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_clock.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_clock_config.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_cmp.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_cmt.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_common.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_crc.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_dac.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_dmamux.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_dspi.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_dspi_edma.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_edma.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_enet.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_ewm.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_flash.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_flexbus.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_flexcan.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_ftm.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_gpio.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_i2c.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_i2c_edma.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_llwu.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_lptmr.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_pdb.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_phy.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_pit.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_pmc.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_rcm.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_rnga.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_rtc.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_sai.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_sai_edma.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_sdhc.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_sim.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_smc.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_sysmpu.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_uart.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_uart_edma.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_vref.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/fsl_wdog.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/gpio_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/gpio_irq_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/i2c_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/lp_ticker.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_board.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_crc_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_overrides.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_retarget.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_sdk_boot.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_tz_context.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/pinmap.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/port_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/pwmout_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/qspi_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/rtc_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/serial_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/sleep.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/spi_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/startup_MK64F12.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/storage_driver.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/system_MK64F12.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/trng_api.o C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/us_ticker.o -lmbed -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -L"C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM" -DMBED_DEBUG -DMBED_TRAP_ERRORS_ENABLED=1 -DMBED_MINIMAL_PRINTF -Wl,-n -Wl,--start-group -lstdc++ -lsupc++ -lm -lc -lgcc -lnosys -lmbed -Wl,--end-group -Xlinker -Map="LEDsampleinput.map" -Xlinker -print-memory-usage -Xlinker --gc-sections -Xlinker --wrap=main -Xlinker --wrap=_malloc_r -Xlinker --wrap=_free_r -Xlinker --wrap=_realloc_r -Xlinker --wrap=_memalign_r -Xlinker --wrap=_calloc_r -Xlinker --wrap=exit -Xlinker --wrap=atexit -Xlinker --wrap=printf -Xlinker --wrap=sprintf -Xlinker --wrap=snprintf -Xlinker --wrap=vprintf -Xlinker --wrap=vsprintf -Xlinker --wrap=vsnprintf -Xlinker --wrap=fprintf -Xlinker --wrap=vfprintf -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/Debug/linker-script-debug.ld
Memory region Used Size Region Size %age Used
m_interrupts: 1 KB 1 KB 100.00%
m_flash_config: 16 B 16 B 100.00%
c:/nxp/mcuxpressoide_11.3.1_5262/ide/plugins/com.nxp.mcuxpresso.tools.win32_11.3.0.202008311133/tools/bin/../lib/gcc/arm-none-eabi/9.3.1/../../../../arm-none-eabi/bin/ld.exe: C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f.zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/mbed_board.o: in function `mbed_error_vfprintf':
m_text: 29724 B 1047536 B 2.84%
m_data: 1 KB 64 KB 1.56%
/home/jenkins/mbed_jenkins/workspace/bm_wrap/1728/mbed-os/platform/mbed_board.c:68: undefined reference to `__wrap_vsnprintf'
m_data_2: 30456 B 192 KB 15.49%
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:47: LEDsampleinput.axf] Error 1
"make -r -j8 linker-script-debug.ld all" terminated with exit code 2. Build might be incomplete.

09:41:00 Build Failed. 3 errors, 0 warnings. (took 525ms)

 

0 Kudos

898 Views
ErichStyger
Senior Contributor V

Your code is calling a function named

__wrap_vsnprintf

You will need to link with the proper library which has that one included.

0 Kudos

896 Views
Weiland
Contributor I

Is this an SDK issue sir?

0 Kudos

878 Views
ErichStyger
Senior Contributor V

you are obviously using mbed, so this is not an MCUXpresso SDK issue, but an mbed one imho.

0 Kudos

892 Views
Weiland
Contributor I

Hi sir I also don't know how to add library and which library it is

 

0 Kudos

877 Views
ErichStyger
Senior Contributor V

You are using mbed, and this is a completely different system. From your message it seem you received that from your professor: you have to check with him if he made this project.

0 Kudos

905 Views
ErichStyger
Senior Contributor V

See the error message you have received:

syntax error: unexpected "("

You have not properly setup your command line. You are using a path with spaces but have not double-quoted it:

C:/Users/weila.LAPTOP-01E268KC/Downloads/LEDsampleinput_mcuxpresso_k64f\ (2).zip_expanded/LEDsampleinput/mbed/TARGET_K64F/TOOLCHAIN_GCC_ARM/system_MK64F12.o

Because that above path contains spaces, you have to use double quotes ("....") for it.

In addition to that, you have

\ (2).zip_expanded/

It is not a good idea to use parenthesis and spaces in a path.

I hope this helps,

Erich

0 Kudos