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

Waves Makefile error #83

Open
Chospanda opened this issue Apr 20, 2023 · 4 comments
Open

Waves Makefile error #83

Chospanda opened this issue Apr 20, 2023 · 4 comments

Comments

@Chospanda
Copy link

I'm trying to build "waves" project on msys using "make" command and getting this error

Compiling _unit.c
Compiling waves.cpp
Linking /home/logue-sdk/platform/nutekt-digital/waves/build/waves.elf
c:/msys64/home/logue-sdk/tools/gcc/gcc-arm-none-eabi-5_4-2016q3/bin/../lib/gcc/arm-none-eabi/5.4.1/.
./../../../arm-none-eabi/bin/ld.exe: cannot open linker script file /home/logue-sdk/platform/nutekt-
digital/waves/ld/userosc.ld: No such file or directory
collect2.exe: error: ld returned 1 exit status
make: *** [Makefile:187: /home/logue-sdk/platform/nutekt-digital/waves/build/waves.elf] Error 1

Any suggestions?

@sophialancini
Copy link

I ran across the same issue and it was solved already in issue 7, you just have to run git submodule update --init before the compilation.

@Jerem-yJohnson
Copy link

Hi there,

I am getting the same error message as Chospanda.

Did running "git submodule update --init" fix this problem for you @Chospanda ? It does not seem to be working for me. I am wondering if this is a separate issue.

I will try to report back with any troubleshooting info I have uncovered.

Thank you @sophialancini for the guidance thus far.

Jeremy

@Chospanda
Copy link
Author

Thanks for the reply,

Running "git submodule update --init" does not fix this problem. Same error occurs.

@vuki
Copy link

vuki commented Jun 7, 2023

OK, so the linker (ld) in MSYS has some problem with absolute MSYS paths. This works:

make LDDIR=ld

or change the LDDIR definition in Makefile (line 17).

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

4 participants