Content originally posted in LPCWare by lintovincent88 on Tue May 12 04:20:06 MST 2015
hi.,
thanks for your reply., i think the library got linked, the old errors are not showing now.,but the new problem is RAM location overflow. why is it so? how can i solve this ?
This is the error i got :
Building target: touch_calibration_REV_B.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -L"E:\Workspace_NXPv.7.1\touch_calibration_REV_B\Emwin\emWin_library\LPCXpresso" -Xlinker --gc-sections -Xlinker -Map="touch_calibration_REV_B.map" -flto -mcpu=cortex-m4 -mfpu=fpv4-sp-d16 -mfloat-abi=softfp -mthumb -T "touch_calibration_REV_B_Release.ld" -o "touch_calibration_REV_B.axf" ./src/SSD1963.o ./src/cr_startup_lpc407x_8x.o ./src/graphics.o ./src/i2c_periph.o ./src/lpc_can.o ./src/main_0085.o ./src/pin_config.o ./inc/debug_frmwrk.o ./inc/lcd_qvga_tft.o ./inc/lcd_qvga_tft_revPB1.o ./inc/lpc_adc.o ./inc/lpc_bod.o ./inc/lpc_clkpwr.o ./inc/lpc_crc.o ./inc/lpc_dac.o ./inc/lpc_gpio.o ./inc/lpc_i2c.o ./inc/lpc_i2s.o ./inc/lpc_iap.o ./inc/lpc_pinsel.o ./inc/lpc_pwm.o ./inc/lpc_ssp.o ./inc/lpc_systick.o ./inc/lpc_timer.o ./inc/lpc_uart.o ./inc/system_LPC407x_8x_177x_8x.o ./inc/usb_host_init.o ./Emwin/emWin_header/GUIConf.o ./Emwin/emWin_header/GUI_X.o ./Emwin/emWin_header/LCDConf.o ./Emwin/emWin_header/LCD_X_8080_16.o -lemWin_M4
c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: touch_calibration_REV_B.axf section `.bss' will not fit in region `RamLoc64'
c:/nxp/lpcxpresso_7.1.1_125/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.3/../../../../arm-none-eabi/bin/ld.exe: region `RamLoc64' overflowed by 2037448 bytes
E:\Workspace_NXPv.7.1\touch_calibration_REV_B\Emwin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Task.o): In function `GUI_Unlock':
GUI_Task.c:(.text.GUI_Unlock+0xa): undefined reference to `GUI_X_Unlock'
E:\Workspace_NXPv.7.1\touch_calibration_REV_B\Emwin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Task.o): In function `GUI_Lock':
GUI_Task.c:(.text.GUI_Lock+0xe): undefined reference to `GUI_X_GetTaskId'
GUI_Task.c:(.text.GUI_Lock+0x16): undefined reference to `GUI_X_Lock'
GUI_Task.c:(.text.GUI_Lock+0x1a): undefined reference to `GUI_X_GetTaskId'
GUI_Task.c:(.text.GUI_Lock+0x34): undefined reference to `GUI_X_GetTaskId'
E:\Workspace_NXPv.7.1\touch_calibration_REV_B\Emwin\emWin_library\LPCXpresso\libemWin_M4.a(GUI_Task.o): In function `GUITASK_Init':
GUI_Task.c:(.text.GUITASK_Init+0x32): undefined reference to `GUI_X_InitOS'
collect2.exe: error: ld returned 1 exit status
make: *** [touch_calibration_REV_B.axf] Error 1
16:46:28 Build Finished (took 14s.16ms)