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.

LPC-10

Other Parts Discussed in Thread: CCSTUDIO

Dear all

I try to run the LPC55-C and add all the source file as heder files and run the program . the CCS give this message

undefined                        first referenced
 symbol                              in file
---------                        ----------------
_p                               C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_nint                            C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_s                               C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_difmag                          C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_comm_intr                       C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_output_left_sample              C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_vparms                          C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
_input_left_sample               C:\CCStudio_v3.1\MyProjects\31-10lpc2\Debug\lpc.obj
>>   error: symbol referencing errors - './Debug/lpc.out' not built

>> Compilation failure

Build Complete,
  2 Errors, 1 Warnings, 0 Remarks.

 

please help me to solve it

  • In general, that error means that lpc.c is referencing functions/variables with those symbol names but cannot find a definition for it. You need to add either the source file or library where these symbols are defined to the CCS project.