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

Compilation fails when using -jn with n > 1 #24

Closed
programLyrique opened this issue Jul 15, 2013 · 4 comments
Closed

Compilation fails when using -jn with n > 1 #24

programLyrique opened this issue Jul 15, 2013 · 4 comments

Comments

@programLyrique
Copy link

Compilation fails with make -j9 .

Error : g++: erreur: tonegen.o: no such file or directory

With make only, it compiles.

You should add to the documentation that parallel compilation is not supported , at least, or really fix the problem.

@x42
Copy link
Collaborator

x42 commented Jul 31, 2013

There are some rather complex dependency relationships due to re-use of objects for plugins, standalone apps, etc. Those are tricky to model with gnu-make, and it is quite possible that I have missed something, but I cannot reproduce the problem nor see an obvious error.

Can you please provide the complete output and the command used, as well as the output of make --version?
at best do a make clean; make -j9.

Which version of setBfree is that? latest git? git describe --tags

Also, g++ should not only be used if you explicitly set the ENABLE_CONVOLUTION make variable.. and not when just calling make..

@programLyrique
Copy link
Author

git describe --tags : v0.7.3-3-gfff6d14
make --version : GNU Make 3.82

I did make clean and make -j9.
But I don't manage to reproduce the problem again (often the case with parallelism problems...) !

@x42
Copy link
Collaborator

x42 commented Jul 31, 2013

OK, I still have gnu make 3.81 but that likely makes no difference.

I tried to reproduce it on a few machines without luck so far and I can't see any obvious missing dependency on tonegen.o in the source, either..

I'll keep my eyes open, though.

@cocreature
Copy link

i can confirm this error on archlinux 64bit
The actual error is not the missing file though but
vibrato.c: In function 'initIncrementTables': vibrato.c:200:28: error: 'M_PI' undeclared (first use in this function) double m = sin ((2.0 * M_PI * i) / INCTBL_SIZE);
and
tonegen.c: In function 'initEnvelopes': tonegen.c:2683:14: error: 'M_PI' undeclared (first use in this function) double a = (M_PI * (double) d) / T; /* PI < a <= 0 */
which then results in tonegen.o missing.
If I just use make it's working fine

@x42 x42 closed this as completed in 9aa53d6 Jan 5, 2014
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

3 participants