Hello,
I am trying to implement TCP based communication with help of the given example of enet_lwip on a EK-TM4C1294 board.
Compiler: TI v5.2.4
I did try to use relative paths for all header and source files but could not get it working, so I tried a crude method of collecting all .c and .h files in the project directory. I also changed the include paths in the in those source and header files.
Now when I complied the project I get 10 errors and 12 warnings pointing to a same object file pinout.obj:
warnings:
"../pinout.c", line 71: warning #225-D: function "ROM_SysCtlPeripheralEnable" declared implicitly
"../pinout.c", line 90: warning #225-D: function "ROM_GPIOPinConfigure" declared implicitly
"../pinout.c", line 92: warning #225-D: function "ROM_GPIOPinTypeUART" declared implicitly
"../pinout.c", line 104: warning #225-D: function "ROM_GPIOPinTypeUSBAnalog" declared implicitly
"../pinout.c", line 105: warning #225-D: function "ROM_GPIOPinTypeUSBDigital" declared implicitly
"../pinout.c", line 107: warning #225-D: function "ROM_GPIOPinTypeGPIOInput" declared implicitly
"../pinout.c", line 115: warning #225-D: function "ROM_GPIOPinTypeGPIOInput" declared implicitly
"../pinout.c", line 142: warning #225-D: function "ROM_GPIOPinTypeGPIOOutput" declared implicitly
"../pinout.c", line 147: warning #225-D: function "ROM_GPIOPinWrite" declared implicitly
"../pinout.c", line 157: warning #225-D: function "ROM_GPIOPinTypeGPIOInput" declared implicitly
"../pinout.c", line 158: warning #225-D: function "ROM_GPIOPinWrite" declared implicitly
"../pinout.c", line 163: warning #225-D: function "ROM_GPIOPinTypeGPIOOutput" declared implicitly
errors:
undefined first referenced
symbol in file
--------- ----------------
ROM_GPIOPinConfigure ./pinout.obj
ROM_GPIOPinTypeGPIOInput ./pinout.obj
ROM_GPIOPinTypeGPIOOutput ./pinout.obj
ROM_GPIOPinTypeUART ./pinout.obj
ROM_GPIOPinTypeUSBAnalog ./pinout.obj
ROM_GPIOPinTypeUSBDigital ./pinout.obj
ROM_GPIOPinWrite ./pinout.obj
ROM_SysCtlPeripheralEnable ./pinout.obj
error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "Test_1.out" not built
I did check the pinout.c file and it has the required rom.h and rom_map.h files included and are present in the project directory.
All these functions/symbols (ROM_GPIOPinConfigure..) are present in the rom.h files.
What could be the problem?
Thank you..!
