This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

linking error : LM4F120XL

Can Someone please explain, my error.

I am working with LM4F120XL and I try to build the program and receive this error.

I have the following libraries included, I also have Stellaris installed and has all the including files in the driverlib folder. 

#include"inc/lm4f120h5qr.h"

#include"inc/hw_memmap.h"

#include"inc/hw_types.h"

#include"driverlib/sysctl.h"

#include"driverlib/gpio.h"

#include"driverlib/uart.h"

#include"driverlib/rom.h"

#include"driverlib/pin_map.h"

 

 

 *********ERROR*************************

'Building target: ss3.out'

'Invoking: ARM Linker'

"C:/ti/ccsv5/tools/compiler/arm_5.0.1/bin/armcl" -mv7M4 --code_state=16 --float_support=FPv4SPD16 --abi=eabi -me -g --diag_warning=225 --display_error_number -z --stack_size=256 -m"ss3.map" --heap_size=0 -i"C:/ti/ccsv5/tools/compiler/arm_5.0.1/lib" -i"C:/ti/ccsv5/tools/compiler/arm_5.0.1/include" --reread_libs --warn_sections --display_error_number --rom_model -o "ss3.out"  "./main.obj" -l"libc.a" "../lm4f120h5qr.cmd"

<Linking>

undefined                  first referenced

  symbol                        in file    

---------                  ----------------

GPIOPinConfigure           ./main.obj     

ROM_FPUEnable              ./main.obj     

ROM_FPULazyStackingEnable  ./main.obj     

ROM_GPIOPinTypeUART        ./main.obj     

ROM_SysCtlClockGet         ./main.obj     

ROM_SysCtlClockSet         ./main.obj     

ROM_SysCtlPeripheralEnable ./main.obj     

ROM_UARTCharGet            ./main.obj     

ROM_UARTCharGetNonBlocking ./main.obj     

ROM_UARTCharPut            ./main.obj     

ROM_UARTCharsAvail         ./main.obj     

ROM_UARTConfigSetExpClk    ./main.obj     

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "ss3.out" not built

>> Compilation failure

gmake: *** [ss3.out] Error 1

gmake: Target `all' not remade because of errors.

 

 

all of the above functions have been defined, why I am receiving this error and how can I fix it.

Thank you

  • Is this a continuation of your (presently) silent post: http://e2e.ti.com/support/microcontrollers/tiva_arm/f/908/t/268612.aspx of yesterday?  You did improperly copy/paste the parameter in yesterday's post - and now appears your issues have cascaded...

    If yours is a kit - does it not make sense to load, run and experiment with one of the many "pre-built" projects - which cover all of the messy groundwork - which appears to confound your efforts to date?  Desire to, "create your own project" far too often instead, "creates your own frustration/deadlock."  Use of best matched, tested project is far more likely to result in everything working - and reasonable productivity for your efforts...