Closed GeeseHoward closed 5 years ago
@GeeseHoward thanks for the report. Would it be possible for you to bisect this to find out which commit introduced the error?
@carlescufi I quickly tried going back a few commits and the error is still reproducing. Going too far back starts giving me different errors entirely. I will keep trying. One question: When you build an application with OpenThread the build system clones the OpenThread project as well. The files which are highlighted in red during the build are all located in the OpenThread project. Does this imply that the error is with OpenThread and not with Zephyr?
One question: When you build an application with OpenThread the build system clones the OpenThread project as well. The files which are highlighted in red during the build are all located in the OpenThread project. Does this imply that the error is with OpenThread and not with Zephyr?
It is likely, yes. But without more feedback from the experts on OpenThread I cannot say for sure.
So these two are indeed autotools reports, which OpenThread uses:
configure.ac:198: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/compile'
configure.ac:114: installing 'third_party/nlbuild-autotools/repo/third_party/autoconf/missing'
I don't see though why are they treated as errors. Possibly Eclipse simply misinterprets the results? All in all, there are two different build systems running for one project.
All other semantic errors refer to Zephyrs symbols - most likely an issue with Eclipse configuration. I haven't been using Eclipse with Zephyr for some time now so I won't be much help here.
Those are really not errors @GeeseHoward. They are just autotools reporting installation of tools, this is probably Eclipse just being confused.
I reproduced them when building from the command-line, so this is just autotools displaying something.
Those are really not errors @GeeseHoward. They are just autotools reporting installation of tools, this is probably Eclipse just being confused.
I reproduced them when building from the command-line, so this is just autotools displaying something.
I see. Thank you for clarifying this!
Description I'm using Eclipse for application development. The application uses OpenThread. When I clean and rebuild the application, the console log shows errors, but binary gets built nonetheless. However, the C/C++ Editor starts showing lots of 'Could not find symbol in index' errors. If you make a minor modification in the application source and build the application again, the errors disappear.
The error seems to be somewhere around here, because these lines are highlighted in red in the build log:
While I'm not certain, I think this wasn't happening a few weeks ago.
To Reproduce Steps to reproduce the behavior:
Expected behavior No errors in the build log, no problems in the Problems tab and no errors in the C/C++ Editor in Eclipse.
Impact Uncertain. For me it's a nuisance, but it might be causing some other issues as well.
Screenshots or console output Screenshot:
Build log:
Environment:
Additional Information: