9 years, 11 months ago.

LPC1768 Compiler Error 0?

Why am I getting this mysterious error code?

Error: "/extras/mbed_0b3ab51c8877/TARGET_LPC1768/TOOLCHAIN_ARM_STD/LPC1768.sct", line 4 (column 9): Error: L6235E: More than one section matches selector - cannot all be FIRST/LAST.

Yesterday by updating to mbed revision 84:0b3ab51c8877 I was able to clear this error and compile. Today the error has returned using the same revision 84:0b3ab51c8877 on a different program and cannot clear it.

Here is the offending line of code:

  • .o (RESET, +First)

More important, why can I edit your question?

- Erik

So do I - YoongHM

Erik, Thank you for the advice, it solved the problem and cleared the compile error. I had found an extra copy of the mbed lib in a library folder which was causing the compile error. I deleted the extra mbed.lib and my program compiled without incident.

BTW - I do not know why you have access to edit/close/accept my question. I cannot seem to accept/close my own question. Dave

Question relating to:

2 Answers

9 years, 10 months ago.

Generally you get that error when you have multiple mbed libs included. It might also be (accidently) in another lib, so make sure to check those too, that there isn't a second mbed lib hiding there.

What you can also try is from the compile drop-down menu choose compile all, that forces a clean compile.

Btw for some reason I can edit/close/accept your question.

Accepted Answer

Thx for notification about edit/close ;)

posted by Martin Kojtal 02 Jun 2014

The most likely cause of this error is that you imported a program that was a zip-file that already included bed libraries. In the left pane view of your uploaded program in mbed you may see one mbed folder with a "folder-icon" and a second bed folder with a "gear-like icon." delete the folder-icon version, since that is the uploaded duplicate.

posted by tt pp 25 Nov 2015
9 years, 10 months ago.

So do I.

Guys I still get the same error as David Mort. what shall I do to clear the error?

posted by Mazin AL-Shidhani 11 Aug 2014

Hi, I am getting the same error as well. If anybody has a solution, can you please advice ? Thank You.

posted by Anup Kavari 26 Oct 2014