Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nrf_common.ld: No such file in directory #35

Closed
darnel opened this issue Jun 17, 2020 · 5 comments
Closed

nrf_common.ld: No such file in directory #35

darnel opened this issue Jun 17, 2020 · 5 comments

Comments

@darnel
Copy link
Contributor

darnel commented Jun 17, 2020

This error re-appeared. I know we solved it somehow, but I can't remember :-/

/usr/local/Caskroom/gcc-arm-embedded/9-2019-q4-major/gcc-arm-none-eabi-9-2019-q4-major/bin/../lib/gcc/arm-none-eabi/9.2.1/../../../../arm-none-eabi/bin/ld: cannot open linker script file ./nrf_common.ld: No such file or directory
collect2: error: ld returned 1 exit status
make[2]: *** [src/CMakeFiles/pinetime-graphics.dir/build.make:846: src/pinetime-graphics.out] Error 1
make[1]: *** [CMakeFiles/Makefile2:174: src/CMakeFiles/pinetime-graphics.dir/all] Error 2
make: *** [Makefile:104: all] Error 2
@JF002
Copy link
Collaborator

JF002 commented Jun 17, 2020

I thought someone (you?) created an issue about this in the past, but I can't find it...
I think we solved it by adding the folder '../' in target_include_directories in src/CMakeLists.txt.

I don't understand why this issue re appeared and why I can't reproduce it on my setup...

Is your build folder a subfolder of the project?

@darnel
Copy link
Contributor Author

darnel commented Jun 17, 2020

Thanks to pointing me. Using git log | grep -B4 nrf_common.ld I found it: 3c29a11

commit 3c29a11c78c9cd06be8ccedd9a067cd129b85f28
Author: JF <jf@codingfield.com>
Date:   Sun Jan 12 16:26:20 2020 +0100

    Fix link error because of missing file "nrf_common.ld"

I created PR #36.

@JF002
Copy link
Collaborator

JF002 commented Jun 19, 2020

Nice, thank you!
So, it fixes the issue on you side?

Could you change the destination branche from master to develop?
I merge into master only when I want to generate a release, whereas develop is the current 'main' branch.

Thanks!

@darnel
Copy link
Contributor Author

darnel commented Jun 19, 2020

Yes it fixed the issue for me. Destination changed.

@JF002
Copy link
Collaborator

JF002 commented Jun 20, 2020

Thanks, merged into develop :)

@JF002 JF002 closed this as completed Jun 20, 2020
tgc-dk pushed a commit to tgc-dk/InfiniTime that referenced this issue Nov 28, 2023
We consider in CMake if we add the font subdir, but we didn't install
the `lv_font_conv` binary.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants