Help to solve C Language mplab compiler

Discussion in 'C' started by Somchai Boon Leat, Nov 5, 2012.

  1. Somchai Boon Leat

    Somchai Boon Leat New Member

    Joined:
    Oct 28, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi there,im a student from malaysia...


    i been working on this c programming but now only have one error that i don't know
    Hope anyone from this forum can help me out

    1) Together with this post are :

    2 Print screen image of error and source of error

    For your info, i use Mplab 8.30 + mplabc30_v3_30c_windows compiler software...

    Hope the problem can be solved A.S.A.P
    THANX for your time and effort
     

    Attached Files:

  2. Somchai Boon Leat

    Somchai Boon Leat New Member

    Joined:
    Oct 28, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    HI THERE, IM AM ENGINEERING STUDENT FROM MALAYSIA

    For your info, i use Mplab 8.30 + mplabc30_v3_30c_windows compiler software...
    Hope the problem can be solved A.S.A.P
    THANX for your time and effort
    i been working on this c programming but now only have one error that i don't know
    Hope anyone from this forum can help me out


    Debug build of project `C:\Users\somchai\Desktop\Testing\Test1.mcp' started.
    Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31
    Preprocessor symbol `__DEBUG' is defined.
    Wed Nov 07 03:13:50 2012
    ----------------------------------------------------------------------
    Clean: Deleting intermediary and output files.
    Clean: Deleted file "C:\Users\somchai\Desktop\Testing\dijkstra.o".
    Clean: Deleted file "C:\Users\somchai\Desktop\Testing\encoder.o".
    Clean: Deleted file "C:\Users\somchai\Desktop\Testing\Test1.mcs".
    Clean: Done.
    Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "dijkstra.c" -o"dijkstra.o" -D__DEBUG -g -Wall
    Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "encoder.c" -o"encoder.o" -D__DEBUG -g -Wall
    Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "msr.c" -o"MSR.o" -D__DEBUG -g -Wall
    msr.c:13: error: 'BORV_27' undeclared here (not in a function)
    Halting build on first failure as requested.
    ----------------------------------------------------------------------
    Debug build of project `C:\Users\somchai\Desktop\Testing\Test1.mcp' failed.
    Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31
    Preprocessor symbol `__DEBUG' is defined.
    Wed Nov 07 03:13:53 2012
    ----------------------------------------------------------------------
    BUILD FAILED
    ][/INLINECODE]
     
  3. Somchai Boon Leat

    Somchai Boon Leat New Member

    Joined:
    Oct 28, 2012
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    HI THERE, IM AM ENGINEERING STUDENT FROM MALAYSIA

    For your info, i use Mplab 8.30 + mplabc30_v3_30c_windows compiler software...
    Hope the problem can be solved A.S.A.P
    THANX for your time and effort
    i been working on this c programming but now only have one error that i don't know
    Hope anyone from this forum can help me out


    Debug build of project `C:\Users\somchai\Desktop\Testing\Test1.mcp' started.
    Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31
    Preprocessor symbol `__DEBUG' is defined.
    Wed Nov 07 03:13:50 2012
    ----------------------------------------------------------------------
    Clean: Deleting intermediary and output files.
    Clean: Deleted file "C:\Users\somchai\Desktop\Testing\dijkstra.o".
    Clean: Deleted file "C:\Users\somchai\Desktop\Testing\encoder.o".
    Clean: Deleted file "C:\Users\somchai\Desktop\Testing\Test1.mcs".
    Clean: Done.
    Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "dijkstra.c" -o"dijkstra.o" -D__DEBUG -g -Wall
    Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "encoder.c" -o"encoder.o" -D__DEBUG -g -Wall
    Executing: "C:\Program Files (x86)\Microchip\mplabc30\v3.25\bin\pic30-gcc.exe" -mcpu=30F4011 -x c -c "msr.c" -o"MSR.o" -D__DEBUG -g -Wall
    msr.c:13: error: 'BORV_27' undeclared here (not in a function)
    Halting build on first failure as requested.
    ----------------------------------------------------------------------
    Debug build of project `C:\Users\somchai\Desktop\Testing\Test1.mcp' failed.
    Language tool versions: pic30-as.exe v3.31, pic30-gcc.exe v3.31, pic30-ld.exe v3.31, pic30-ar.exe v3.31
    Preprocessor symbol `__DEBUG' is defined.
    Wed Nov 07 03:13:53 2012
    ----------------------------------------------------------------------
    BUILD FAILED
     
  4. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    What's the problem here - do you not know what the error is? It's displayed.

    If you do know which line is the error, what exactly don't you understand about it? It's pretty clear and for me difficult to know how to explain it in simpler terms.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice